tdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
https://www.skills.sh/mattpocock/skills/tdd ↗Kegunaan
• Emphasizes integration-style tests that verify behavior through public APIs, not implementation details; tests should survive refactors unchanged • Requires vertical slicing (one test → one implementation → repeat) instead of horizontal slicing (all tests first, then all code), preventing brittle, behavior-insensitive test suites • Includes planning phase to confirm interface changes, prioritize behaviors to test, and design for testability before writing code • Provides refactoring guidelines covering duplication extraction, module deepening, and SOLID principles, applied only after all tests pass
Kekurangan
Memperlambat awal; butuh disiplin.
Cara Instalasi
npx skills add mattpocock/skills@tdd
Cara Pakai
npx skills add mattpocock/skills@tdd