zhanghandong

Anti-Patterns

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

rustcode-reviewanti-patternsownershipborrow-checkeridiomaticTools: skills-cli, external-adapter, upstream-install

Technical details

Source repoOriginal GitHub linkPublisher site

Packaging note

Imported from the public skills.sh trending snapshot fetched at 2026-03-18T00:58:16.450Z. Snapshot rank #234 with 2300 weekly installs. Bundle files are not mirrored into Forgedemy.

Recent reviews

No reviews yet.