test
Skill1 starsChanged 9 months agoMITView on GitHub
Auto-detect project type and run appropriate test suite. Use when running tests, checking test coverage, or validating code changes.
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 140 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Run tests for any project by auto-detecting the project type and test framework.
- Very specific: line 19
Look for pytest.ini, pyproject.toml with pytest config, or conftest.py
- Very specific: line 20
Check for uv.lock (use uv run pytest) or requirements.txt (use pytest)
- Very specific: line 23
Look for package.json with test scripts
- Distinctive: line 75
After running tests, check for coverage:
“Common” is measured: kept by at least 6 in 10 of the 140 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
Universal Test Runner
Run tests for any project by auto-detecting the project type and test framework.
Arguments
$0(optional): Test type -unit,integration,e2e,all(default:all)$1(optional): Specific path or pattern to test
Detection Logic
- Check for Python project (pytest):
- Look for
pytest.ini,pyproject.tomlwith pytest config, orconftest.py - Check for
uv.lock(useuv run pytest) orrequirements.txt(usepytest)
- Look for
- Check for JavaScript/TypeScript project:
- Look for
package.jsonwith test scripts - Detect test runner: Jest, Vitest, Playwright, Cypress
- Look for
Execution Steps
For Python Projects (FastAPI, automation suites)
# Check if uv is used
if [ -f "uv.lock" ]; then
uv run pytest $PATH -v --tb=short
else
pytest $PATH -v --tb=short
fiTest type flags:
unit:-m "unit or not (integration or e2e)"integration:-m "integration"e2e:-m "e2e"all: No marker filter
Parallel execution (if pytest-xdist installed):
pytest -n auto $PATHFor JavaScript/TypeScript Projects
Jest/Vitest:
npm test -- $PATH
# or for coverage
npm test -- --coveragePlaywright E2E:
npx playwright test $PATH
# or with UI
npx playwright test --uiCypress:
npx cypress run
# or interactive
npx cypress openCoverage Reports
After running tests, check for coverage:
- Python: Look for
htmlcov/index.htmlor.coveragefile - JavaScript: Look for
coverage/lcov-report/index.html
Report coverage percentage to the user.
Common Patterns in User's Projects
| Project | Framework | Command |
| eruditiontx-services-mvp | pytest + asyncio | uv run pytest -n auto |
| mathmatterstx-services | pytest | uv run pytest |
| eruditiontx-client-mvp | Jest + Vitest | npm test |
| erudition-math-v2 | Jest + Playwright | npm test / npm run test:e2e |
| notaryo.ph | Jest + Playwright | pnpm test |
| bocs-turbo | Jest + Cypress | pnpm test |
Output Format
Running tests for: [project-name]
Framework detected: [pytest/jest/playwright]
Test type: [unit/integration/e2e/all]
[Test output]
Summary:
- Passed: X
- Failed: Y
- Skipped: Z
- Coverage: XX%Other versions165 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 165
- facebook/react★ 252ksame name
- react/react★ 251ksame name
- apache/skywalking★ 25ksame name
- livewire/livewire★ 24ksame name
- NVIDIA/TensorRT★ 13ksame name
- FalkorDB/FalkorDB★ 11ksame name
- FastLED/FastLED★ 7.5ksame name
- fleetdm/fleet★ 7.1ksame name
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
155 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.
Used alongsideProjects with it also use agent-context-isolation, agentica-infrastructure and 10 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.
parcadeiSkillagent-context-isolation
Agent Context Isolation
Also in 3 projects that use this
parcadeiSkillagentica-infrastructure
Reference guide for Agentica multi-agent infrastructure APIs
Also in 3 projects that use this
- +10 more from parcadei
In this repository125 other files it gives its agents.
- skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- skills/vercel-react-native-skills/AGENTS.mdAGENTS.md
- address-sanitizerSkill
- aflppSkill
- algorand-vulnerability-scannerSkill
- algorithmic-artSkill
- ask-questions-if-underspecifiedSkill
- atherisSkill
- audit-context-buildingSkill
- audit-prep-assistantSkill
- autonomous-skillSkill
- aws-skillsSkill
- better-authSkill
- brainstormingSkill
- brand-guidelinesSkill
- burpsuite-project-parserSkill
- cairo-vulnerability-scannerSkill
- canvas-designSkill
- cargo-fuzzSkill
- changelog-generatorSkill
- claude-in-chrome-troubleshootingSkill
- cloudflare-skillsSkill
- code-maturity-assessorSkill
- codeqlSkill
- codex-skillSkill
- constant-time-analysisSkill
- constant-time-testingSkill
- cosmos-vulnerability-scannerSkill
- coverage-analysisSkill
- d3js-visualizationSkill
- db-resetSkill
- deep-researchSkill
- deploySkill
- dev-startSkill
- differential-reviewSkill
- dispatching-parallel-agentsSkill
- doc-coauthoringSkill
- doc-generateSkill
- documentationSkill
- docxSkill
- dwarf-expertSkill
- entry-point-analyzerSkill
- env-checkSkill
- executing-plansSkill
- expo-skillsSkill
- finishing-a-development-branchSkill
- firebase-apk-scannerSkill
- fix-reviewSkill
- frontend-designSkill
- fuzzing-dictionarySkill
- fuzzing-obstaclesSkill
- git-automationSkill
- google-design-mdSkill
- guidelines-advisorSkill
- harness-writingSkill
- health-checkSkill
- huggingface-skillsSkill
- insecure-defaultsSkill
- internal-commsSkill
- 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.
Reviews can't be read right now.
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.

