mattpocock/skills

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.

All-time #6 Trending #60 First seen Feb 10, 2026
8-week activity · all time api

Installation

$ npx skills add https://github.com/mattpocock/skills
Feature your product here Skill page unit · reach builders installing agent skills View pricing →

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

Security audits

Partner security reviews for this skill.

agent-trust-hub Reviewed

Analyzed Oct 7, 2026

snyk Reviewed

Analyzed Oct 7, 2026

socket Score 0.9000 · 0 alerts

Analyzed Oct 7, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from mattpocock/skills · top by installs.

npx skills add https://github.com/mattpocock/skills

Browse all from mattpocock/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 256.9K
License MIT
Default branch main
Open issues 484
Last push Sep 4, 2026
Status Active

History

  1. First seen on skills.sh
  2. SKILL.md last updated on GitHub
  3. First recorded snapshot · 867,600 installs