Skip to content

tdd

Test-driven development with vertical slices, behavior-focused tests, and incremental red-green-refactor cycles.

— (0 ratings) 1.3M downloads mattpocock
$ npx skills add https://github.com/mattpocock/skills --skill tdd

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Test-driven development with vertical slices, behavior-focused tests, and incremental red-green-refactor cycles.

  • 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

$3c


Installs: 1.3M | GitHub stars: 334.7K | First seen: Feb 10, 2026

Related skills

New

Coding & dev tools

hyperframes-cli

CLI toolkit for scaffolding, validating, previewing, and rendering HyperFrames video compositions.

New • 1.8M
New

Testing

grill-me

Relentless interviewing skill that stress-tests plans and designs through systematic questioning.

New • 1.6M
New

Testing

grill-with-docs

Relentless design interrogation that stress-tests plans against your domain model and sharpens terminology inline.

New • 1.4M