performance
Skill10 starsChanged 30 days agoApache-2.0View on GitHub
Use when asked to investigate or measure runtime performance — profile a slow endpoint or query, hunt anti-patterns (N+1, bad query plans, algorithmic complexity, React re-render churn), judge whether code will scale at higher load or data volume, or load-test an API for latency/throughput against an SLO. A manual skill, not a gate.
- Installs packages
78 other projects use a version of this.
Adopted by
Most recently taken up by
- Stijnus/dsh-rev-engtheir own version, first seen Nov 8, 2026
- Mahesh-Bishnoi/skillstheir own version, first seen Nov 8, 2026
- AnyOrgName/php-skillstheir own version, first seen Nov 8, 2026
- daveebbelaar/bawatheir own version, first seen Nov 8, 2026
- cognitedata/builder-skillstheir own version, first seen Nov 4, 2026
- theexperiencecompany/gaiatheir own version, first seen Nov 3, 2026
Used with
Projects with it also use app-brief, design-from-app 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.
StijnusSkillapp-brief
One-page brief (docs/BRIEF.md) for a new macOS app, written before any code. Use when the user has an app idea, wants to replace an app they pay for, or the research and clone skills are done.
Also in 3 projects that use this
StijnusSkilldesign-from-app
Rebuild the look of an app the user likes as a native SwiftUI design kit, by measuring its screenshots (sizes, spacing, type, colors, icons), building its parts, and comparing pixel by pixel until they match. Use when the user names an app whose look they want, shares screenshots of one, or says "make it look like X".
Also in 3 projects that use this
FlorianBruniauxSkilltdd-rust
Also in 3 projects that use this
RodrigoTomeESSkillweb-quality-audit
Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".
Also in 9 projects that use this
launchapp-devSkilllayout-grid
Define responsive layout grid systems with columns, gutters, margins, and breakpoint behavior.
Also in 3 projects that use this
MohamedAbdallah-14Skillapp-icon
Generate an app icon from a single 1024² master and fan out to iOS (AppIcon.appiconset with squircle-ready 1024 opaque), Android (adaptive foreground + background + Android 13 monochrome), PWA (192/512 + 512 maskable with 80% safe zone), and visionOS (3-layer parallax).
Also in 3 projects that use this
- +1 more from Stijnus
Other versions78 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 78
- rtk-ai/rtk★ 86ksame name
- millionco/react-doctor★ 15ksame name
- midudev/preguntas-entrevista-react★ 7.8ksame name
- BuilderIO/agent-native★ 7.6ksame name
- ethereum/ethereum-org-website★ 6ksame name
- plugin87/ux-ui-agent-skills★ 3.1ksame name
- static-web-server/static-web-server★ 2.4ksame name
- daveebbelaar/bama★ 1.7ksame name
- lichtblick-suite/lichtblick★ 1.2ksame name
- theexperiencecompany/gaia★ 325same name
68 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 repository21 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- commitSkill
- design-apiSkill
- design-architectureSkill
- design-erdSkill
- design-sdsSkill
- design-srsSkill
- design-tableSkill
- doc-syncSkill
- flow-initSkill
- flowSkill
- flow-uninstallSkill
- harness-authoringSkill
- harness-deploymentsSkill
- harness-initSkill
- harness-insightSkill
- integrationSkill
- playwright-scaffoldSkill
- prose-reviewSkill
- release-commitSkill
- wiki-initSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 52 edited versions we read keep these.
0
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
- Very specific: line 32
If
docs/verification/performance.mdexists: read the stack list, SSOT, and tools from the file and run those sections. - Very specific: line 51
If multiple stacks are detected, run all of them.
- Very specific: line 89
Follow the report template in references/api-load.md.
- Very specific: line 95
Do not average percentiles (non-additive — see the statistical-conventions section of references/api-load.md)
“Common” is measured: kept by at least 6 in 10 of the 52 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
performance
Statically flags performance anti-patterns across the codebase and, when a backend exists, performs API load testing.
Interaction. Wherever this skill asks the user something, use the host's blocking question tool already in your tool list, matched by capability rather than by a host-specific name; if it is listed but not loaded, load it first with the host's tool-discovery primitive; only when no such tool is listed, or a question call errors, offer numbered options in chat and end your turn to wait for the reply — never answer the question yourself or skip it.
1. Stack Detection
First consume the host documentation; if none exists, fall back to the built-in catalog.
# Check for documentation generated by the host harness-researcher (Phase 4; consume first if present)
ls docs/verification/performance.md 2>/dev/null && cat docs/verification/performance.md- If
docs/verification/performance.mdexists: read the stack list, SSOT, and tools from the file and run those sections. Also independently run Automatic Stack Detection (below) — for any detected stack that the host doc does NOT mention, run that stack's fallback reference file too (the host doc may be stale or predate a newly added stack; do not silently skip undocumented stacks). - If
docs/verification/performance.mdis absent: fall back entirely to Automatic Stack Detection.
Automatic Stack Detection (fallback / gap-fill)
| Signal file/pattern | Detected stack | Reference file |
pyproject.toml / setup.py / *.py | Python | static-checks-python.md |
package.json (ORM/express in "dependencies") | Node.js | static-checks-node.md |
package.json (react/next) | React | static-checks-react.md |
pom.xml / *.java / build.gradle | Java/Hibernate | static-checks-java.md |
Gemfile / *.rb | Ruby | static-checks-ruby.md |
*.csproj / *.cs | .NET | static-checks-dotnet.md |
go.mod / *.go | Go | (no dedicated N+1 catalog yet) |
*.sql / DB-related migrations | DB | static-checks-db.md |
If multiple stacks are detected, run all of them. Always also run
static-checks-complexity.md (language-agnostic via lizard),
regardless of which stacks were detected.
2. Language-Specific Static Anti-Pattern Flagging
Authoritative catalogs (SSOT) — one file per stack, listed in the table in §1. Each stack's detection patterns live in its
references/static-checks-<stack>.md.
For each detected stack, open its reference file from §1's table and follow its detection commands and verification-delegated runtime tools. Every stack file follows the same shape: a detection-pattern table, the statically-safe grep/tool command, the correct fix, and the runtime tool to delegate final verification to.
DB query-plan caution patterns (SELECT *, function-wrapped WHERE, leading-wildcard LIKE, etc.) are
DB-engine-based, not language-based — always consult static-checks-db.md
when a DB is present, regardless of the application language.
3. API Load Analysis When a Backend Exists
The authoritative procedure =
references/api-load.md— OpenAPI spec discovery (§1), the openapi-to-k6 invocation (§2.1), and the report template (§3). Follow it exactly; both the spec paths and the CLI syntax have traps that re-deriving them inline reliably gets wrong.
Confirm BASE_URL — ask the user (structured choice) — before running any load — api-load.md §1
gathers candidates from several sources, but a guessed BASE_URL points load at the wrong host.
MIT fallback (when avoiding AGPL): oha, autocannon, vegeta — see references/api-load.md §2.2.
The iteration count (default 100) and SLO thresholds are the skill's defaults. If a team-specific load profile is needed, do not fork the skill; place it in the host's
docs/verification/performance.md(generated by the harness) so those values take precedence (config-driven principle).
3.1 Report Collection Criteria
Follow the report template in references/api-load.md. Key requirements:
- No mean alone — always report the p50/p95/p99 (+p99.9) distribution
- Include throughput (RPS) + concurrency (VU) + error rate
- State PASS/FAIL against the SLO explicitly
- Record measurement metadata: tool, version, load model, duration, whether warm-up was excluded, whether CO correction was applied
- Do not average percentiles (non-additive — see the statistical-conventions section of
references/api-load.md)
4. Report Format (Four Golden Signals skeleton)
## Performance Check Results — <date>
### Static Flagging Results
| Stack | Pattern | Location | Verdict | Recommendation |
|---|---|---|---|---|
| Python/Django | Suspected N+1 | users/views.py:42 | Needs review | Use select_related('profile') |
| React | Inline object prop | components/List.tsx:17 | Needs review | Memoize with useMemo |
> The items above are static-detection candidates — delegate the final verdict to a runtime tool.
### API Load Results (if applicable)
| Endpoint | p50 | p95 | p99 | RPS | VU | Error rate | SLO | Verdict |
|---|---|---|---|---|---|---|---|---|
| GET /users | 12ms | 45ms | 120ms | 850 | 10 | 0.0% | p99≤200ms | PASS |
| POST /orders | 80ms | 350ms | 890ms | 210 | 10 | 1.2% | p99≤500ms | FAIL |
**Measurement metadata**: openapi-to-k6 0.3.x + k6 0.52.x / iterations=100 per endpoint / VU=10 /
warm-up excluded (first 10 runs) / no CO correction / local execution (no network overhead)
### Golden Signals Summary
- **Latency**: …
- **Traffic**: …
- **Errors**: …
- **Saturation**: …References
references/static-checks-python.md— Python static anti-pattern catalog (N+1)references/static-checks-node.md— Node.js (Prisma/TypeORM) static anti-pattern catalog (N+1)references/static-checks-java.md— Java/Hibernate static anti-pattern catalog (N+1)references/static-checks-ruby.md— Ruby/Rails static anti-pattern catalog (N+1)references/static-checks-dotnet.md— .NET/EF Core static anti-pattern catalog (N+1)references/static-checks-react.md— React frontend re-render anti-pattern catalogreferences/static-checks-db.md— DB query-plan caution patterns (language-agnostic)references/static-checks-complexity.md— recursion/algorithmic complexity detection (language-agnostic, lizard)references/api-load.md— OpenAPI discovery + BASE_URL confirmation + openapi-to-k6/k6 + report standard
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.

