vs-coverage-gap-not-clone
Skill29 starsChanged 7 months agoMITView on GitHub
Steal VS "Today I will improve test coverage" FORMAT: baseline gaps, skip no-behavior files, remeasure the same scope. Do NOT clone Test Agent or Copilot @test #solution. Do NOT claim 100% coverage. Slash: /vs-coverage-gap-not-clone.
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
Write tests only for gap files.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
VS coverage FORMAT — gaps, not 100%
Goal
Produce fail-closed coverage honesty for whom: ThumbGate agents about to write tests — so they baseline gaps in one scope, skip enums/re-exports, and remeasure that same scope. Never 100%. Never Copilot Test Agent.
Constraints
| NEVER | ALWAYS |
Clone Test Agent / @test #solution | npx thumbgate coverage-gap |
cov-fail-under=100 / claim 100% | Floor (default 50) on behavioral files |
| Tests for enums, re-exports, constants-only | Skip noBehavior kinds |
| Remeasure a different directory | Same --scope before and after |
Dual-edit scripts/test-coverage.js runner | Feature-detect include/exclude stays there |
Reference
- https://devblogs.microsoft.com/visualstudio/today-i-will-improve-test-coverage/
scripts/coverage-gap.jsscripts/test-coverage.js(Node--experimental-test-coverage+ feature-detect)/high-roi-steal-and-finish
Examples (show, don't tell)
Weak: Run Copilot Test Agent on the whole repo and claim 81% → 100%.
Gold:
$ npx thumbgate coverage-gap --json --coverage=tests/fixtures/coverage-gap-before.json --scope=scripts/risk --floor=50
gaps: scripts/risk/decide.js 20%
skipped: scripts/risk/enums.js
$ npx thumbgate coverage-gap --json --before=...before.json --after=...after.json --scope=scripts/risk
ok: trueProcedures
npx thumbgate coverage-gap --json --coverage=<fixture.json> --scope=scripts/<area> --floor=50
npx thumbgate coverage-gap --json --before=<a> --after=<b> --scope=scripts/<area>
npm run test:coverage-gap
npm run test:coverage # existing runner; feature-detects include/exclude- Baseline the scoped files.
- Skip no-behavior.
- Write tests only for gap files.
- Remeasure the same scope.
- Refuse
--clone-test-agentand--claim-100.
Rubric
- gold compare same scope →
ok=true --claim-100/@test #solution→ok=false- enum-only files are skipped, not gaps
- doctor:
npm run test:coverage-gapPASS - evidence: command output in the same turn
In this repository98 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .well-known/llms.txtllms.txt
- activesaddler-curriculum-honestySkill
- article-syndication-pipelineSkill
- autonomous-execution-mandateSkill
- aws-strands-harness-not-cloneSkill
- bolt-forge-opt-in-not-cloneSkill
- ci-gha-buildkite-patterns-not-cloneSkill
- cobble-hot-store-compare-not-cloneSkill
- colab-compute-honesty-not-cloneSkill
- comet-session-loggerSkill
- craft-playbook-gateSkill
- cyberstrike-compare-not-cloneSkill
- datadog-llm-obs-compare-not-cloneSkill
- decisive-step-evaluatorSkill
- deeppattern-discipline-honesty-not-cloneSkill
- earnie-third-author-governanceSkill
- embeddinggemma-multimodal-firewallSkill
- fiddler-control-plane-honestySkill
- gitlab-sandbox-allowlist-not-trustSkill
- graphifySkill
- halo-trace-optimize-not-cloneSkill
- harness-evolution-ceilingSkill
- ideabrowser-connectorSkill
- infoq-architect-honesty-not-cloneSkill
- jit-harness-compare-not-cloneSkill
- meko-datapack-honesty-not-cloneSkill
- mintlify-knowledge-honesty-not-cloneSkill
- model-distress-governanceSkill
- multi-harness-rl-invariantsSkill
- nvidia-specdecode-al-doctorSkill
- omp-coordination-honesty-not-cloneSkill
- openui-catalog-compose-honestySkill
- package-manager-honesty-doctorSkill
- qwenwork-policy-group-honesty-not-cloneSkill
- saas-moat-honesty-not-cloneSkill
- salt-code-policy-honesty-not-cloneSkill
- show-meSkill
- siren-mcp-governanceSkill
- skool-headless-readerSkill
- snapchat-abm-playbook-stealSkill
- strands-harness-sentinelSkill
- tailscale-p2p-governance-not-cloneSkill
- thumbgate-board-loopSkill
- thumbgate-daily-discoveriesSkill
- thumbgateSkill
- token-shunt-honesty-not-cloneSkill
- typesafe-typed-questions-not-cloneSkill
- vulnerability-pre-action-diodeSkill
- windbg-evidence-diagnosticsSkill
- wisdom-context-artifact-not-cloneSkill
- zero-outbound-spend-they-pay-usSkill
- zvec-grep-compare-not-cloneSkill
- ci-failure-triageSkill
- evidence-first-answerSkill
- fleet-coordinationSkill
- paranoid-mode-honesty-not-cloneSkill
- revenue-truthSkill
- scope-disciplineSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

