跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
浏览器与自动化

optimize-performance

Workflow for identifying and applying backend performance improvements. Use when the user asks to optimize, speed up, or reduce latency.

girijashankarj · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add girijashankarj/cursor-handbook --skill optimize-performance

技能说明


name: optimize-performance description: Workflow for identifying and applying backend performance improvements. Use when the user asks to optimize, speed up, or reduce latency.

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).