Test Quality

Test quality nine rules. test-is-truth demands that "done" is backed by a test verdict; this skill governs whether the tests themselves are worth trusting. Coding agents over-generate tests: mock-heavy suites asserting implementation details, near-duplicate bodies differing by one value, tests that re-verify the framework. Triggers when about to write or generate tests, review a diff containing tests, or QA-review a sub-agent's test output. 测试质量九规:test-is-truth 管"完成必须有测试结论",本 skill 管"测试本身写得好不好"。agent 会过度生成测试——mock 堆山、近似重复、测框架不测逻辑。

yli769227-jpg Updated
agent-discipline demo: same agent and task — one ships a bug confidently, the other is forced to prove it

File contents

yli769227-jpg/agent-discipline commit ed50d82f38

Frequently asked questions

npx get-skill add yli769227-jpg/test-quality