Guides quality-first TDD for new behavior, bug fixes, and test changes. Selects the smallest test layer, proves a distinct regression risk, and runs bounded RED-GREEN-REFACTOR verification.
58
68%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.github/skills/common/common-tdd/SKILL.mdA passing test is insufficient; the test must prove an owned behavior and a distinct plausible fault.
Create one Test Intent Record per behavior/risk:
contract: observable contract — an application-owned result or side effectfault: distinct fault — a distinct plausible regression this test would catchlayer: smallest honest unit, component, contract, integration, or E2E layercases: minimal distinct equivalence classes; use a parameterized test for equivalent inputscommand: exact focused single-run commandReject tests that duplicate an existing fault, assert implementation detail or mock choreography, depend on time/network/order, or force a broader behavior into a unit.
expected_red, invalid_red, unexpected_green, or verification_infra_failed. If it is unexpected_green, inspect existing coverage and remove a redundant or weak case before implementing production code.expected_red; rerun the same command.add tests after, too small, passed first run, run the full suite again, or mock every collaborator.See references/quality-contract.md for the intent record, failure taxonomy, layer routing, and runner examples.
405cdd5
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.