Complete Test Code

Use this skill whenever the user wants test code written, added, audited, or judged "good enough" — not merely run. Trigger when they: ask you to write or improve tests for a module (parser, retry/network logic, migration, auth/token, billing, state machine, library/SDK); worry that edge cases or "garbage input" keep slipping through release after release; ask what testing a component needs before shipping, open-sourcing, or tagging a version; want code made robust, reliable, or production-ready; report flaky, missing, or weak tests; or raise data corruption, crash/rollback/atomicity, concurrency, or fault-handling concerns. Also apply proactively right after non-trivial logic is implemented, to cover failure paths and boundaries even if "test" was never said. Brings SQLite-grade methods (fuzzing, property/differential/metamorphic testing, fault injection, mutation testing, coverage) but right-sizes rigor to the component's blast radius. Not for just running an existing suite or general debugging.

shyuan 2a54d5f 10 files · 79.2 KB Updated

File contents

shyuan/skills/tree/main/skills/complete-test-code commit 2a54d5f89b

Frequently asked questions

npx skillmds@latest add shyuan/complete-test-code