test-runner
Skill2 starsChanged 10 days agoMITView on GitHub
Execute tests, analyze results, and diagnose failures across any testing framework. Use this skill when running test suites, debugging failing tests, or configuring CI/CD testing pipelines — even if they just say "run the tests" or "why is this test failing". Not for debugger (build/deploy/runtime failures outside a suite), testing-strategy.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- claude-world/director-mode-litetheir own version, first seen Nov 1, 2026
- EffortlessMetrics/demo-swarmtheir own version, first seen Oct 17, 2026
- Mushfiqur-Rahman-Robin/coding-rulestheir own version, first seen Oct 13, 2026
- wanhaoli376-lab/AgentForgetheir own version, first seen Oct 11, 2026
- EmeaAppGbb/spec2cloudtheir own version, first seen Oct 9, 2026
- openreview/openreview-pytheir own version, first seen Oct 9, 2026
Used with
Projects with it also use error-handling, code-reviewer and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillerror-handling
统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。
Also in 3 projects that use this
GoogleSkillcode-reviewer
Also in 3 projects that use this
CloudflareSkillsecurity-audit
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- openreview/openreview-py★ 273same name
- EmeaAppGbb/spec2cloud★ 100same name
- claude-world/director-mode-lite★ 80same name
- Kanevry/session-orchestrator★ 53same name
- amanning3390/hermeshub★ 48same name
- zircote/subcog★ 28same name
- Azure/sap-automation-qa★ 14same name
- leszekgruchala/buddy★ 6same name
- AskExe/exe-build-skills★ 4same name
- crgarcia12/Liliput★ 4same name
9 more not listed
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 repository63 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/avoid-ai-writing/AGENTS.mdAGENTS.md
- .agents/skills/do-web-doc-resolver/AGENTS.mdAGENTS.md
- .agents/skills/skill-evaluator/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- accessibility-auditorSkill
- agent-browserSkill
- agentic-abstentionSkill
- agents-mdSkill
- api-design-firstSkill
- architecture-diagramSkill
- avoid-ai-writingSkill
- cicd-pipelineSkill
- cloudflare-worker-apiSkill
- codacySkill
- codeberg-apiSkill
- code-review-assistantSkill
- css-render-performanceSkill
- database-devopsSkill
- debuggerSkill
- delegateSkill
- dependency-upgradesSkill
- dist-channel-selectionSkill
- docs-hookSkill
- document-rendering-and-locatorsSkill
- dogfoodSkill
- dora-reportSkill
- do-web-doc-resolverSkill
- durable-objectsSkill
- eu-ai-act-complianceSkill
- git-github-workflowSkill
- goap-agentSkill
- implementerSkill
- intent-classifierSkill
- iterative-refinementSkill
- jules-delegatorSkill
- learnSkill
- lifecycle-managementSkill
- local-context-sanitizationSkill
- memory-contextSkill
- migration-refactoringSkill
- nested-build-isolationSkill
- privacy-firstSkill
- progressive-deliverySkill
- pwa-offline-syncSkill
- reader-ui-uxSkill
- readme-best-practicesSkill
- secrets-managementSkill
- secure-invite-and-accessSkill
- security-code-auditorSkill
- shell-script-qualitySkill
- skill-creatorSkill
- skill-evaluatorSkill
- static-analysisSkill
- testing-strategySkill
- triz-solverSkill
- turso-dbSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
4
Distinctive
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
- could be automatic: a setting could enforce it
- Distinctive: line 145
Run tests locally before commit
- Distinctive: line 146
Write edge case tests
- Distinctive: line 148
Keep tests fast (<100ms)
- Distinctive: line 159
Use sleep without reason
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test Runner
Expert skill for test execution and failure diagnosis.
Quick Start
Test Checklist:
- [ ] Environment configured
- [ ] Tests run or failures captured
- [ ] Failed tests diagnosed
- [ ] Coverage report generatedWhen to Use
- Running test suites
- Debugging failing tests
- Setting up CI/CD pipelines
- Analyzing test coverage
- Identifying flaky tests
Framework Commands
JavaScript
jest # Run all
jest path/to/test.ts # Specific file
jest --coverage # With coverage
jest --watch # Watch modePython
pytest # Run all
pytest tests/test.py # Specific file
pytest --cov=src # With coverage
pytest -v # VerboseRust
cargo test # Run all
cargo test test_name # Specific test
cargo test -- --nocapture # Show outputGo
go test ./... # Run all
go test -v ./... # Verbose
go test -cover ./... # With coverageBash
bats tests/ # Run all
bats tests/file.bats # Specific fileDiagnosing Failures
Step 1: Identify Error Type
| Pattern | Likely Cause | Action |
AssertionError: expected X got Y | Logic error | Check implementation |
TimeoutError | Async issue | Check async/await |
ModuleNotFoundError | Missing dep | Install dependency |
panic: runtime error | Go panic | Check nil/bounds |
Step 2: Isolate Test
pytest test.py::test_func -v # Python
jest --testNamePattern="test" # Jest
cargo test test_name # RustStep 3: Check Environment
pip list | grep pytest # Python
npm list jest # Node
# ./scripts/setup-test-db.sh # Test data (create if needed for project)Coverage Analysis
Generate Reports
# Jest
jest --coverage --coverageReporters=text-summary
# Python
pytest --cov=src --cov-report=html
# Rust
cargo tarpaulin --out Html
# Go
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.outCoverage Targets
| Type | Minimum | Target |
| New project | 70% | 85% |
| Legacy | 50% | 70% |
| Critical path | 90% | 95% |
Flaky Test Detection
# Run multiple times
for i in {1..10}; do pytest || echo "Failed run $i"; done
# Identify patterns:
# - Time-based (timeout issues)
# - State-dependent (order matters)
# - Async race conditionsBest Practices
DO:
- Run tests locally before commit
- Write edge case tests
- Mock external dependencies
- Keep tests fast (<100ms)
- Clean up test state
- Use descriptive names
DON'T:
- Skip tests without TODO
- Hardcode timeouts
- Test implementation details
- Share mutable state
- Ignore flaky tests
- Use sleep without reason
Quality Criteria
- Tests run or failures diagnosed
- Coverage meets targets
- No flaky tests
- Test environment documented
- CI/CD configured
- Clear error messages
See Also
testing-strategy— Choose testing approaches and plan test suites (incl. its testdata appendix)nested-build-isolation— Isolate nested subprocess builds, tests, or coverage runnersdogfood— Exploratory testing of web applications
Rationalizations
| Rationalization | Reality |
| "Tests pass on my machine, CI must be flaky" | Environment differences are real; CI is the source of truth for reproducibility. |
| "I'll fix the failing test later" | Deferred test failures accumulate and mask real regressions. |
| "Coverage doesn't matter, I write good tests" | Coverage metrics catch blind spots that human judgment misses. |
Red Flags
- Tests skipped without a tracked follow-up
- Coverage drops below minimum thresholds on new code
- Flaky tests re-run instead of root-caused
References
agents-docs/SKILLS.md- Skill framework guide
Voice & Context
- Default:
professional+blog - Reference:
voice-profilesskill for definitions and auto-detection.
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.

