What problem does it solve?
This skill eliminates the ambiguity of feature implementation by enforcing a disciplined, test-first workflow that ensures every line of code is verified against a clear, predefined set of requirements.
Core Features & Use Cases
- Test List Management: Provides a structured framework for tracking behavioral variants and edge cases before writing production code.
- Red-Green-Refactor Enforcement: Ensures high code quality by mandating failing tests, minimal implementation, and deliberate refactoring cycles.
- Use Case: When building a new feature-flagged view model, use this skill to define the happy path and error states in a test list, then implement the logic one test at a time to ensure full coverage and clean architecture.
Quick Start
Initiate the canon-tdd workflow by creating a test list for the new feature and confirming it with the agent before writing any production code.