When you read source code, some patterns hide real problems. This guide helps you spot the difference between a quick fix and a deep design issue. You will learn to recognize common mistakes like using .clone() everywhere or .unwrap() in production. These choices can lead to runtime crashes or slow performance. The skill shows you better ways to write your code.
Think of it as a checklist for code reviews. You can ask if the code fights the language or flows with it. Instead of cloning to escape the borrow checker, use proper references. Instead of unwrapping because it should never fail, handle errors with the ? operator. Each anti-pattern has a clear fix.
New Rust developers often fall into these traps. This skill ranks the top five beginner mistakes and explains how to fix them. It also traces each bad pattern to deeper ownership or design problems. You will learn to refactor confidently and write cleaner Rust code.
Global
mkdir -p ~/.claude/skills/m15-anti-patternProject
mkdir -p .claude/skills/m15-anti-patternSource Repository
Improve Codebase Architecturemattpocock/skills
Scan your codebase for architecture improvements with visual reports and pick one to refactor
Web Design Guidelinesvercel-labs/agent-skills
Review your UI code for compliance with web interface guidelines
Caveman Reviewjuliusbrussee/caveman
Ultra-compressed one-line code review comments that cut noise
Zoom Outmattpocock/skills
Get a big picture view of your code with a simple map of modules and callers
Codebase Designmattpocock/skills
Create deep modules with tiny interfaces and lots of hidden logic for testability
Requesting Code Reviewobra/superpowers
Catch code issues early with focused automated reviews before every merge
Request Refactor Planmattpocock/skills
Plan safe code refactors with tiny commits and clear GitHub issues
Receiving Code Reviewobra/superpowers
Think first, then code. Verify feedback before making changes. Stay objective