tests
Skill2 starsChanged 5 months agoMITView on GitHub
How agents run the project test suite — capture full output to log files; never pipe test runs through grep, tail, or head. Use when running tests, coverage, e2e, iterating on failures, or any skill that executes the test suite.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- nf/skillstheir own version, first seen Jan 28, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- nf/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- backlogSkill
- commitSkill
- copySkill
- coverageSkill
- deslopSkill
- fixSkill
- global-code-reviewSkill
- grand-syncSkill
- implementSkill
- interviewSkill
- prod-error-fixSkill
- prSkill
- raptorSkill
- soakSkill
- verify-thisSkill
- worktreeSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Read package scripts / docs — do not assume.
- Very specific: line 33
Prefer CI=1 (or equivalent) for stable, grep-friendly logs when the project supports it.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Running tests
Order: On product code changes, run scoped type/lint on touched files first (see project AGENTS.md / contributing docs) — then scoped tests. Full suite is for commit/CI, not every fix iteration.
Never pipe a test command through grep, tail, head, tee, or similar. Pipes drop context and force a re-run to recover diagnostics.
Always redirect the full run to a unique log under a project attempt dir (create if needed). Default convention: .test-attempts/ at repo root. On failure, read the log file — do not re-run just to capture output.
Setup (each run)
# Use the repo’s Node/runtime pin if present (nvm use, mise, asdf, …)
mkdir -p .test-attempts
LOG=".test-attempts/$(date +%Y%m%d-%H%M%S)-<slug>.log"Discover commands
Read package scripts / docs — do not assume. Common patterns:
| Intent | Prefer |
| Scoped | Smallest path filter the harness supports |
| Full suite | Project test / ci script |
| Coverage | Project coverage script |
| E2E | Project e2e script |
Prefer CI=1 (or equivalent) for stable, grep-friendly logs when the project supports it. Append > "$LOG" 2>&1; check exit code separately.
Vitest projects caveat: pnpm run test -- <file> may still run the full suite. Prefer pnpm exec vitest run <paths> when that is the project pattern.
After the run
| Exit | Action |
| 0 | Note log path briefly |
| non-zero | Read $LOG (or rg inside the file). Fix with targeted re-runs (new log per attempt) |
Related
/commit— when to run scoped vs full suite/coverage— coverage-focused runs/fix— TDD regression runs
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.

