musingfox/cc-plugins/tests
Claude Code and agent skill by musingfox/cc-plugins
- community
Checking that the SKILL.md file is still in the repository.
Audit whether a repo's tests guard what its standing milestones committed to — trace each commitment clause in docs/milestones/ to the assertion that checks it, and list the clauses no test guards.
Install
npx vskill@latest install musingfox/cc-plugins/testsSKILL.md
The same SKILL.md was published earlier as musingfox/cc-plugins/tests.
Audit tests against milestone commitments
A milestone's commitments are the one source of what the delivered work must do. This audit traces each commitment clause to the tests meant to guard it and says which clauses nothing guards. It works at the requirement level: it reads assertions and judges them. The skill never edits the repo and never runs the repo's tests, and the receipt in step 6 checks on every run that the working tree is unchanged.
1. Resolve the repo
Take the repo from the argument and resolve a relative path to an absolute one. With no argument, use git rev-parse --show-toplevel of the session's cwd. Make the scratch directory outside the repo with mktemp -d, and a reports/ directory inside it.
Save git -C <repo> status --porcelain to <scratch>/before.txt.
Done when the repo is an absolute path, <scratch>/reports exists outside it and before.txt exists.
2. List the milestones
Run bash "${CLAUDE_PLUGIN_ROOT}/scripts/milestones.sh" <repo> into <scratch>/inventory.tsv and read that file. Each line is <action>\t<status>\t<path>.
- When the script exits 2, relay its stderr and stop.
- When it exits 1, print its stderr and stop.
- With zero
tracelines, printNo standing milestones in <repo>/docs/milestones/plus
the skip lines, and stop without writing a list.
Name the milestones you are about to trace.
Done when you have printed the trace milestones, or stopped with the message above.
3. Find the test files
Run bash "${CLAUDE_PLUGIN_ROOT}/scripts/test-files.sh" <repo> into <scratch>/tests.txt. When it exits 1, print its stderr and stop.
Done when <scratch>/tests.txt exists.
4. Trace
Dispatch one audit:tests-tracer per trace line, in parallel, each with:
Milestone: <repo>/<path>Repo: <repo>Tests: <scratch>/tests.txtReport path: <scratch>/reports/<slug>.md, where the slug is the milestone filename without.md
Each tracer is one agent seat, so the cost scales with the number of milestones.
Done when every tracer has returned.
5. Assemble
Run bash "${CLAUDE_PLUGIN_ROOT}/scripts/assemble.sh" <scratch>/inventory.tsv <scratch>/reports into <scratch>/tests-audit.md. A tracer that failed shows as not traced, and a missing report is never read as a clean milestone. When it exits non-zero, print its stderr and the scratch path, run the receipt from step 6 and print it, then stop without printing the list: the redirect has left an empty or partial list behind, but the tracers have already run.
Done when the script exited 0 and <scratch>/tests-audit.md exists, or, after a non-zero exit, when the user has its stderr, the scratch path and the receipt.
6. Report
Run git -C <repo> status --porcelain again and compare it with before.txt. When the two match, print repo untouched. Otherwise print repo changed during the audit: followed by the differing lines. The receipt reports and never aborts.
Print the list path, the ## Counts and ## Hand to the main session blocks from the list, and the receipt.
Done when the user has the list path, both blocks and the receipt.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaudit/skills/tests/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/musingfox/cc-plugins/tests)