Coverage thresholds plus test quality: coverage without behavioral assertions fails.
xiaolai/tdd-guardian-for-claude
- Latest recorded source activity
- SkillsMP catalog refreshed
- skills collected
- 32
- GitHub stars
- 10
- GitHub forks
- 9
Loading the repository README…
Skills in this repository
Showing 32 of 32 collected skills.
Test lanes (unit, integration, e2e, contract): what goes where, triggers, coverage.
Mutation testing gate: per-language tools (Stryker, PIT, mutmut), weak assertions.
Core TDD policy: plan-first development, assertion and spec levels, completion gates.
Findings-first code review: severity order, test-gap findings, test-quality audit.
Test matrix for changed behavior, with an explicit assertion strategy per case.
Per-language test runners, coverage tools, mutation tools and dry-run probe commands.
Coverage thresholds plus test quality: coverage without behavioral assertions fails.
Test lanes (unit, integration, e2e, contract): what goes where, triggers, coverage.
Mutation testing gate: per-language tools (Stryker, PIT, mutmut), weak assertions.
Core TDD policy: plan-first development, assertion and spec levels, completion gates.
Findings-first code review: severity order, test-gap findings, test-quality audit.
Test matrix for changed behavior, with an explicit assertion strategy per case.
Per-language test runners, coverage tools, mutation tools and dry-run probe commands.
Run the tdd-guardian-coverage-auditor skill to run the coverage command, compare against thresholds, and list uncovered branches with proposed tests.
Run 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.
Enforce 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.…
Run 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.
Run 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.
Run the tdd-guardian-implementer skill for ONE work item — red, green, refactor — then verify with the project's test command.
Implement 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…
Detect 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.
Validate 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…
Break 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.
Break 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…
Dry-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.
Run 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.
Final 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…
Attack 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…
Read-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.
Design 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…
Run 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…
Install with an AI assistant
Copy this prompt into the AI assistant you're using.
Follow https://skillsmp.com/skill-install/prompt.md to install Agent Skills from https://github.com/xiaolai/tdd-guardian-for-claude.