Agent skill

Speckit Branch Convention Validate

by haru in haru/redmine_ai_helper

Check all feature branches and spec folders against the configured naming convention

MITAuto-check passedDevelopment

Install Speckit Branch Convention Validate

skills CLI
$ npx skills add haru/redmine_ai_helper --skill speckit-branch-convention-validate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install haru/redmine_ai_helper speckit-branch-convention-validate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/haru/redmine_ai_helper.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/speckit-branch-convention-validate .claude/skills/speckit-branch-convention-validate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
speckit-branch-convention-validate
GitHub stars
106
Token cost
~1k tokens
SKILL.md length
353 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Check all feature branches and spec folders against the configured naming convention

  • Works in 3 steps: Verify a spec-kit project exists by… → Load convention config from… → If no convention is configured, use the…
  • Tasks that involve Spec-driven development
  • SKILL.md covers User Input, Prerequisites, Outline and Rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Speckit Branch Convention Validate is an agent skill from haru/redmine_ai_helper. Check all feature branches and spec folders against the configured naming convention

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires spec-kit project structure with .specify/ directory

It sits in Development, covering Spec-driven development. The repository describes itself as: A Redmine plugin that adds AI agents, MCP Server, smart completion, and vector search. The licence is MIT.

When your agent uses it

  • Tasks that involve Spec-driven development

Example prompts

  • “/speckit-branch-convention-validate”

Requirements

  • Compatibility (from SKILL.md): Requires spec-kit project structure with .specify/ directory

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Verify a spec-kit project exists by checking for .specify/ directory
  2. Load convention config from .specify/branch-convention.yml
  3. If no convention is configured, use the default pattern ({seq}-{kebab} for both branch and folder)

What it can do on your machine

Read from SKILL.md and the folder at commit 3cd87d6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires spec-kit project structure with .specify/ directory

    From compatibility in the SKILL.md frontmatter.

Context cost

Speckit Branch Convention Validate loads about 1k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 353 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from haru/redmine_ai_helper at commit 3cd87d6, republished under its MIT licence (© haru). 353 words, ~1,014 tokens.

Download SKILL.mdSave it as .claude/skills/speckit-branch-convention-validate/SKILL.md (or your agent's skills folder).
name
speckit-branch-convention-validate
description
Check all feature branches and spec folders against the configured naming convention
compatibility
Requires spec-kit project structure with .specify/ directory
metadata.author
Quratulain-bilal
metadata.source
extension:branch-convention
user-invocable
true
disable-model-invocation
false

Branch Convention Validate Skill

Validate Branch Convention

Check all existing feature branches and spec folders against the configured naming convention. Reports compliance status and identifies violations.

User Input

text
$ARGUMENTS

You MUST consider the user input before proceeding (if not empty). The user may specify a specific branch to validate (e.g., "003-user-auth") or "all" to check everything.

Prerequisites

  1. Verify a spec-kit project exists by checking for .specify/ directory
  2. Load convention config from .specify/branch-convention.yml
  3. If no convention is configured, use the default pattern ({seq}-{kebab} for both branch and folder)

Outline

  1. Load convention: Read .specify/branch-convention.yml and extract:

    • branch_pattern — the expected branch naming pattern
    • folder_pattern — the expected spec folder naming pattern
    • Token definitions (seq_padding, separator, lowercase, etc.)
  2. Collect branches and folders: Gather all feature-related items:

    • Git branches: List all local branches matching spec-kit patterns (exclude main, master, develop)
    • Spec folders: List all directories under specs/
    • Match pairs: Associate each branch with its corresponding spec folder
  3. Validate each item: For every branch and folder, check:

    CheckRuleExample Violation
    Pattern matchBranch matches branch_pattern structureuser-auth missing sequence number
    Type prefixIf pattern includes {type}, prefix must be in type_prefix mapfeature/003-auth instead of feat/003-auth
    Sequence format{seq} must be zero-padded to seq_padding digits3-auth instead of 003-auth
    Length limitBranch name must not exceed max_length characters003-very-long-branch-name-that-exceeds-limit...
    Case ruleIf lowercase: true, no uppercase characters (except ticket IDs)003-User-Auth
    SeparatorWords must use configured separator003_user_auth when separator is -
    Branch-folder syncBranch name and folder name must be derivable from same sourceBranch feat/003-auth but folder 004-auth
    Ticket formatIf pattern includes {ticket}, must match ticket_pattern regexproj-142 when pattern requires [A-Z]+-[0-9]+
  4. Output compliance report:

    markdown
    # Branch Convention Compliance Report
    
    **Convention**: {preset name or "custom"}
    **Branch pattern**: {branch_pattern}
    **Folder pattern**: {folder_pattern}
    
    ## Results
    
    | Branch | Folder | Status | Issues |
    |--------|--------|--------|--------|
    | feat/003-user-auth | 003-user-auth | ✅ Compliant | — |
    | 004-chat-system | 004-chat-system | ⚠️ Non-compliant | Missing type prefix |
    | feat/5-api | 5-api | ⚠️ Non-compliant | Sequence not zero-padded |
    
    ## Summary
    - **Total**: {N} branches
    - **Compliant**: {X} ✅
    - **Non-compliant**: {Y} ⚠️
    - **Orphaned folders** (no branch): {Z}
    
    ## Recommended Actions
    1. Run `/speckit.branch-convention.rename` to fix non-compliant items
  5. Report: Output the compliance report. Do not modify any files — this command is read-only.

Show full SKILL.md (61 more words)Show less

Rules

  • Read-only — this command never modifies any files or branches
  • Always show all items — include compliant and non-compliant for full visibility
  • Be specific about violations — explain exactly which rule was violated and what the correct name should be
  • Handle missing config gracefully — if no convention is configured, validate against the default pattern and note that no custom convention has been set

© haru, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/speckit-branch-convention-validate of haru/redmine_ai_helper.

Open the folder on GitHubat commit 3cd87d6

Compare with similar skills

Speckit Branch Convention Validate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Speckit Branch Convention Validate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Speckit Branch Convention Validate this skillharu/redmine_ai_helper106—~1kAutomated safety check: PassMIT
OpenSpec Bulk Change ArchiverFission-AI/OpenSpec72k2 repos~5.6kAutomated safety check: PassMIT
Speckit ConstitutionWeihanLi/WeihanLi.Common24211 repos~2.1kAutomated safety check: PassApache-2.0
Speckit Plankunstmusik/blue15418 repos~2.1kAutomated safety check: PassGPL-3.0
Speckit Specifykunstmusik/blue15418 repos~4.7kAutomated safety check: PassGPL-3.0
Review Spdzhu1090093659/spec_driven_develop987—~1.5kAutomated safety check: PassMIT

Similar skills

  • Archives several completed OpenSpec changes in one operation, checking the codebase to resolve spec conflicts rather than archiving blindly.

    72k GitHub starsUsed in 2 repos~5.6k tokens
    DevelopmentAuto-check passed
  • Speckit Constitution

    WeihanLi/WeihanLi.Common

    Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.

    242 GitHub starsUsed in 11 repos~2.1k tokens
    DevelopmentAuto-check passed
  • Speckit Plan

    kunstmusik/blue

    Execute the implementation planning workflow using the plan template to generate design artifacts.

    154 GitHub starsUsed in 18 repos~2.1k tokens
    DevelopmentAuto-check passed
  • Speckit Specify

    kunstmusik/blue

    Create or update the feature specification from a natural language feature description.

    154 GitHub starsUsed in 18 repos~4.7k tokens
    DevelopmentAuto-check passed
  • Review Spd

    zhu1090093659/spec_driven_develop

    Findings-first code review workflow for AI coding agents. An agent skill from zhu1090093659/spec_driven_develop.

    987 GitHub stars~1.5k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Speckit Tasks

    kunstmusik/blue

    Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.

    154 GitHub starsUsed in 18 repos~3k tokens
    DevelopmentAuto-check passed

More from haru/redmine_ai_helper

All 21 skills in this repo
  • Commit

    haru/redmine_ai_helper

    Stage the current changes and create a git commit with a properly formatted English message.

    106 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check: notes
  • Create Pull Request

    haru/redmine_ai_helper

    Create a pull request from the current branch. An agent skill from haru/redmine_ai_helper.

    106 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Create Release Branch

    haru/redmine_ai_helper

    Create a release branch for a given version. An agent skill from haru/redmine_ai_helper.

    106 GitHub stars~599 tokensUpdated yesterday
    Auto-check passed
  • Qlty Check

    haru/redmine_ai_helper

    Code quality checks, formatting, and metrics via qlty CLI. An agent skill from haru/redmine_ai_helper.

    106 GitHub starsUsed in 2 repos~628 tokens
    Auto-check passed
  • Redmine Playwright Login

    haru/redmine_ai_helper

    Connect to the running Redmine instance and log in via the Playwright MCP browser, using REDMINEPLAYRIGHTURL/REDMINEPLAYRIGHTUSER/REDMINEPLAYRIGHTPASSWORD environment variables.

    106 GitHub stars~796 tokensUpdated yesterday
    Auto-check passed
  • Recreate Test DB

    haru/redmine_ai_helper

    Recreate the Redmine test database from scratch (delete db/schema.rb and db/redmine.sqlite3test, then run core and plugin migrations with RAILSENV=test).

    106 GitHub stars~364 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Speckit Branch Convention Validate

What does Speckit Branch Convention Validate do?

Check all feature branches and spec folders against the configured naming convention. Speckit Branch Convention Validate is an agent skill from haru/redmine_ai_helper.

When should I use Speckit Branch Convention Validate?

Speckit Branch Convention Validate fits situations like: tasks that involve Spec-driven development.

How do I install Speckit Branch Convention Validate in Claude Code?

Run `npx skills add haru/redmine_ai_helper --skill speckit-branch-convention-validate -a claude-code`. Or copy the skill folder (.claude/skills/speckit-branch-convention-validate in haru/redmine_ai_helper) into .claude/skills/speckit-branch-convention-validate in your project. Claude Code loads it when a task matches its description.

How do I install Speckit Branch Convention Validate in Codex?

Run `npx skills add haru/redmine_ai_helper --skill speckit-branch-convention-validate -a codex`. Or copy the skill folder (.claude/skills/speckit-branch-convention-validate in haru/redmine_ai_helper) into .agents/skills/speckit-branch-convention-validate in your project. Codex loads it when a task matches its description.

Can I use Speckit Branch Convention Validate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add haru/redmine_ai_helper --skill speckit-branch-convention-validate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/speckit-branch-convention-validate, .gemini/skills/speckit-branch-convention-validate, .github/skills/speckit-branch-convention-validate and .opencode/skills/speckit-branch-convention-validate in your project.

What does Speckit Branch Convention Validate need to run?

SKILL.md names no scripts, command-line tools or credentials: Speckit Branch Convention Validate is instructions for the agent only. Compatibility (from SKILL.md): Requires spec-kit project structure with .specify/ directory.

Does Speckit Branch Convention Validate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Speckit Branch Convention Validate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Speckit Branch Convention Validate use?

Speckit Branch Convention Validate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Speckit Branch Convention Validate use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Speckit Branch Convention Validate?

Skills that share tags, products or a category with Speckit Branch Convention Validate: OpenSpec Bulk Change Archiver (Fission-AI/OpenSpec, 72k stars), Speckit Constitution (WeihanLi/WeihanLi.Common, 242 stars), Speckit Plan (kunstmusik/blue, 154 stars) and Speckit Specify (kunstmusik/blue, 154 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Speckit Branch Convention Validate?

haru (a GitHub user) maintains it in haru/redmine_ai_helper, which has 106 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 10, 2026.

Source: haru/redmine_ai_helper on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.