Rust Implement
Multi-pass Rust workflow that designs types first, implements, simplifies, then runs an automated lint against the code.
- CCM score
- 56 of 100
- skills.sh installs
- 260
- GitHub stars
- 228
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers four passes: design types and signatures, implement bodies, simplify by removing unused code, and verify with a lint script
- Includes nine transformations, such as
.context()on every?, enums over booleans, andBTreeMapfor serialized output - Enforces exhaustive match arms,
thiserrorfor library errors andanyhowfor application code, and no lock guards held across.await - Designed for writing new Rust functions, structs, modules, and async or error-handling features
Install
$ npx -y skills add pproenca/dot-skills --skill rust-implement -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Rust Implementation Discipline
Write code in passes. Experts don't produce perfect code in one shot -- they design, implement, review, and simplify. Follow this process for every module you write.
Pass 1: Design Types and Signatures
Before writing any implementation, write ONLY the type definitions and function signatures. No bodies. No logic.
Ask yourself these questions before moving on:
- Can any enum state represent an invalid combination? If yes, restructure so invalid states are unrepresentable.
- Are all parameters self-documenting? Replace
boolparams with enums (Transformation 2). - Does every struct that will be serialized or compared use
BTreeMap, notHashMap(Transformation 3)? - Do config structs derive
Default(Transformation 6)? - Would a caller confuse the order of String parameters? Use newtypes.
- Does any struct have 2+
Option<T>fields where only one combination is valid at a time? Convert to an enum (Transformation 8). - Does any function take 4+ parameters? Replace with an args struct (Transformation 9).
Do not proceed to Pass 2 until the types are right. Types are the architecture.
Pass 2: Implement
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Rust, Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the rust-implement skill do?
The rust-implement skill writes production-grade Rust code in passes: it designs types and signatures first, then implements the bodies, simplifies the result, and verifies it with a bundled lint script. It applies rules such as adding context to every error propagation, preferring enums over booleans, and handling async and ownership decisions. It is triggered when writing new Rust functions, structs, modules, or features.
How do I install the rust-implement skill?
Run npx -y skills add pproenca/dot-skills --skill rust-implement -y in your project to install it. Once installed, the agent follows the multi-pass process whenever you ask it to write new Rust code.
Where does rust-implement rank among Rust skills?
rust-implement ranks in the top 100 on the Rust category page on Claude Marketplaces. Other skills in the category that lead it include fix-errors, rust-best-practices, rust-async-patterns, rust-testing, and rust-patterns, while rust-implement focuses on the design-implement-simplify-verify workflow for new code.
More from pproenca/dot-skills
All 100- Domain Architect254
- Exec Plan243
- Graph Schema243
- Framer Motion Best Practices187
- Rust124
- Vitest8.4K
- Zod7.5K
- React Hook Form3.2K
- Emilkowal Animations2.8K
- Nuqs2.5K
- Clean Architecture2.1K
- Typescript1.8K
- Code Simplifier1.7K
- Expo React Native Performance1.5K
- Nextjs1.2K
- Framer Motion1.2K
- Playwright1.2K
- Wxt Browser Extensions1.1K
- Tanstack Query1.1K
- Msw926
- Clean Code879
- Terminal Ui879
- Ui Design844
- Typescript Refactor820
Similar to Rust Implement
More Rustrust-write-testsSkillpproenca/dot-skills262 installsExpert Rust testing guide covering the "What Could Break?" framework, five test transformations, and flake hunting.
rust-refactorSkillpproenca/dot-skills336 installsDecision frameworks and six transformation patterns for simplifying, splitting, and migrating working Rust code.
clippyPluginTheBushidoCollective/han201 starsComprehensive Clippy skills for Rust linting and code quality with lint configuration, categories, and custom lint development.
rust-engineerSkilljeffallan/claude-skills7.1K installsIdiomatic Rust engineering skill covering ownership, lifetimes, traits, async tokio, and error handling.
rust-skillsSkillleonardomso/rust-skills8K installsComprehensive Rust coding guidelines with 265 rules across 26 categories for writing and reviewing code.
m05-type-drivenSkillactionbook/rust-skills3.9K installsRust type-driven design patterns that make invalid states unrepresentable at compile time.