npx claudepluginhub kiringyj/claude-workbench --plugin rustThis skill uses the workspace's default tool permissions.
Profile and optimize a slow Rust operation.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Designs, implements, and audits WCAG 2.2 AA accessible UIs for Web (ARIA/HTML5), iOS (SwiftUI traits), and Android (Compose semantics). Audits code for compliance gaps.
Profile and optimize a slow Rust operation.
Core constraint: never let a single profiling run exceed 2 minutes.
Baseline profiling run — build in release mode and measure:
cargo build --release 2>&1
cargo bench 2>&1 | head -50
If no benchmarks exist, time the target binary directly:
time cargo run --release -- <args>
Analyze profile — identify:
Identify all optimization opportunities — list everything before implementing:
&str over String, reuse buffersHashMap vs BTreeMap)collect() + loop with chained iteratorsrayon for CPU-bound work where applicablefind, any, take_whileImplement all optimizations in one pass. Follow existing code conventions.
Verify tests pass:
cargo fmt --all
cargo clippy --tests -- -D warnings
cargo test
Measure improvement — re-run profiling, compare to baseline.
Iterate — repeat steps 2-6 until no new opportunities are visible.
--release), never debug builds.