Skip to main content
Back to registry

tdd

mattpocock/skills

Core principle : Tests should verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't.

Installs3
Install command
npx skills add https://github.com/mattpocock/skills --skill tdd
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Core principle : Tests should verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't. Good tests are integration-style: they exercise real code paths through public APIs. They describe what the system does, not how it does it. A good test reads like a specification - "user can checkout with valid cart" tells you exactly what capability exists. These tests survive refactors because they don't care about internal structure. Bad tests are coupled to implementation. They mock internal collaborators, test private methods, or verify through external means (like querying a database directly instead of using the interface).

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does tdd do?

Core principle : Tests should verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't.

Is tdd good?

tdd does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does tdd work with?

tdd currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to tdd?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install tdd?

npx skills add https://github.com/mattpocock/skills --skill tdd

Related skills

More from mattpocock/skills

Related skills

Alternatives in Software Engineering