test
Skill3 starsChanged 5 months agoMITView on GitHub
Universal test runner. Auto-detects project type and runs the appropriate test suite with optional scope and coverage flags.
179 other projects use a version of this.
Adopted by
Most recently taken up by
- tyrantpiper/travel-pwatheir own version, first seen Nov 8, 2026
- phuthuycoding/kanban-flowtheir own version, first seen Nov 8, 2026
- pche-broken-artist/forge-of-thoughttheir own version, first seen Nov 8, 2026
- PMDevSolutions/Flaviantheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
Used with
Projects 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
Other versions179 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 179
- react/react★ 252ksame name
- facebook/react★ 252ksame name
- apache/skywalking★ 25ksame name
- livewire/livewire★ 24ksame name
- NVIDIA/TensorRT★ 13ksame name
- FalkorDB/FalkorDB★ 10ksame name
- FastLED/FastLED★ 7.5ksame name
- fleetdm/fleet★ 7.2ksame name
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
169 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 repository67 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- optimize-contextSkill
- a11y-checkSkill
- api-contractSkill
- backend-patternsSkill
- build-fixSkill
- checkpointSkill
- clickhouse-ioSkill
- code-review-eccSkill
- code-reviewSkill
- coding-standardsSkill
- config-auditSkill
- continuous-learning-v2Skill
- create-prdSkill
- deps-auditSkill
- e2eSkill
- eval-harnessSkill
- evalSkill
- evolveSkill
- executeSkill
- execution-reportSkill
- extract-sharedSkill
- firecrawlSkill
- frontend-designSkill
- frontend-patternsSkill
- golang-patternsSkill
- golang-testingSkill
- implement-fixSkill
- init-projectSkill
- instinct-exportSkill
- instinct-importSkill
- instinct-statusSkill
- iterative-retrievalSkill
- lazySkill
- learnSkill
- orchestrateSkill
- perf-profileSkill
- plan-eccSkill
- plan-featureSkill
- postgres-patternsSkill
- primeSkill
- project-guidelines-exampleSkill
- projectSkill
- prompt-auditSkill
- python-patternsSkill
- python-reviewSkill
- python-testingSkill
- rcaSkill
- refactor-cleanSkill
- releaseSkill
- security-reviewSkill
- seo-kitSkill
- set-working-dirSkill
- skill-createSkill
- strategic-compactSkill
- supadataSkill
- system-reviewSkill
- tddSkill
- tdd-workflowSkill
- test-coverageSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 9 are distinctive, and 13 are very specific to this project.
0
Common
Most of the 154 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
If vitest in devDependencies -> vitest project
- Very specific: line 19
If jest in devDependencies -> jest project
- Very specific: line 20
If test script defined in scripts.test -> use that
- Distinctive: line 32
No arguments: Run the default test suite
- Very specific: line 33
--unit: Run only unit tests - Very specific: line 34
--integration: Run only integration tests - Very specific: line 35
--e2e: Run only E2E tests - Very specific: line 36
--coverage: Run with coverage reporting - Very specific: line 37
<path>: Run tests for a specific file or directory - Very specific: line 54
Check if tests/unit/ and tests/integration/ directories exist
- Distinctive: line 55
If they exist, use directory-based scoping
- Very specific: line 56
If not, check pytest.ini or pyproject.toml for markers and use -m flag
- Distinctive: line 57
If the project uses markers, report which markers are available
- Very specific: line 71
Read package.json scripts section for existing test commands (test:unit, test:e2e, test:integration, test:coverage)
- Distinctive: line 72
If specific scripts exist, prefer those over generic flags
- Very specific: line 73
Check for Playwright config (playwright.config.ts/.js) for E2E
- Distinctive: line 97
Look for a "Testing" or "Test" section
- Distinctive: line 98
If CLAUDE.md specifies custom test commands, prefer those
- Distinctive: line 114
If no manifest files found: report "Could not detect project type.
- Distinctive: line 115
If test directory doesn't exist for the requested scope: report which scopes are available
- Distinctive: line 116
If tests fail: show the failure summary but don't treat it as a skill error
- Very specific: line 122
Always respect the project's existing test configuration (pytest.ini, vitest.config.ts, etc.)
“Common” is measured: kept by at least 6 in 10 of the 154 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
Auto-detect the project type and run the appropriate test suite. Works across Python, Node.js, and Go projects.
Detection Logic
Detect the project type by checking for manifest files in the current working directory. Check in this order (first match wins):
- Go:
go.modexists - Python:
pytest.ini,pyproject.toml(with[tool.pytest]), orsetup.pyexists - Node.js:
package.jsonexists — then check:- If
vitestin devDependencies -> vitest project - If
jestin devDependencies -> jest project - If test script defined in
scripts.test-> use that
- If
Also detect the package manager for Node.js projects:
pnpm-lock.yamlexists -> pnpmyarn.lockexists -> yarnbun.lockbexists -> bun- Otherwise -> npm
Arguments
Parse $ARGUMENTS for flags and positional arguments:
- No arguments: Run the default test suite
--unit: Run only unit tests--integration: Run only integration tests--e2e: Run only E2E tests--coverage: Run with coverage reporting<path>: Run tests for a specific file or directory- Flags can be combined:
/test --unit --coverage
Test Commands by Project Type
Python (pytest)
| Flag | Command |
| (default) | pytest tests/ -v |
--unit | pytest tests/unit/ -v (or pytest -m unit -v) |
--integration | pytest tests/integration/ -v (or pytest -m integration -v) |
--e2e | pytest tests/e2e/ -v (or pytest -m e2e -v) |
--coverage | pytest tests/ -v --cov=. --cov-report=term-missing |
<path> | pytest <path> -v |
Detection refinements for Python:
- Check if
tests/unit/andtests/integration/directories exist - If they exist, use directory-based scoping
- If not, check
pytest.iniorpyproject.tomlfor markers and use-mflag - If the project uses markers, report which markers are available
Node.js (vitest/jest)
| Flag | Command |
| (default) | <pm> test (using detected package manager) |
--unit | <pm> test -- --testPathPattern="unit" or <pm> run test:unit if script exists |
--integration | <pm> run test:integration if script exists, else <pm> test -- --testPathPattern="integration" |
--e2e | <pm> run test:e2e if script exists, else check for Playwright: npx playwright test |
--coverage | <pm> test -- --coverage |
<path> | <pm> test -- <path> |
Detection refinements for Node.js:
- Read
package.jsonscripts section for existing test commands (test:unit,test:e2e,test:integration,test:coverage) - If specific scripts exist, prefer those over generic flags
- Check for Playwright config (
playwright.config.ts/.js) for E2E - Report available test scripts from package.json
Go
| Flag | Command |
| (default) | go test ./... -v |
--unit | go test ./... -v -short (skip long-running tests) |
--integration | go test ./... -v -run Integration |
--e2e | go test ./... -v -run E2E |
--coverage | go test ./... -v -cover -coverprofile=coverage.out && go tool cover -func=coverage.out |
<path> | go test <path> -v |
Execution
- Detect the project type and report it:
Detected: Python/pytest project - Build the command based on arguments
- Check for project-specific overrides in CLAUDE.md:
- Look for a "Testing" or "Test" section
- If CLAUDE.md specifies custom test commands, prefer those
- Report: "Using custom test command from CLAUDE.md" if applicable
- Run the test command using Bash tool
- For long-running test suites (e2e, full integration), suggest tmux but run directly
- Stream output so the user can see progress
- Report results:
Tests: X passed, Y failed, Z skipped Coverage: N% (if --coverage) Duration: Xs
Error Handling
- If no manifest files found: report "Could not detect project type. No manifest files found in current directory."
- If test directory doesn't exist for the requested scope: report which scopes are available
- If tests fail: show the failure summary but don't treat it as a skill error
Notes
- This skill wraps existing project test infrastructure — it does not install test frameworks
- For projects with both Python and Node.js tests (e.g., a monorepo with a Python backend and a JS frontend), detect both and ask which to run, or run both if no scope flag is given
- Always respect the project's existing test configuration (pytest.ini, vitest.config.ts, etc.)
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.

