Curated Category 9 workflows · 2 mutually exclusive TDD defaults Updated

Testing & TDD Skills for AI Coding Agents

This guide presents 9 workflows: 2 mutually exclusive TDD defaults (mattpocock's tdd with 968.6K installs and obra's test-driven-development with 237.3K installs), plus testing strategy, mutation-testing, anti-pattern review, Bats, Vue, Dart mock-generation, and general Playwright or Cypress E2E patterns. Never install both TDD drivers in the same implementation session. The mutation-testing skill is conditional only when intentionally configuring a mewt or muton campaign, not as a general test-quality or release tool.

For visual testing or accessibility verification, use the dedicated guides at Browser Automation and Debugging.

Illustration of a traffic light showing red and green, with a checkmark flag

How this list was picked

  • Read at the source. We pulled each skill's SKILL.md from its repository and wrote every description from what the skill actually instructs an agent to do.
  • Adoption-weighted. Install counts are a September 26, 2026 snapshot from the skills.sh registry, the same registry the LazySkills TUI searches.
  • Nine-workflow selection model. 2 mutually exclusive TDD defaults plus 7 additional workflows for strategy, quality, framework testing, mock-generation, and browser E2E patterns.
  • Explicit boundaries. Browser automation and visual testing remain in their dedicated guides, while e2e-testing-patterns covers reliable Playwright and Cypress suite design and flaky-test diagnosis.

Testing & TDD skills at a glance

A comparative index of the top picks. Click any card to navigate directly to its detailed review.

Install counts from the skills.sh registry, snapshot taken September 26, 2026.

Core TDD Drivers

The two default TDD drivers attack agent test rationalizations from complementary angles. Choose one for your project based on your agent's failure mode: never install both TDD drivers in the same implementation session.

GitHub repository card for mattpocock/skills

tdd

968.6K installs Matt Pocock

Best for: TDD that produces tests worth keeping, not just green ones

This skill treats TDD as a structured specification technique rather than just a code loop. Its core principle is establishing explicit seams, public interfaces where tests verify behavior without binding to internal details. Before writing any test, the agent must define and confirm these seams with you so effort focuses on critical contracts.

It explicitly calls out anti-patterns like implementation-coupled tests, tautological tests that duplicate production logic, and horizontal slicing. Instead, it enforces vertical tracer-bullet slices executed one step at a time.

  • 766K installs, primary reference for quality test boundaries
  • Requires pre-agreed seams before test authoring begins
  • Flags tautological and implementation-bound test traps
  • Enforces tracer-bullet vertical slices per cycle
Install this skill
$npx skills add https://github.com/mattpocock/skills --skill tdd
GitHub repository card for obra/superpowers

test-driven-development

237.3K installs obra (Jesse Vincent)

Best for: Agents that attempt to bypass writing tests first

Written to enforce strict compliance, this skill centers on an absolute rule: write no production code until a failing test is in place. If an agent writes implementation code before a test, it must delete that code and restart the cycle.

It features a rationalizations table addressing common agent excuses such as code being too simple or deletion being wasteful. Mandatory verify-red and verify-green steps ensure the test actually observed failure before passing.

  • Iron Law: failing test first with zero exceptions
  • Enforces deletion of premature implementation code
  • Rationalization lookup table counters common agent excuses
  • Mandatory verify-red and verify-green execution steps
Install this skill
$npx skills add https://github.com/obra/superpowers --skill test-driven-development

Strategy and Quality Audits

Use these workflows to plan test scope, challenge weak tests, and configure intentional mutation-testing campaigns.

GitHub repository card for anthropics/knowledge-work-plugins

testing-strategy

6.1K installs Anthropic

Best for: Establishing test scope and expectations before writing code

This skill guides initial test planning by matching strategy to architecture. API components receive unit, integration, and contract tests, while data pipelines target idempotency and transformations.

It includes explicit skip guidelines to avoid low-value tests on trivial getters or framework boilerplate. The output is a structured test plan outlining required coverage levels.

  • Component-specific strategy mapping
  • Defines explicit skip rules to eliminate test busywork
  • Outputs actionable test plans with coverage goals
  • Pairs with active TDD drivers during implementation
Install this skill
$npx skills add https://github.com/anthropics/knowledge-work-plugins --skill testing-strategy
GitHub repository card for trailofbits/skills

mutation-testing

3.7K installs Trail of Bits

Best for: Conditional use when intentionally configuring a mewt or muton campaign

This skill is conditional only when intentionally configuring a mewt or muton mutation-testing campaign. It configures fault-injection runs to evaluate campaign resilience, with muton providing sibling support for TON smart contracts.

It is not a general test-quality, release, or generic coverage tool. Its work is strictly campaign engineering: scoping targets file by file, tuning timeouts, and structuring two-phase runs for mewt or muton.

  • Conditional for mewt and muton campaign configuration
  • Not for general test-quality or generic coverage audits
  • Scopes targets file by file and tunes timeouts
  • Covers Rust, Go, Solidity, TypeScript, and JavaScript
Install this skill
$npx skills add https://github.com/trailofbits/skills --skill mutation-testing
GitHub repository card for bobmatnyc/claude-mpm-skills

testing-anti-patterns

335 installs Bob Matnyc

Best for: Reviewing a test suite for brittle or misleading patterns

This skill helps identify testing anti-patterns that make suites brittle, misleading, or difficult to maintain.

Use it during test review to replace low-signal checks with tests that better reflect intended behavior.

  • Surfaces brittle and misleading test patterns
  • Supports behavior-focused test review
  • Improves confidence without adding low-signal checks
Install this skill
$npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill testing-anti-patterns

Framework and Execution Workflows

Targeted workflows for shell, Vue, Dart mock-generation, and reliable Playwright or Cypress end-to-end tests.

GitHub repository card for wshobson/agents

bats-testing-patterns

10.0K installs wshobson

Best for: Writing or reviewing tests for Bash scripts and command-line behavior

This skill provides Bats testing patterns for structuring Bash tests around observable command-line behavior.

Use it to make shell test setup, assertions, and failure diagnostics consistent across a script suite.

  • Patterns tailored to Bats and Bash tests
  • Focuses assertions on observable shell behavior
  • Improves setup and failure diagnostics
Install this skill
$npx skills add https://github.com/wshobson/agents --skill bats-testing-patterns
GitHub repository card for vuejs-ai/skills

vue-testing-best-practices

12.1K installs Vue.js AI

Best for: Testing Vue components and application behavior with less coupling

This skill guides testing Vue components and application behavior with practices that keep tests focused on user-visible contracts.

Use it when adding or reviewing Vue tests to avoid coupling assertions to implementation details.

  • Guidance specific to Vue testing workflows
  • Centers tests on observable component behavior
  • Reduces implementation-coupled assertions
Install this skill
$npx skills add https://github.com/vuejs-ai/skills --skill vue-testing-best-practices
GitHub repository card for dart-lang/skills

dart-generate-test-mocks

15.9K installs Dart team

Best for: Preparing generated mocks for Dart unit and interaction tests

This skill guides the Dart workflow for generating test mocks from the interfaces a test needs to substitute.

Use it to keep generated mock artifacts aligned with source changes before running the relevant tests.

  • Workflow for generated Dart test mocks
  • Keeps mocks aligned with source interfaces
  • Supports unit and interaction-test setup
Install this skill
$npx skills add https://github.com/dart-lang/skills --skill dart-generate-test-mocks
GitHub repository card for wshobson/agents

e2e-testing-patterns

23.1K installs wshobson

Best for: Writing E2E tests, debugging flaky tests, or establishing browser-test standards

e2e-testing-patterns is a general end-to-end testing workflow for Playwright and Cypress. It covers reliable suite design, fixtures, isolation, network mocking, and page-object boundaries without tying the guide to one interactive vendor session tool.

Use it when implementing E2E tests, diagnosing flaky browser checks, or setting team-wide browser-test standards. It complements focused component testing and should be selected when the behavior crosses a real user journey.

  • Playwright and Cypress end-to-end test patterns
  • Fixtures, test isolation, and network mocking
  • Page-object boundaries and reliable selectors
  • Flaky-test diagnosis and suite standards
Install this skill
$npx skills add https://github.com/wshobson/agents --skill e2e-testing-patterns

Which ones should you actually install?

Choose one of the 2 mutually exclusive TDD defaults based on your agent failure mode: tdd for seam definitions and test quality, or test-driven-development for strict enforcement against untested code. Never install both TDD drivers in the same implementation session. Select the other 7 workflows by task: use testing-strategy before complex projects to plan test layers, and use mutation-testing conditionally only when intentionally configuring a mewt or muton campaign. Review testing-anti-patterns for brittle or misleading tests; use bats-testing-patterns for Bash suites, vue-testing-best-practices for Vue behavior. For Dart mock setup, use dart-generate-test-mocks; for Playwright or Cypress E2E suite design, fixtures, isolation, network mocking, and flaky-test diagnosis, use e2e-testing-patterns .

For generic browser automation, visual testing, or accessibility verification, refer to our guides at Browser Automation and Debugging.

Keep them under control with LazySkills

A testing setup combines a TDD driver, strategy, and quality audits from different repos, and whether each agent on your machine can see them is exactly what fails silently. LazySkills is a terminal UI that scans your machine, shows per-agent visibility, diagnoses broken configurations, and searches the same registry this page is built on.

curl -fsSL https://lazyskills.sh/install | sh
More about LazySkills

Frequently asked questions

Should I install both TDD drivers at the same time?

No. Never install both TDD drivers in the same implementation session. tdd by mattpocock and test-driven-development by obra serve as mutually exclusive default TDD drivers. Select tdd if your agent needs guidance on test quality and seams, or test-driven-development if your agent needs strict enforcement against skipping test-first discipline.

How do these TDD skills prevent agents from faking test results?

Both TDD drivers mandate verification steps. test-driven-development requires watching tests fail first and verifying clean output, while tdd enforces red-to-green progression on vertical slices. Coupling these skills with automated verification pipelines ensures tests run and pass as claimed.

Where should I go for browser E2E, Playwright, or UI automation?

Use e2e-testing-patterns for Playwright or Cypress suite design, fixtures, isolation, network mocking, and flaky-test diagnosis. For generic browser automation, visual testing, or accessibility verification, refer to /skills/browser-automation and /skills/debugging.

When should mutation-testing be used?

mutation-testing is conditional only when intentionally configuring a mewt or muton mutation-testing campaign. Do not use it as a general test-quality, release, or generic coverage tool.

Related guides

More curated skill catalogs to keep browsing.

by Alvin