ln-31-performance-optimizer

Installation
SKILL.md

Performance Optimizer

Goal: Optimize only measured problems. Preserve correctness, isolate experiments, and retain a change only when comparable evidence shows that it improves the agreed metric without unacceptable regressions.

Execution contract: Treat the ordered checkbox workflow below as this skill's Definition of Done. Work through every item in order, and mark it complete only when its action and required evidence are complete. N/A, skipped, unavailable, or delegated items remain incomplete. Before returning, apply this skill's verdict, decision, and approval rules to every incomplete item and prepend Checklist: X/Y completeIncomplete: None | section/item — reason; outcome impact; exact next action; list every incomplete item.

Tool Routing

Need Preferred tool Use it when Fallback
Repository state and safe edit boundary Git status, diff, branch or worktree inspection, and repository instructions Always before profiling or editing Stop if user changes cannot be isolated safely
Baseline and final metric Existing benchmark, load test, reproducible command, or production-like replay The metric and workload reflect the reported problem Create the smallest local benchmark that reproduces the behavior without inventing production scale
Bottleneck evidence Existing profiler, tracing, query diagnostics, allocation tools, or OS-level metrics Locating CPU, memory, I/O, lock, query, network, or scheduler cost Targeted instrumentation with cleanup plan
Code path and blast radius Language server or host-native code intelligence Following hot symbols, callers, implementations, and affected contracts Narrow search plus direct inspection of definitions and consumers
Correctness and regressions Repository-defined tests, build, lint, type, and smoke commands Before and after every retained experiment Add a focused safety test when current coverage cannot detect the likely regression
Runtime and dependency semantics Official documentation, release notes, and specifications matching installed versions A hypothesis depends on optimizer, runtime, database, framework, or library behavior Primary-source web research; otherwise mark the hypothesis UNVERIFIED
Independent challenge One native subagent or advisor when policy and scope allow Competing hypotheses, unfamiliar runtime behavior, or high-risk change needs independent scrutiny Separate adversarial hypothesis review
Installs
18
GitHub Stars
522
First Seen
14 days ago
ln-31-performance-optimizer — levnikolaevich/claude-code-skills