test
Skill3 starsChanged 30 days agoMITView on GitHub
Run tests, load benchmarks, coverage analysis, linting, and security scanning. Includes HTTP load testing with k6/wrk/hey/ab. Use when user says "run tests", "check coverage", "lint", "benchmark", "load test", "perf test", or wants to execute the project's test suite with results. For QA analysis of test gaps, use /review qa; for security auditing, use /audit; for writing test scenarios during planning, use /plan.
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 repository42 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- asideSkill
- assessmentSkill
- auditSkill
- benchmarkSkill
- brainSkill
- checkpointSkill
- cleanupSkill
- concise-modeSkill
- cross-modelSkill
- deploySkill
- designSkill
- explainSkill
- fix-issueSkill
- ganSkill
- guardSkill
- hotfixSkill
- incidentSkill
- infraSkill
- interview-meSkill
- investigateSkill
- migrateSkill
- module-auditSkill
- morningSkill
- onboardSkill
- planSkill
- profileSkill
- pr-summarySkill
- readmeSkill
- refactorSkill
- researchSkill
- resolveSkill
- respondSkill
- retroSkill
- reviewSkill
- session-logSkill
- setupSkill
- shipSkill
- skill-newSkill
- spikeSkill
- tddSkill
- zoom-outSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. 0 are common, 21 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 154 edited versions we read keep these.
21
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 56
Run and capture output.
- Distinctive: line 64
Run linters based on project configuration.
- Very specific: line 92
Run selected workflow with act push --container-architecture linux/amd64.
- Distinctive: line 121
Run and extract metrics:
- Distinctive: line 135
Compare mode: run once, wait for user signal, run again.
- Distinctive: line 147
Run the suite 5 times in sequence, capturing pass/fail status for each test.
- Distinctive: line 177
Never run this against production endpoints.
- Distinctive: line 178
If the test suite takes more than 60 seconds per run, reduce to 3 runs and note the limitation.
- Distinctive: line 179
Do not apply a fix or a deletion automatically.
- Distinctive: line 189
Read the target file(s).
- Distinctive: line 191
Check for existing test files.
- Distinctive: line 193
Read existing test files in the same module for patterns.
- Very specific: line 194
Follow rules/testing.md: three blocks opened by the bare Arrange, Act, Assert markers and no other comment, faker for data, real database.
- Distinctive: line 203
Always detect package manager and test runner from project config.
- Distinctive: line 204
Never install test dependencies without asking.
- Very specific: line 205
Never modify test files during test execution, only stubs generates files.
- Distinctive: line 206
Never run perf tests against production URLs without explicit confirmation.
- Distinctive: line 207
Always validate perf target is reachable before load testing.
- Distinctive: line 208
Always clean up temporary files.
- Distinctive: line 209
Default perf to safe values, 1000 requests, 10 concurrency.
- Distinctive: line 211
If no test config exists, say so and stop.
- Distinctive: line 222
Stop and say no test configuration exists when detection finds no runner.
- Distinctive: line 223
Stop and ask before installing a missing test dependency or tool.
- Distinctive: line 224
Stop and confirm the target when a perf URL resolves to a production host.
- Very specific: line 225
Stop and present the fix-or-delete list for approval before any flaky test changes, and never add .skip or xit.
“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
Overview
Unified testing skill covering test execution, load testing, coverage, linting, and scanning.
When to Use
- The user says "run tests", "check coverage", "lint", "benchmark", "load test", or "perf test".
- A change needs fresh suite, lint, or coverage output as completion evidence.
- An endpoint needs throughput and latency numbers under load.
- A test fails intermittently and needs a flake rate.
For QA analysis of test gaps, use /review qa; for a full security audit, use /audit; for a single test-first cycle, use /tdd.
Process
Pick the row that matches the invocation, then follow that subcommand's section below.
| Invocation | Action |
/test | Run the full test suite (default) |
/test <path> | Run tests matching a file or pattern |
/test --coverage | Run with coverage reporting |
/test --watch | Run in watch mode |
/test lint | Run linters |
/test scan | Security vulnerability scanning |
/test ci | Simulate CI locally with act |
/test perf <url> | Load test an HTTP endpoint |
/test stubs <path> | Generate test stubs for uncovered code |
/test flaky | Detect flaky tests by running the suite multiple times |
Test Execution (default)
Package Manager Detection
bun.lock/bun.lockb = bun, pnpm-lock.yaml = pnpm, yarn.lock = yarn, package-lock.json = npm, which is converted to pnpm with pnpm import before running anything, Cargo.toml = cargo, go.mod = go, pyproject.toml with uv.lock = uv, pyproject.toml with [tool.poetry] = poetry, pyproject.toml/requirements.txt = pip. Also check Makefile/Justfile for test targets.
Test Runner Detection
- Node.js:
vitest.config.*or vitest in devDeps,jest.config.*or jest in devDeps,mochain devDeps. - Rust:
cargo test. Go:go test ./.... Python: look forpytest.ini,pyproject.tomlwith[tool.pytest]. - Shell: check for
shellcheck.
Steps
- Detect package manager and test runner.
- Build command: base command + path/pattern +
--coverageor--watchflags. - Run and capture output.
- Parse: passed, failed, skipped counts. Coverage summary if requested.
- Present: pass count, failures with error messages and file locations, coverage if applicable.
lint
Run linters based on project configuration.
- Node.js:
package.jsonlint script. - Go:
golangci-lint run. - Shell:
shellcheckon.sh/.zshfiles. - Python:
ruff check .orflake8. - GitHub Actions:
actionlinton workflow files.
scan
Deep security scanning with available tools.
trivy fs .for dependency + config vulnerabilities.snyk test+snyk code test.gitleaks detect --source .for leaked secrets.
Report results from whichever tools are installed. List missing tools if none available.
ci
Simulate CI locally with act.
- Verify
actinstalled. act --listto show workflows.- Run selected workflow with
act push --container-architecture linux/amd64.
perf
Load test HTTP endpoints. Auto-detects the best available tool.
Arguments
- A URL is required: endpoint to test.
-n <requests>: total requests (default: 1000).-c <concurrency>: concurrent connections (default: 10).-d <duration>: test duration (e.g.30s). Overrides-n.--method <METHOD>: HTTP method (default: GET).--body <json>: request body.--header <key:value>: custom header, repeatable.--compare: run twice with a pause for changes between runs.--script <path>: custom k6 script.
Steps
- Parse arguments. Validate target with a single request.
- Detect tool, preference order: k6, wrk, hey, ab.
- Build command:
- k6: generate temp script with VUs, duration/iterations, headers, body. Run with
--summary-trend-stats. - wrk:
wrk -t<threads> -c<concurrency> -d<duration> <url>. Lua script for POST. - hey:
hey -n <n> -c <c> -m <method> <url>. - ab:
ab -n <n> -c <c> <url>. Temp file for POST body.
- k6: generate temp script with VUs, duration/iterations, headers, body. Run with
- Run and extract metrics:
| Metric | Description |
| Total requests | Completed |
| Failed requests | Non-2xx or connection errors |
| Requests/sec | Throughput |
| Latency avg | Mean response time |
| Latency p50 | Median |
| Latency p95 | 95th percentile |
| Latency p99 | 99th percentile |
| Transfer rate | Data throughput |
- Flag: p99 > 1s, error rate > 1%.
- Compare mode: run once, wait for user signal, run again. Side-by-side comparison with percentage changes.
- Clean up temp files.
flaky
Detect flaky tests by running the full suite multiple times and tracking which tests have inconsistent results.
Steps
- Detect the test runner and build the test command with no watch mode.
- Run the suite 5 times in sequence, capturing pass/fail status for each test.
- Track per-test consistency: a test is flaky if it fails in at least 1 run and passes in at least 1 run.
- Rank by flake rate. Every flaky test is fixed or deleted in this change, per
rules/testing.md; the rate only orders the work, highest first. A skip, a quarantine, or a later pass is never the outcome. - Report results:
## Flaky Test Report: <date>
### Summary
- Suite runs: 5
- Total tests: <N>
- Consistently passing: <N>
- Flaky (inconsistent): <N>
- Consistently failing: <N>
### Flaky Tests
| Test | Fail Rate | Category | Root Cause Hint |
|------|----------|---------|-----------------|
| <test name> | 2/5 = 40% | fix | timing dependency suspected |
### Fix or Delete
Each flaky test with its proposed action: a fix for the named root cause, or deletion when the test asserts nothing a user would notice. Never `.skip` or `xit`.- For each flaky test, suggest likely root causes: shared mutable state, hardcoded ports, timing, unseeded random, missing database cleanup.
Rules
- Never run this against production endpoints.
- If the test suite takes more than 60 seconds per run, reduce to 3 runs and note the limitation.
- Do not apply a fix or a deletion automatically. Present the list and wait for approval.
stubs
Generate test file stubs for code that lacks tests.
Steps
- Read the target file(s).
- Identify all exported functions, classes, and methods.
- Check for existing test files. Skip already-tested exports.
- Generate a test stub per untested export following project conventions:
- Read existing test files in the same module for patterns.
- Follow
rules/testing.md: three blocks opened by the bareArrange,Act,Assertmarkers and no other comment, faker for data, real database. - Include one happy-path test and one error-path test. Edge cases are listed in the approval message, never as a marker comment in the file.
- Present stubs for approval before writing.
- After writing, run the test suite. Every stub carries a real assertion whose expected value comes from the spec or a worked example, never a
TODOplaceholder. A stub whose expected value is unknown is not written; it goes in the approval message as a question.
Rules
- Always detect package manager and test runner from project config.
- Never install test dependencies without asking.
- Never modify test files during test execution, only
stubsgenerates files. - Never run perf tests against production URLs without explicit confirmation.
- Always validate perf target is reachable before load testing.
- Always clean up temporary files.
- Default perf to safe values, 1000 requests, 10 concurrency.
- Show exact commands so user can reproduce manually.
- If no test config exists, say so and stop.
Common Rationalizations
- "The last run passed, so report it": evidence comes from a run in this session. Rerun and read the exit code.
- "Reading the last lines of output is enough": a summary line can hide one failure above it. Gate on the exit code, then grep for
passed|failed. - "One flaky failure is noise, rerun until green": a test that fails once in five runs is flaky by the definition in
flaky. Report it with its rate. - "The URL looks like staging": a hostname proves nothing. Treat a URL you cannot classify as production and ask before the perf run.
Red Flags
- Stop and say no test configuration exists when detection finds no runner.
- Stop and ask before installing a missing test dependency or tool.
- Stop and confirm the target when a perf URL resolves to a production host.
- Stop and present the fix-or-delete list for approval before any flaky test changes, and never add
.skiporxit.
Verification
- The exact command that ran is shown, so the user can rerun it.
- The reported pass, fail, and skip counts match the runner's own summary, and the exit code is stated.
- Warnings and deprecations in the output are listed, or the report says there were none.
- Perf runs report every metric in the table, and temp scripts and payload files are deleted.
Related skills
/ship-- Commit after tests pass./review qa-- QA analysis for coverage gaps./audit scan-- Security vulnerability scanning.
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.

