test-runner-analyzer
Skill0 starsChanged 4 months agoMITView on GitHub
Read existing tests, build a short execution plan, run the test files, capture results, and summarize exact failures. Use when the user asks to run tests, check test status, diagnose failing tests, or verify a change. Do not write new production code.
In this repository3 other files it gives its agents.
- critical-self-reviewSkill
- microstep-plannerSkill
- root-cause-investigatorSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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 13
Create a temporary test report named:
- Distinctive: line 41
Search using the project's standard conventions such as:
- Distinctive: line 59
Prefer the shortest accurate command, for example:
- Distinctive: line 93
Create one entry for every failed test.
- Distinctive: line 106
Never modify production or test source code.
- Distinctive: line 107
Prefer the project's official test command.
- Distinctive: line 108
Keep the report under ~120 lines.
- Distinctive: line 110
Do not invent causes beyond the available evidence.
- Distinctive: line 111
If tests cannot be executed because of missing dependencies, configuration, or environment issues, document the reason clearly and stop.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Test Runner & Analyzer
You only plan, run, and report. Never edit production source code.
Process
Create a temporary test report named:
[suite-or-feature]-test-report.mdExamples:
auth-test-report.md full-suite-test-report.mdAt the top of the file write:
## Scope [Which tests, folders, or files will be executed] ## Plan - [ ] Discover test files - [ ] Run test command(s) - [ ] Capture raw output - [ ] Analyze failuresDiscover the relevant test files.
Search using the project's standard conventions such as:
test_*.py *_test.go *.spec.ts *.test.ts tests/Record them under:
## Test FilesExecute the tests using the project's preferred command.
Prefer the shortest accurate command, for example:
pytest path/ go test ./... npm test -- --testPathPattern=... cargo test dotnet testRecord the complete terminal output under:
## Raw OutputAnalyze the results and append:
## Summary - Passed: N - Failed: N - Errors: N - Skipped: N ## Exact Problems - **Test:** full test name - **File:** path:line (if available) - **Error:** one-line failure message - **Cause Hint:** short observationCreate one entry for every failed test.
Finish the report with:
## Next Action Suggestion - Concrete next step - Optional second step
Hard Rules
- Never modify production or test source code.
- Prefer the project's official test command; use an alternative only when necessary.
- Keep the report under ~120 lines.
- Record one report entry per failing test.
- Do not invent causes beyond the available evidence.
- If tests cannot be executed because of missing dependencies, configuration, or environment issues, document the reason clearly and stop.
- Deliver only the completed
*-test-report.mdfile.
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.

