The m10-performance skill guides developers through systematic performance optimization by establishing whether optimization is necessary before implementing solutions. It maps performance goals—such as reducing allocations, improving cache efficiency, and parallelizing workloads—to specific design choices and implementation techniques in Rust, while emphasizing measurement through profiling and benchmarking tools like criterion and flamegraph. The skill traces constraints from business requirements down to low-level implementation decisions, helping developers identify actual bottlenecks and understand the complexity-versus-speed trade-offs involved in optimization.
npx skills add https://github.com/zhanghandong/rust-skills --skill m10-performance