performance

Solid

Stack-agnostic performance: measure first, find the bottleneck, then optimise. N+1, needless allocation, wrong async boundary, missing index/cache, heavy payload. No premature optimisation.

AI & Automation 22 stars 4 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
95
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Performance <!-- routing-eval reads this line; it lives in the BODY so the always-on skill LISTING stays inside Claude Code's budget (1% of the context window) — an overflowing listing gets descriptions truncated or dropped, which strips the very keywords a match depends on. --> Trigger phrases: "performance", "slow", "optimization", "profiling", "N+1", "latency", "memory leak", "load test" Core rule: **measure first, optimize later.** Optimization without measurement is a guess; it usually speeds up the wrong place and adds complexity. Stack-agnostic; do a web search when you need the profiling tool/library. ## Method (in order) 1. **Set a target** — what is "acceptable"? (p95 latency, throughput, memory ceiling). Numeric. 2. **Measure** — find the real bottleneck with a profiler/APM/benchmark; don't start from a guess. 3. **Fix the single most expensive thing** — Amdahl: speeding up a 5% path by 2x is wasted; target the hot path. 4. **Measure again** — did it actually improve, is there a regression. 5. **Stop** — once you hit the target, finish; no endless micro-optimization. ## Common bottlenecks Catalog of common bottlenecks + fixes to consult: **`references/bottlenecks.md`**. ## Measurement tips - Measure **under load** (a single request misleads); with a realistic data volume. - **Not p50, but p95/p99** — tail latency is what burns the user. - Don't trust micro-benchmarks; an end-to-end profile is more honest. ## Invariant rules 1. **Don't optimize wi...

Details

Author
byerlikaya
Repository
byerlikaya/claude-starter-kit
Created
1 months ago
Last Updated
yesterday
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category