.claude/skills/review-tool-speed/SKILL.md
Review query tools for runtime optimization opportunities
npx skillsauth add cwilliams5/Alt-Tabby review-tool-speedInstall 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.
Enter planning mode. Investigate query tool runtime and find optimization opportunities.
The query tools (query_*.ps1 in tools/) are critical for keeping context bloat down and getting programmatic answers.
Research the query tools deeply. Write a plan for all optimizations found. Ignore any existing plans — create a fresh one.
Two tools in tools/ support this workflow. Use them — do not reinvent timing or golden-output infrastructure.
tools/bench_query.ps1 — Timing benchmarkRuns all query tools with representative args, reports external and internal timing.
powershell -File tools/bench_query.ps1 # 3 iterations, full report
powershell -File tools/bench_query.ps1 -InternalOnly # internal timing only
powershell -File tools/bench_query.ps1 -Iterations 5 # more iterations for stability
tools/verify_query.ps1 — Golden output capture & verificationCaptures tool output before changes, verifies output is unchanged after. Strips timing lines automatically. 22 test cases across all query tools.
powershell -File tools/verify_query.ps1 -Capture # save golden (prints dir path)
powershell -File tools/verify_query.ps1 -Verify <dir> # compare against golden
verify_query.ps1 -Capture and bench_query.ps1 for baselineverify_query.ps1 -Verify <golden-dir> — must passbench_query.ps1 — compare against baseline, no regressionstools
Create a new git worktree and switch the session into it
tools
Spawn agent to trace code flow via query tools — answer only, no context cost
tools
Commit, push, and create a PR for the current branch
tools
Retire a shader by moving its files to legacy/shaders_retired