Implementation (300 Series)
The 300 series is where design artifacts become running code. Two skills cover different implementation scenarios. If the immediate problem is a failing automated test and the correct fix path is still unclear, use 402-test-correction from the 400 series before choosing whether to edit tests or source.
The two paths
Section titled “The two paths”| Skill | When to use it |
|---|---|
301-spec-implementation | The main implementation workflow — for substantial changes driven by a spec |
302-test-implementation | The test-only path — for adding or repairing automated tests for behavior that already exists |
What 301 does internally
Section titled “What 301 does internally”301 is not just a longer coding prompt. It is a phased, orchestrated workflow:
- Synthesizes missing
201,202, and203artifacts in memory if they do not exist - Runs
204-feature-validationbefore any code is written - Writes failing tests first
- Implements the minimum production code to pass those tests
- Runs a test-cleanup pass
- Runs a production-cleanup pass
- Validates via test, lint, and build passes
The internal cleanup phases mean 401-cleanup is not always necessary afterward — though a separate explicit cleanup pass remains useful on complex changes.
Skills in this series
Section titled “Skills in this series”- 301 Spec Implementation — the main implementation workflow
- 302 Test Implementation — the test-only path