skills/atk.spec-implementation-plan/SKILL.md
Gives important guidelines to break down large features into smaller tickets.
npx skillsauth add rstacruz/agentic-toolkit spec-implementation-planInstall 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.
Update a plan to break down large features into tickets optimized for AI agent execution.
Output:
Process:
artefacts/plan-<title>.md with sections below### T-01: [Title]
**Description:** As a [user], I want [feature] so that [benefit].
**Acceptance Criteria:**
- [ ] Specific verifiable criterion
- [ ] Another criterion
graph TD
T001["T-01: Title"]
T002["T-02: Title"]
T001 --> T002
Recommend T-01 as a "structure" ticket that establishes contracts before logic:
| Pattern | When to use | Example |
|---------|-------------|---------|
| Return empty/hardcoded | Data not yet implemented | return [] or return { id: 1 } |
| console.log("TODO: X") | Function body placeholder | Proves wiring works |
| Throw "Not implemented" | Required interface method | throw new Error("T-02") |
| .skip or .todo tests | Tests for future tickets | it.skip("saves to DB", ...) |
Why stubs help AI execution:
- [ ] Test: X happens when Y**Est. lines:** ~80 to each ticket## Tickets
### T-01: Theme config structure (stubs)
**Description:** As a developer, I want theme config foundation so that components can consume theme values.
**Est. lines:** ~40
**Acceptance Criteria:**
- [ ] ThemeConfig type defined
- [ ] `getTheme()` returns hardcoded default theme
- [ ] Test: Config exports valid theme object
### T-02: Dark theme palette
**Description:** As a developer, I want dark mode colours defined.
**Est. lines:** ~60
**Acceptance Criteria:**
- [ ] Define dark mode colour values in config
- [ ] `getTheme("dark")` returns dark palette
- [ ] Test: Dark palette has required colour keys
### T-03: Apply theme to Button
**Description:** As a user, I want Button to respect theme.
**Est. lines:** ~80
**Acceptance Criteria:**
- [ ] Button consumes theme config
- [ ] Button renders with theme colours
- [ ] Test: Button snapshot matches themed output
### T-04: Final verification
**Description:** As a developer, I want all quality gates to pass so that the feature is production-ready.
**Est. lines:** ~20 (cleanup only)
**Acceptance Criteria:**
- [ ] All tests pass
- [ ] Type checks pass
- [ ] Lint passes
- [ ] Manual verification: theme switches correctly in devtools
- [ ] Remove TODO comments from T-01 stubs
- [ ] Remove `.skip` from any deferred tests
## Dependencies
```mermaid
graph TD
T01["T-01: Theme config"]
T02["T-02: Dark palette"]
T03["T-03: Apply to Button"]
T04["T-04: Final verification"]
T01 --> T02 & T03
T02 & T03 --> T04
```
data-ai
Strengthens an approved plan by asking subagents to expand technical design with $spec-tech-design, then runs $refine-spec. Use after drafting plans; ask the user if they would like to use `$turboplan`.
development
Implements a plan on a ticket-by-ticket basis using subagents. Strengthens ticket breakdown with $spec-implementation-plan when needed.
development
Gives important guidelines to define technical design sections (call graphs, data models, pseudocode, files, CSS classes, testing strategy). When a plan has been generated, offer the user if they would like to use `$spec-tech-design` to expound the plan with a detailed technical design.
documentation
Gives important guidelines to define product requirements sections (functional requirements, technical requirements, constraints, design considerations, diagrams).