testing-plugin/skills/test-run/SKILL.md
Universal test runner auto-detecting pytest, vitest, jest, cargo, go test. Use when running tests, targeting a file/pattern, running with coverage, or watch-mode dev loops.
npx skillsauth add laurigates/claude-plugins test-runInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Use this skill when... | Use test-quick instead when... | |---|---| | Running tests with auto-detected framework (pytest, vitest, jest, cargo, go) | You only want fast unit tests for sub-30s feedback | | Running a specific file or pattern with full framework defaults | Iterating on a single failing spec (use test-focus) | | Generating coverage in the standard run | Running the full pyramid before a PR (use test-full) | | Starting a watch-mode dev loop across the project | Triaging existing test results (use test-analyze) |
find . -maxdepth 1 \( -name 'pyproject.toml' -o -name 'package.json' -o -name 'Cargo.toml' -o -name 'go.mod' \)find . -maxdepth 1 -type d \( -name 'tests' -o -name 'test' -o -name '__tests__' -o -name 'spec' \)find . -maxdepth 1 -name 'package.json' -exec grep -A2 '"test"' {} +find . -maxdepth 1 -name 'pyproject.toml' -exec grep -A5 '\[tool.pytest' {} +$1: Optional test pattern or specific test file/directory--coverage: Enable coverage reporting--watch: Run tests in watch modeDelegate this task to the test-runner agent.
Use the Agent tool with subagent_type: test-runner to run tests with the appropriate framework. Pass all the context gathered above and the parsed parameters to the agent.
The test-runner agent should:
Detect project type and test framework:
Run appropriate test command:
Analyze results:
Provide concise summary:
Tests: [PASS|FAIL]
Passed: X | Failed: Y | Duration: Zs
Failures (if any):
- test_name: Brief error (file:line)
Coverage: XX% (if requested)
Suggest next actions:
Provide the agent with:
The agent has expertise in:
development
Debug HTTP APIs: trace requests, inspect headers. Use when a request fails: check status first.
documentation
Render architecture diagrams from text sources. Use when documenting system topology.
tools
Inspect JSON payloads and extract nested fields. Use when parsing API responses.
tools
--- name: no-description allowed-tools: Read --- # No Description This skill has no description and must be dropped with a warning.