diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-06 21:59:40 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-06 21:59:40 -0500 |
| commit | aa77f41ff803304c2bc6f224185e1247088a873e (patch) | |
| tree | 9861e99f388d22248b449582fefda405646a4fe8 /add-tests | |
| parent | 241e23457bb2619541cdad170580341529607e90 (diff) | |
| download | rulesets-aa77f41ff803304c2bc6f224185e1247088a873e.tar.gz rulesets-aa77f41ff803304c2bc6f224185e1247088a873e.zip | |
docs(skills): tighten descriptions under 1000 chars
Trim each long description to <=1000 chars while preserving content (phases, when-to-use, when-not-to, companion references). Frees enough per-session skill-listing budget to quiet the truncation warning on small-context models.
Diffstat (limited to 'add-tests')
| -rw-r--r-- | add-tests/SKILL.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/add-tests/SKILL.md b/add-tests/SKILL.md index 95e7a2e..3dd91fc 100644 --- a/add-tests/SKILL.md +++ b/add-tests/SKILL.md @@ -1,3 +1,8 @@ +--- +name: add-tests +description: Add test coverage to under-tested code through four phases — Analyze, Propose, Write, Report. Phase 1 inventories code and flags testability-blocked functions (so coupled to UI/framework that testing would mock the code under test). Phase 2 presents a plan and stops for user approval, with per-function pairwise-vs-exhaustive choice for parameter-heavy functions and refactor-or-skip for testability-blocked ones. Phase 3 writes Normal/Boundary/Error tests and diagnoses test-vs-code failures instead of reflexively patching either side. Phase 4 reports test count, coverage change, bugs surfaced. Refactors testability-blocked functions into pure helper + interactive wrapper before testing rather than mocking it. Use when raising coverage on existing code. Do NOT use for TDD on new code (inline), a single failing test (just fix it), characterization snapshot (write directly), or happy-path smoke test. Companion to `/pairwise-tests` and the Normal/Boundary/Error discipline in `testing.md`. +--- + # /add-tests Add test coverage to existing code by analyzing, proposing, writing, and reporting. |
