Implements features, fixes bugs, and refactors code following TDD workflow. Triggers: implement, create, fix, modify, add, refactor, build, develop, change functionality. Covers: components, stores, schemas, utilities, styling, docs/ and project-config.md synchronization. Takes optional argument: /implementing-features <task-file or instruction>
Implements features, fixes bugs, and refactors code following project development standards with TDD.
Strictly follow CLAUDE.md policies. For project-specific code patterns, refer to docs/development-patterns.md.
| Reference File | Purpose | Fallback When Stub |
|---|---|---|
docs/project.md | Commands, tech stack | Refer directly to project-config.md §1–§3 |
docs/architecture.md | Directory structure, test placement | Refer directly to project-config.md §4 |
docs/data-model.md | Schema definitions | Read Zod schemas directly from codebase |
docs/development-patterns.md | Code conventions, pitfalls | Refer directly to project-config.md §2, §11 |
This skill also generates/updates docs/ files. When they are stubs, auto-generate after execution.
/implementing-features <task-file or implementation instruction>
Arguments are optional. When omitted, confirm interactively with the user. When a task file is specified, read its contents to understand requirements and acceptance criteria.
/implementing-features Add user authentication feature
/implementing-features output/tasks/TASK_auth.md
/implementing-features .claude/tasks/TASK_001.md
src/ (following the project's directory structure)__tests__/ directory within each moduletestreport/coverage/| Previous Step | This Skill | Next Step |
|---|---|---|
/plan /architecture | /implementing-features | /code-review /e2e-testing |
Follow the principles below. For project-specific application, refer to docs/development-patterns.md.
docs/project.md)docs/project.md)docs/ and project-config.md per "Documentation Sync" below| Field | Type | Required | Constraints |
|---|---|---|---|
| Requirements Interpretation | Bullet points | ✅ | List acceptance criteria, one per line |
| Affected Files | Table (File, Change Type) | ✅ | Change Type ∈ {Add, Modify, Delete} |
| Test Approach | Bullet points | ✅ | State test targets and expected behavior |
| [Assumption] Items | Bullet points | Conditional | Only when specs are ambiguous |
| Field | Type | Required | Constraints |
|---|---|---|---|
| Test Results | X pass / Y fail | ✅ | Numbers only. When failing, add cause in 1 line |
| Coverage | Line: X% / Branch: Y% | ✅ | State delta from target |
| Static Analysis | Errors: X / Warnings: Y | ✅ | State even if 0 |
| Dependency Direction | Violations: X | Conditional | When dependency check is enabled |
| Changed File Count | Integer | ✅ |
Present all implementation checklist items (defined in CLAUDE.md) as [x] / [ ].
| Term | Definition |
|---|---|
| [Assumption] | A precondition not explicitly stated in the specification |
| pass / fail | Test result states |
| Violation | A breach of dependency direction rules |
| Backward Compatible | Existing data reading is not broken |
describe / it description text in Englishdocs/architecture.md)docs/development-patterns.md)project-config.mdAfter implementation changes, update affected docs/ files and project-config.md.
Documentation accuracy is held to the same quality standard as implementation.
| Change | Update Target |
|---|---|
| Route additions/changes/deletions | docs/project.md |
| Store additions/changes/deletions | docs/project.md |
| npm script additions/changes | docs/project.md |
| Dependency package additions/version changes | docs/project.md |
| Feature additions/deletions/renames | docs/architecture.md |
| Component additions/deletions | docs/architecture.md |
| Test file additions/deletions | docs/architecture.md |
| Shared layer changes | docs/architecture.md |
| Code pattern/pitfall discovery/changes | docs/development-patterns.md |
| Schema field additions/changes | docs/data-model.md |
| Validation rule changes | docs/data-model.md |
| Form schema additions/changes | docs/data-model.md |
| Change | Target Section |
|---|---|
| New pitfalls/anti-patterns discovered | §11 (Known Pitfalls) |
| Dependency package additions/version changes | §2 (Technology Stack) |
| npm script additions/changes | §3 (Commands) |
project-config.md section 6describe / it description text must state the behaviortestreport/coverage/ and present resultsOutput coverage reports to testreport/coverage/ when running tests.
Configuration examples (configure to match the test framework in project-config.md §3):
# For Vitest
# Set the following in vite.config.ts test.coverage:
# reportsDirectory: 'testreport/coverage'
# For Jest
# Set the following in jest.config.ts:
# coverageDirectory: 'testreport/coverage'
When implementation is complete, run the dependency direction check command
(documented in project-config.md section 4.4) and verify no dependency direction violations.
--no-verify is prohibited (do not bypass pre-commit / pre-push hooks)--force is prohibited in principle--no-verifydocs/development-patterns.md