m15-anti-pattern
๐ฏSkillfrom goooice/rust-skills
Identifies and guides developers to replace common Rust anti-patterns with idiomatic, safe, and performant code design practices.
Part of
goooice/rust-skills(35 items)
Installation
/plugin marketplace add ZhangHanDong/rust-skills/plugin install rust-skills@rust-skillsnpx skills add ZhangHanDong/rust-skillsgit clone https://github.com/ZhangHanDong/rust-skills.gitSkill Details
"Use when reviewing code for anti-patterns. Keywords: anti-pattern, common mistake, pitfall, code smell, bad practice, code review, is this an anti-pattern, better way to do this, common mistake to avoid, why is this bad, idiomatic way, beginner mistake, fighting borrow checker, clone everywhere, unwrap in production, should I refactor, ๅๆจกๅผ, ๅธธ่ง้่ฏฏ, ไปฃ็ ๅผๅณ, ๆไฝณๅฎ่ทต, ๅฐ้ๅๆณ"
More from this repository10
Optimizes code performance by identifying bottlenecks, measuring impact, and guiding strategic improvements across algorithm, data structure, and memory efficiency.
Applies the M14 mental model framework to enhance decision-making and strategic thinking through structured cognitive analysis.
Guides developers in choosing zero-cost abstractions by analyzing type system constraints and performance trade-offs in Rust generics and traits.
Performs parallel three-layer meta-cognitive analysis by forking subagents to simultaneously analyze language mechanics, design choices, and domain constraints, then synthesizing results.
Identifies and reviews unsafe Rust code patterns, FFI risks, and potential memory unsafety in Rust projects.
Dynamically generates Claude skills for Rust crates, standard library modules, and documentation by extracting and processing technical details from specified URLs.
Provides comprehensive Rust coding guidelines covering naming conventions, best practices, error handling, memory management, concurrency, and code style recommendations.
Performs safe Rust refactoring by analyzing symbol references, checking conflicts, and applying changes across project files using LSP.
Diagnoses and guides resolution of Rust mutability and borrowing conflicts by analyzing ownership, mutation patterns, and thread-safety requirements.
Explores and demonstrates type-driven development techniques in Rust, showcasing advanced type system features and pattern matching strategies.