claude/skills/implement-spec/SKILL.md
Implement behaviors from a specification file produced by the local-create-spec skill. Use when the user says 'implement behaviors from ...', 'implement the spec', 'implement spec ...', or wants to implement a .specs/ markdown file containing Given/When/Then behaviors with checkboxes.
npx skillsauth add b-galati/dotfiles implement-specInstall 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.
Sequentially implement each unchecked behavior from a spec file using TDD. Mark each behavior as done in the spec file after successful implementation.
Read the spec file provided by the user. Extract all behaviors — lines matching - [ ] **<title>** followed by a Given/When/Then description. Skip already-checked behaviors (- [x]).
List the unchecked behaviors to the user and ask for confirmation before starting. Example:
Found 5 unchecked behaviors in .specs/AMP-3166.md:
1. Create a workflow with a single signer
2. Reject workflow without signers
3. ...
Implement all of them sequentially?
For each unchecked behavior, in order:
- [ ] to - [x] on the corresponding lineAfter all behaviors are implemented, report:
Behaviors in the spec file follow this structure:
## Behaviors
### <Group name>
- [ ] **<Short behavior title>**
Given <precondition>, when <action>, then <expected outcome>
- [x] **<Already implemented title>**
Given <precondition>, when <action>, then <expected outcome>
To mark a behavior as done, replace - [ ] with - [x] on the checkbox line only.
testing
TDD workflow - Write a failing test, then implement Super Green
development
OpenAPI specification expert for creating, improving, and validating clear, self-documenting API specs. Use when designing, reviewing, or refactoring OpenAPI/Swagger specs for clarity, consistency, and usability.
tools
Implement a Linear issue by breaking its acceptance criteria into tasks, implementing each with TDD, and updating the Linear issue status when done. Use when the user says 'implement issue ...', 'implement TEAM-123', or wants to implement a Linear issue.
testing
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".