skills/spec-branch/SKILL.md
This skill should be used when the user asks to "create a spec branch", "make a spec branch", "start a branch", or "branch from spec". Creates a local branch from a spec, description, or issue/ticket reference without requiring GitHub.
npx skillsauth add ryan-mahoney/ryan-llm-skills spec-branchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a new local branch related to a spec-driven task.
Use $ARGUMENTS as the branch topic. It may be:
.specs/<feature-slug>/ folder name.PROJ-123 add invoice retry.If $ARGUMENTS is empty, ask the user for a short description. Do not create a branch from an empty or bare identifier.
git rev-parse --git-dir.$ARGUMENTS names .specs/<feature-slug>/, read spec.md or proposal.md and derive the branch topic from the feature slug and title.$ARGUMENTS is only a number and the current repo has a GitHub remote, try gh issue view <number> --json title --jq .title.Parse the resolved topic into a valid branch name:
123, PROJ-123, etc.)./, spaces, underscores, and consecutive special characters with a single -.Examples:
| Input | Branch |
|---|---|
| 1087 redesign dashboard onboarding | 1087-redesign-dashboard-onboarding |
| PROJ-123 add invoice retry | proj-123-add-invoice-retry |
| fix candidate stage seed data | fix-candidate-stage-seed-data |
| .specs/new-billing-export/ | new-billing-export |
git rev-parse --verify <branch-name>.git switch <branch-name>.git switch -c <branch-name>.git branch --unset-upstream <branch-name> 2>/dev/null || true.Report:
Do not implement the spec after creating the branch.
documentation
This skill should be used when the user asks to "write a spec", "create a spec", "spec this out", "plan this feature", or "write an implementation plan" for a feature or change. Creates a structured implementation spec in .specs/<slug>/spec.md and mirrors it to GitHub only when the current repository is hosted on GitHub.
data-ai
This skill should be used when the user asks to "execute the spec", "run the plan", "implement the spec", "implement the issue", "run all steps", or "run spec". Implements all steps from .specs/<slug>/spec.md, using a subagent per step when the harness supports subagents.
testing
This skill should be used when the user asks to "review a spec", "review an issue", "check the plan", "review the implementation plan", "find gaps in the spec", or "review spec". Reviews .specs/<slug>/spec.md for gaps and viability, edits it when needed, and mirrors changes to GitHub only when a GitHub mirror exists.
development
This skill should be used when the user asks to "remediate the audit findings", "fix the spec violations", "close the audit findings", "fix conformance violations", or "spec remediate". Reads a spec-audit report, drives one smart subagent per VIOLATION to converge the code back to the frozen spec, and re-audits until clean. Edits production code; never rewrites the spec.