mattpocock-skills
claudeMatt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).
39 skills
TDD Guardian — enforces strict test-driven development in Claude Code with per-lane gates (unit/integration/e2e/contract), specification-strength levels S1-S6 with property tooling, adversarial spec review before implementation, red receipts proving spec/implementation separation, per-path critical thresholds, CI-first tooling detection with dry-run verification, 9-format coverage merging, and mutation testing across 25+ languages
Plugin tdd-guardian from marketplace xiaolai in xiaolai/tdd-guardian-for-claude. Commands read from the repo's manifest — 1 month ago.
This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.
tdd-guardian-audit-coverageRun the tdd-guardian-coverage-auditor skill to run the coverage command, compare against thresholds, and list uncovered branches with proposed tests.
tdd-guardian-audit-mutationRun the tdd-guardian-mutation-auditor skill to run mutation testing and list surviving mutants. Skips cleanly if `requireMutation=false` or the tool is not installed.
tdd-guardian-coverage-auditorEnforce strict coverage gates and identify exact missing coverage scenarios. Use it to check the configured coverage thresholds, or to audit coverage for one file whose new branches may be untested; it runs the coverage lanes and proposes a test for each gap. Not for writing the missing tests (tdd-g
tdd-guardian-coverage-gateCoverage thresholds plus test quality: coverage without behavioral assertions fails.
tdd-guardian-design-testsRun the tdd-guardian-test-designer skill to produce a concrete behavior-driven test matrix for a plan. Rejects wiring-only designs. Does NOT write implementation code.
tdd-guardian-gateRun the lanes bound to a trigger (commit, push, taskCompleted, manual) or a named lane, then evaluate the coverage and mutation gates and refresh gate state. This is how you make a stale gate fresh before committing or pushing.
tdd-guardian-implementRun the tdd-guardian-implementer skill for ONE work item — red, green, refactor — then verify with the project's test command.
tdd-guardian-implementerImplement planned work items in small batches with test-first discipline, one work item at a time (for example \"implement WI-2\"): failing tests first, then the minimal implementation, verified after each batch. Not for planning a feature (use tdd-guardian-planner), and not for implementing many wo
tdd-guardian-initDetect every test lane in this repository — unit, integration, e2e, contract — verify each by dry-run probe, and write `.claude/tdd-guardian/config.json`. Reads CI config first, since that is what maintainers actually run.
tdd-guardian-lane-policyTest lanes (unit, integration, e2e, contract): what goes where, triggers, coverage.
tdd-guardian-mutation-auditorValidate test robustness using mutation testing and report every surviving mutant with the test that would kill it, including whether the mutation score meets the kill-rate threshold and whether the mutation tool is installed. Report-only — the implementer writes the tests. Not for checking coverage
tdd-guardian-mutation-gateMutation testing gate: per-language tools (Stryker, PIT, mutmut), weak assertions.
tdd-guardian-planBreak a TDD task into work items, acceptance criteria, and required test targets, using the tdd-guardian planner, and save the plan under .claude/tdd-guardian/. Does NOT write code or tests.
tdd-guardian-plannerBreak a request — a new feature or a refactor — into implementation work items with explicit acceptance criteria, risks, and test targets, before any code is written. Not for implementing code (use tdd-guardian-implementer) or for coverage questions (use tdd-guardian-coverage-auditor).
tdd-guardian-policy-coreCore TDD policy: plan-first development, assertion and spec levels, completion gates.
tdd-guardian-probeDry-run every configured lane to verify its command resolves and discovers tests, without executing the suites. Read-only; runs no tests and writes no files.
tdd-guardian-review-gateFindings-first code review: severity order, test-gap findings, test-quality audit.
tdd-guardian-reviewRun the tdd-guardian-reviewer skill for a final code + test-quality review. Classifies every expect() call as behavior vs wiring, flags mocked internal modules, and reports missing tests.
tdd-guardian-reviewerFinal reviewer that audits code quality, test quality (wiring vs behavior), and coverage gaps; also use it to flag the wiring-only tests in a specific test file. Report-only. Not for fixing the tests it flags (use tdd-guardian-implementer) or for running coverage (use tdd-guardian-coverage-auditor).
tdd-guardian-spec-adversaryAttack a test matrix before any implementation exists — find the wrong implementation that would pass every case, such as one that skips a state transition or breaks an invariant. Report-only; the designer fixes the matrix. Not for reviewing tests after the code is written (use tdd-guardian-reviewer
tdd-guardian-statusRead-only status report — shows last-run coverage %, mutation score, review verdict, and per-work-item state from `.claude/tdd-guardian/state.json`. Does NOT run any auditor skill, test, or gate.
tdd-guardian-test-designerDesign behavior-driven tests with explicit assertion strategies — success, boundary, invalid-input, edge and concurrency cases, using real fixtures rather than mocking internal modules. Rejects wiring-only test designs. Not for writing implementation code (use tdd-guardian-implementer) or for runnin
tdd-guardian-test-matrixTest matrix for changed behavior, with an explicit assertion strategy per case.
tdd-guardian-tooling-catalogPer-language test runners, coverage tools, mutation tools and dry-run probe commands.
tdd-guardian-workflowRun strict TDD orchestration by chaining the six focused skills: plan → design-tests (with adversarial attack on the matrix) → implement (per WI, with red receipts) → audit-coverage → audit-mutation → review. Halts immediately on any gate failure. No commits before green.
coverage-gateCoverage thresholds plus test quality: coverage without behavioral assertions fails.
lane-policyTest lanes (unit, integration, e2e, contract): what goes where, triggers, coverage.
mutation-gateMutation testing gate: per-language tools (Stryker, PIT, mutmut), weak assertions.
policy-coreCore TDD policy: plan-first development, assertion and spec levels, completion gates.
review-gateFindings-first code review: severity order, test-gap findings, test-quality audit.
test-matrixTest matrix for changed behavior, with an explicit assertion strategy per case.
tooling-catalogPer-language test runners, coverage tools, mutation tools and dry-run probe commands.
/tdd-guardian:audit-coverageDispatch the tdd-coverage-auditor agent to run the coverage command, compare against thresholds, and list uncovered branches with proposed tests.
/tdd-guardian:audit-mutationDispatch the tdd-mutation-auditor agent to run mutation testing and list surviving mutants. Skips cleanly if `requireMutation=false` or the tool is not installed.
/tdd-guardian:design-testsDispatch the tdd-test-designer agent to produce a concrete behavior-driven test matrix for a plan. Rejects wiring-only designs. Does NOT write implementation code.
/tdd-guardian:gateRun the lanes bound to a trigger (commit, push, taskCompleted, manual) or a named lane, then evaluate the coverage and mutation gates and refresh gate state. This is how you make a stale gate fresh before committing or pushing.
/tdd-guardian:implementDispatch the tdd-implementer agent for ONE work item — red, green, refactor — then verify with the project's test command.
/tdd-guardian:initDetect every test lane in this repository — unit, integration, e2e, contract — verify each by dry-run probe, and write `.claude/tdd-guardian/config.json`. Reads CI config first, since that is what maintainers actually run.
/tdd-guardian:planDispatch the tdd-planner agent to break a task into work items, acceptance criteria, and required test targets. Does NOT write code or tests.
/tdd-guardian:probeDry-run every configured lane to verify its command resolves and discovers tests, without executing the suites. Read-only; runs no tests and writes no files.
/tdd-guardian:reviewDispatch the tdd-reviewer agent for a final code + test-quality review. Classifies every expect() call as behavior vs wiring, flags mocked internal modules, and reports missing tests.
/tdd-guardian:shared:detect-toolingShared: detect test lanes, runners, coverage tools, and e2e suites from CI config, manifests, and test topology — then verify each by dry-run probe
/tdd-guardian:shared:load-configShared: load .claude/tdd-guardian/config.json, migrate v1 to v2, validate lanes, fail loudly if missing
/tdd-guardian:shared:parse-coverageShared: parse and merge coverage across 9 formats — Istanbul, coverage.py, LCOV, Cobertura, JaCoCo, Clover, go-cover, SimpleCov
/tdd-guardian:shared:parse-mutationShared: parse mutation testing output into score + survivor list across the Stryker family, PIT, Infection, mutmut, go-mutesting, cargo-mutants, and any tool emitting the mutation-testing-elements schema
/tdd-guardian:shared:run-laneShared: execute one lane (setup, command, coverage report, teardown) and classify the outcome, distinguishing runner failure from test failure
/tdd-guardian:statusRead-only status report — shows last-run coverage %, mutation score, review verdict, and per-work-item state from `.claude/tdd-guardian/state.json`. Does NOT run any agent, test, or gate.
/tdd-guardian:workflowRun strict TDD orchestration by chaining the six focused commands: plan → design-tests (with adversarial attack on the matrix) → implement (per WI, with red receipts) → audit-coverage → audit-mutation → review. Halts immediately on any gate failure. No commits before green.
tdd-coverage-auditorEnforce strict coverage gates and identify exact missing coverage scenarios. Use it to check the configured coverage thresholds, or to audit coverage for one file whose new branches may be untested; it runs the coverage lanes and proposes a test for each gap. Not for writing the missing tests (tdd-i
tdd-implementerImplement planned work items in small batches with test-first discipline, one work item at a time (for example "implement WI-2"): failing tests first, then the minimal implementation, verified after each batch. Not for planning a feature (use tdd-planner), and not for implementing many work items in
tdd-mutation-auditorValidate test robustness using mutation testing and report every surviving mutant with the test that would kill it, including whether the mutation score meets the kill-rate threshold and whether the mutation tool is installed. Report-only — the implementer writes the tests. Not for checking coverage
tdd-plannerBreak a request — a new feature or a refactor — into implementation work items with explicit acceptance criteria, risks, and test targets, before any code is written. Not for implementing code (use tdd-implementer) or for coverage questions (use tdd-coverage-auditor). <example> Context: User asks to
tdd-reviewerFinal reviewer that audits code quality, test quality (wiring vs behavior), and coverage gaps; also use it to flag the wiring-only tests in a specific test file. Report-only. Not for fixing the tests it flags (use tdd-implementer) or for running coverage (use tdd-coverage-auditor). <example> Context
tdd-spec-adversaryAttack a test matrix before any implementation exists — find the wrong implementation that would pass every case, such as one that skips a state transition or breaks an invariant. Report-only; the designer fixes the matrix. Not for reviewing tests after the code is written (use tdd-reviewer) or for
tdd-test-designerDesign behavior-driven tests with explicit assertion strategies — success, boundary, invalid-input, edge and concurrency cases, using real fixtures rather than mocking internal modules. Rejects wiring-only test designs. Not for writing implementation code (use tdd-implementer) or for running coverag
node "${CLAUDE_PLUGIN_ROOT}/scripts/tdd-guardian/pretool_guard.js"
node "${CLAUDE_PLUGIN_ROOT}/scripts/tdd-guardian/taskcompleted_gate.js"
Matt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).
39 skills
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
15 skills · hooks
Harness-native ECC operator layer - 71 agents, 314 skills, 98 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
200 skills · 98 commands · 71 agents · 1 MCP server · hooks
Collection of example skills demonstrating various capabilities including skill creation, MCP building, visual design, algorithmic art, internal communications, web testing, artifact building, Slack GIFs, and theme styling
19 skills
Comprehensive PR review agents specializing in comments, tests, error handling, type design, code quality, and code simplification
1 command · 6 agents
Production-grade engineering skills covering every phase of software development: spec, plan, build, verify, review, and ship.
25 skills · 4 agents
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.