test-coverage-loop
Adds tests until the suite reaches 100% coverage. Drafts candidate tests in a throwaway worktree and reports them — never commits a test file itself.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Adds tests until the suite reaches 100% coverage. Drafts candidate tests in a throwaway worktree and reports them — never commits a test file itself.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Reviews pending PRs, excludes stale/unfinished work, combines the rest into a release batch built from main. Read-only — reports the batch, never actually releases.
Writes a scoped spec packet for one ticket, reviewed by a genuinely independent adversarial pass that also regression-checks prior findings. Read-only outside the draft — never writes the canonical spec.
Defines every required outcome and its evidence before acting on long-running work, then audits each requirement as proved/weak/missing/ contradicted. Only run when explicitly asked for a completion audit.
General-purpose harness for scheduled repo work — stage in an isolated worktree, verify with a genuinely separate second session, ship only after a pass. Read-only — reports, never delivers.
Runs an adversarial review cycle against a PR (Claude implements/fixes, Codex or a subagent stand-in reviews), up to 5 iterations. Read-only on the real PR — drafts fixes, never pushes them.
Turns a ticket or bug report into a review-ready patch. Read-only — reproduces, roots out the cause, drafts a fix, reports it. Never opens a PR, never folds in unrelated refactors.
| name | test-coverage-loop |
| description | Adds tests until the suite reaches 100% coverage. Drafts candidate tests in a throwaway worktree and reports them — never commits a test file itself. |
The prompt carries intent; this skill carries the procedure — keep it a checklist, not an essay. Adapted from Forward Future Loop Library #5 (Matthew Berman) to this library's L1-first, report-only shape.
test-coverage-loop-state.md's register.coverage-report.md entry:
region, the drafted test, the coverage delta, the suite result.exclusion-candidate entry instead (region, why it resists
testing) and do not retry it again this cycle.test-coverage-loop-state.md's per-region status,
append one line to loop-run-log.md, commit both. Discard the throwaway
worktree.LOOP.md → the source's own
caveat on assertion quality applies at every level).