zhanghandong
Identifies and corrects common Rust anti-patterns like excessive clone, unwrap in production, and OOP-style Deref misuse.
Price
Free
Files
0
Rating
0.0
Reviews
0
Source
Source repo
About
Part of a layered Rust skills system (Layer 2: Design Choices), this skill helps identify code that fights the borrow checker rather than working with it. Covers the top 5 beginner mistakes (.clone() overuse, .unwrap() in production, String everywhere, index loops, fighting lifetimes) and provides idiomatic alternatives. Traces issues upstream to ownership design (m01, m09) and downstream to error handling patterns (m06).
By zhanghandong
Identity GitHub zhanghandong
What the agent sees
name
skills-sh-zhanghandong-rust-skills-m15-anti-pattern
description
Identifies and corrects common Rust anti-patterns like excessive clone, unwrap in production, and OOP-style Deref misuse.
Tags
Technical details
Source repo
Original GitHub link
Packaging note
Recent reviews
No reviews yet.