skills/perf-optimization-cycle/SKILL.md
Structured performance optimization workflow: edit, benchmark, compare, decide (keep/revert). Prevents common anti-patterns like over-tuning, re-deriving known results, and missing reverts.
npx skillsauth add MansoorMajeed/Clawd perf-optimization-cycleInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Disciplined workflow for performance optimization that prevents wasted effort and ensures every change is measured.
For each optimization attempt, follow this exact sequence:
State what you expect to improve and roughly why. If you can't articulate a clear hypothesis, stop and think more before coding.
Make the minimal change to test the hypothesis. One concept per attempt — do NOT bundle multiple ideas.
Run cargo test (or equivalent). If tests fail, fix or revert immediately. Never benchmark broken code.
Run the benchmark 3 times, record all 3 results and the median. Use the same benchmark command every time within a session.
git checkout -- <files>. Record as "no measurable effect" in memory.After each attempt, update the project memory file with:
- <description>: <before>ms → <after>ms (<percent>%) — kept/reverted
Only look at assembly when:
Use: cargo asm --rust qoaudio::function_name or equivalent disassembly tool.
At the end of an optimization session:
cargo fmt appliedperf: prefixtools
Allows to interact with web pages by performing actions such as clicking buttons, filling out forms, and navigating links. It works by remote controlling Google Chrome or Chromium browsers using the Chrome DevTools Protocol (CDP). When Claude needs to browse the web, it can use this skill to do so.
development
Update llm-context/ and CLAUDE.md to reflect recent code changes.
tools
Remote control tmux sessions for interactive CLIs (python, gdb, etc.) by sending keystrokes and scraping pane output.
development
Fetch a URL or convert a local file (PDF/DOCX/HTML/etc.) into Markdown using `uvx markitdown`, optionally it can summarize