
Optimize Performance
- 1 installs
- 27 repo stars
- Updated April 25, 2026
- girijashankarj/cursor-handbook
Workflow to measure, profile, and apply backend performance improvements to a slow endpoint or function while preserving behavior.
About
Guides identifying and applying backend performance improvements by measuring and profiling before changing code. A developer uses it to speed up or reduce latency of an endpoint or function.
- Measure and profile before optimizing, no guessing
- Prefers indexing and query changes over app-level hacks
Optimize Performance by the numbers
- 1 all-time installs (skills.sh)
- Ranked #489 of 596 Debugging skills by installs in the Skillselion catalog
- Data as of Jul 22, 2026 (Skillselion catalog sync)
npx skills add https://github.com/girijashankarj/cursor-handbook --skill optimize-performanceAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 27 |
| Last updated | April 25, 2026 |
| Repository | girijashankarj/cursor-handbook ↗ |
What it does
Workflow to measure, profile, and apply backend performance improvements to a slow endpoint or function while preserving behavior.
Files
Skill: Optimize performance
Trigger
When the user asks to optimize, speed up, or reduce latency of an endpoint or function.
Steps
1. Measure — Identify the slow path (endpoint, query, or function); use existing metrics or add a quick timing log. 2. Profile — Pinpoint bottleneck (DB query, N+1, CPU, I/O); avoid guessing. 3. Design — Propose 1–2 concrete changes (index, batch, cache, algorithm); prefer smallest change first. 4. Implement — Apply the change; keep the same behavior. 5. Verify — Re-run the scenario and confirm improvement; run existing tests.
Rules
- Do not optimize without measuring first.
- Prefer indexing and query changes over application-level hacks.
- Follow project query patterns (parameterized, soft delete, pagination).