|
|
@@ -1,22 +1,8 @@
|
|
|
# Test-Driven Development
|
|
|
|
|
|
-@.claude/commands/tdd.md
|
|
|
-@.claude/skills/testing-patterns-with-vitest/SKILL.md
|
|
|
+See: `.claude/commands/tdd.md` and `.claude/skills/testing-patterns-with-vitest/SKILL.md` (auto-loaded by Claude Code)
|
|
|
|
|
|
-## cc-sdd Integration
|
|
|
+## cc-sdd Specific Notes
|
|
|
|
|
|
-### TDD in spec-impl Workflow
|
|
|
-When executing `/kiro:spec-impl`, the TDD cycle is mandatory:
|
|
|
-
|
|
|
-1. **Each task → TDD cycle**: RED → GREEN → REFACTOR
|
|
|
-2. **Tests trace to requirements**: Test names should reference EARS requirement IDs
|
|
|
-3. **Coverage gates completion**: Task is not complete until coverage targets met
|
|
|
-
|
|
|
-### Validation Before Task Completion
|
|
|
-```bash
|
|
|
-# Verify tests pass
|
|
|
-turbo run test --filter {package}
|
|
|
-
|
|
|
-# Check coverage (80% minimum)
|
|
|
-cd {package_dir} && pnpm vitest run --coverage src/utils/page-path-validator.spec.ts
|
|
|
-```
|
|
|
+Currently, there are no additional instructions specific to Kiro.
|
|
|
+If instructions specific to the cc-sdd workflow are needed in the future, add them to this section.
|