create-spec
Installation
SKILL.md
Write BDD-style test scenarios in Gherkin before implementation.
Steps
-
Determine the feature — the argument can be:
- A GitHub issue number or URL → fetch with
gh issue viewfor context (do NOT embed the issue number in the spec) - A feature description → use as the feature name
- Nothing → ask the user what feature to specify
- A GitHub issue number or URL → fetch with
-
Explore the codebase for related context:
- Read
CLAUDE.mdfor project conventions - Check existing code and tests related to the feature
- Check
doc/adr/anddoc/for relevant decisions and documentation
- Read
-
Check
doc/spec/for an existing spec that covers this feature:- If found → add new scenarios to the existing file
- If not found → create a new file:
doc/spec/<kebab-case-feature-name>.feature
-
Write scenarios using this template:
Related skills