— No reviews yet
0 installs
5 views
0.0% view→install
Install
$ agentstack add skill-andrewsrigom-agent-skills-performance-triage-and-bottleneck-hunting ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of Performance Triage And Bottleneck Hunting? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
Performance Triage And Bottleneck Hunting
Use this skill when the real problem is finding the bottleneck, not prematurely applying optimizations.
Scope
- slow pages, routes, interactions, and API endpoints
- unclear ownership between network, server, database, render, and bundle cost
- deciding whether performance work belongs to Next.js, React, Node.js, or infrastructure
- turning vague “this feels slow” reports into measurable bottlenecks
Routing cues
- slow route, slow page load, high TTFB, bad interaction latency, render lag, hydration cost, p95 regression, or “where is the bottleneck” -> use this skill
- once the dominant cost is clearly React rerenders or state blast radius -> use
react-render-performance-and-state-boundaries - once the dominant cost is clearly Next.js route rendering, bundle, or client boundary cost -> use
nextjs-performance-and-render-cost - once the dominant cost is clearly API latency or server throughput -> use
nodejs-api-latency-and-throughput - once the bottleneck is already known and the task is measurement discipline -> use
profiling-before-optimizing
Default path
- Restate the user-visible symptom in one sentence.
- Choose one primary metric that represents the pain:
- route TTFB
- interaction latency
- slow API duration
- render or hydration time
- memory growth or CPU saturation
- Identify the likely owning layer before editing code:
- network and third-party
- server and database
- React render tree
- client bundle and hydration
- Measure one representative path end to end.
- Name the dominant bottleneck and only then route to the narrower optimization skill.
When to deviate
- Use synthetic benchmarks only when the real user path is unavailable or too noisy.
- Start with production telemetry when it already exists and the local reproduction is misleading.
- Split into multiple bottlenecks only when one path truly has more than one dominant cost center.
Guardrails
- Do not optimize before naming the metric and owning layer.
- Do not change several layers at once just because the app feels slow.
- Prefer the largest visible bottleneck over many tiny improvements.
- Keep user-facing latency separate from internal throughput or CPU efficiency.
Avoid
- “performance pass” edits without a bottleneck hypothesis
- mixing database, render, and bundle work in one optimization step
- treating p50 improvement as success when p95 is the real problem
- guessing the bottleneck from code style instead of measurement
Verification checklist
- the user-visible symptom is explicit
- one primary metric is chosen
- the likely owning layer is named
- a dominant bottleneck is identified before optimization starts
- the response routes to a narrower skill if triage is complete
Output Shape
When answering with this skill, prefer:
- symptom
- primary metric
- likely owning layer
- dominant bottleneck hypothesis
- next measurement or next specialized skill
References
- [Layer ownership checklist](./references/layer-ownership-checklist.md)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: andrewsrigom
- Source: andrewsrigom/agent-skills
- License: MIT
- Homepage: https://andrewsrigom.github.io/agent-skills/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.