songjiun10-collab/senior-thinking-skills/measure-before-optimizing
Verify a bottleneck exists before touching performance. Use before any caching, memoization, query rewrite, algorithm swap, or "this seems slow" change; when a spec sets a performance target or Core Web Vitals threshold; when a user reports slowness; or when a PR bundles a performance claim with no before/after number. Skip for a fix where the bottleneck is already obvious from the code itself (e.g. an accidental O(n²) on a hot path).
Agent skill · version 0.0.0-main.1795927715.g11b452e · from songjiun10-collab/Senior-thinking-skills
Install
npx yarkr-cli add skill:songjiun10-collab/senior-thinking-skills/measure-before-optimizingWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:songjiun10-collab/senior-thinking-skills/measure-before-optimizing
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:songjiun10-collab/senior-thinking-skills/measure-before-optimizingOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:songjiun10-collab/senior-thinking-skills/measure-before-optimizingWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.