Skill: Code Simplification
by Addy Osmani
Reduces accumulated complexity without changing behaviour, using Chesterton's Fence to avoid deleting the thing that was load-bearing.
Matt Pocock's test-driven development skill: one red-to-green slice at a time, tests only at seams agreed with you first, and a named list of test anti-patterns to avoid.
TDD is the test-driven development skill from Matt Pocock's skills collection, one of the most installed on skills.sh. It loads when you ask an agent to build a feature or fix a bug test-first, mention red-green-refactor, or want integration tests, and it acts as a reference the agent consults on every cycle rather than a one-off checklist.
Its central idea is the seam: the public boundary where behaviour can be observed without reaching inside. Before writing any test, the agent proposes the seams it intends to test, with a note on what each catches and misses, and waits for you to confirm them, so testing effort lands on critical paths instead of every edge case. Tests then verify behaviour through those interfaces and should survive refactoring.
The skill names three anti-patterns: implementation-coupled tests that mock internals or check side channels, tautological tests whose expected value is computed the same way as the code, and horizontal slicing, writing all tests before any implementation. Instead it enforces vertical slices: one test, the minimal code to pass it, repeat. Refactoring is kept out of the loop and left to review. It reads the project's GLOSSARY.md and ADRs so test names match the domain, and it calls the companion codebase-design skill for interface vocabulary. MIT-licensed.
The instructions your agent loads, as published by Matt Pocock.
by Addy Osmani
Reduces accumulated complexity without changing behaviour, using Chesterton's Fence to avoid deleting the thing that was load-bearing.
by Addy Osmani
Sends every non-trivial decision to a fresh-context adversarial reviewer before it stands — for production, security-sensitive or irreversible work.
Matt Pocock's /improve-codebase-architecture command: finds shallow modules worth deepening, renders them as a visual HTML report with before/after diagrams, then grills you through the one you pick.
Matt Pocock's discipline for hard bugs and performance regressions: build a tight, red-capable feedback loop first, then reproduce, minimise, hypothesise, instrument, fix with a regression test and clean up.