From sc-rust
Analyzes the Rust codebase for idiomatic Rust gaps, ownership pattern issues, and design opportunities, then produces a prioritized improvement plan. Covers proper error handling (anyhow/thiserror, ? operator), iterator chaining over manual loops, trait-based design, builder pattern, newtype pattern, excessive cloning, unwrap() in non-test code, and async correctness. Use when the user says "how can I improve this", "is this idiomatic Rust", "find anti-patterns", "code quality", "refactoring suggestions", "too many clones". Do NOT use for performance (web-optimize), data layer (data-optimize), edition migration (legacy), or line-by-line code review (aidd-dev:05-review).
How this skill is triggered — by the user, by Claude, or both
Slash command
/sc-rust:improveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reads the Rust codebase, identifies idiomatic Rust gaps and design pattern opportunities, then produces a prioritized improvement plan with concrete before/after examples.
Reads the Rust codebase, identifies idiomatic Rust gaps and design pattern opportunities, then produces a prioritized improvement plan with concrete before/after examples.
| # | Action | Role | Input |
|---|---|---|---|
| 01 | analyze | Read codebase, identify anti-patterns and improvement opportunities | path or file list |
| 02 | plan | Produce a prioritized improvement plan with before/after examples | analyze findings |
Always sequential: analyze → plan.
analyze reads the codebase structure, identifies patterns and anti-patterns per category, emits findingsplan prioritizes findings, groups by effort/impact, writes a concrete improvement planNever skip plan after analyze.
aidd-dev:02-implement's role).unwrap() on fallible operations > style preferences; excessive Arc<Mutex<>> > naming conventions.unwrap() in test code — it is intentional and conventional.npx claudepluginhub rebellioussmile/my-claude-marketplace --plugin sc-rustGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.