atdd
Start the ATDD workflow for a new feature. Optionally provide a feature description as an argument.
Optional mutant IDs or file path to focus on (e.g., "src/auth.ts" or "1,3,5" for specific mutant IDs)
> /plugin marketplace add swingerman/disciplined-agentic-engineeringHow it fires
How this command gets triggered: by you, by Claude, or both.
/kill-mutantsContext preview
What this command does when you run it.
Optional mutant IDs or file path to focus on (e.g., "src/auth.ts" or "1,3,5" for specific mutant IDs)
name: kill-mutants
description: Analyze surviving mutants from a mutation testing run and write targeted unit tests to kill them. Re-runs mutations to confirm kills.
arguments:
- name: ARGUMENTS
description: Optional mutant IDs or file path to focus on (e.g., "src/auth.ts" or "1,3,5" for specific mutant IDs)
required: falseAnalyze surviving mutants and write tests to kill them.
1. Read the most recent mutation testing report/results. If no report exists, inform the user to run `/atdd:mutate` first.
2. List all surviving mutants. For each, determine:
3. If `$ARGUMENTS` specifies a file or mutant IDs, filter to only those survivors.
4. For each non-equivalent survivor: a. Write a targeted unit test that:
b. Run the new test against the original code — it must **pass** c. Verify the test would **fail** against the mutant (conceptual verification)
5. After writing all new tests, re-run mutation testing (`/atdd:mutate`) to confirm:
hash, so only the affected function re-mutates; the rest are reused from the manifest
6. Report the updated mutation score and remaining survivors.
7. For any remaining equivalent mutants, document them:
Equivalent mutants (safe to ignore): - src/utils.ts:42 — `x + 0` → `x + 1` (no behavioral change)
report it to the user rather than writing a test that asserts the buggy behavior.
A methodology kit for engineering-led AI development — spec-driven, test-driven, charter-bound. ATDD + mutation testing + deterministic guardrails. AI agents do the typing. Engineers stay in charge of architecture, behavior contracts, and verification.
Repo: swingerman/disciplined-agentic-engineering
Start the ATDD workflow for a new feature. Optionally provide a feature description as an argument.
Optional target path or flags (e.g., "src/auth/" to mutate only auth module)
Audit GWT acceptance test specs for implementation leakage. Optionally provide a specific file path.