actionbook-rust-skills
๐ชMarketplaceactionbook/rust-skills
AI-powered Rust development assistant plugin with meta-cognition framework that traces through cognitive layers for domain-correct architectural solutions
Overview
Rust Skills is a Claude Code plugin that transforms AI-assisted Rust development by applying a meta-cognition framework. Instead of providing surface-level fixes, it traces through cognitive layers to deliver domain-correct architectural solutions. The plugin addresses the common problem where AI suggests quick fixes (like .clone()) without considering domain constraints, replacing them with thoughtful, architecturally sound recommendations.
Key Features
- Meta-cognition framework with a three-layer cognitive model (Domain, Design, Mechanics) that ensures AI responses consider the full architectural context.
- Domain-aware solutions that trace ownership errors through business logic to recommend proper patterns like
Arc<T>instead of naive.clone()calls. - Real-time information via background agents that fetch the latest Rust versions and crate information during development.
- Multi-language documentation with README available in English, Chinese, and Japanese.
- Claude Code plugin integration for seamless installation and use within the Claude Code development workflow.
Who is this for?
This is for Rust developers who want AI assistance that goes beyond surface-level compiler error fixes to provide architecturally sound solutions. It is particularly valuable for developers working on complex systems like trading platforms, embedded systems, or any domain where ownership patterns must align with business requirements rather than just satisfying the borrow checker.
Add this Marketplace
/plugin marketplace add ZhangHanDong/rust-skillsPlugins in this Marketplace
More from this repository10
Provides comprehensive Rust coding guidelines covering naming conventions, best practices, error handling, memory management, concurrency, and code style recommendations.
A m07 concurrency skill from Rust development skills for building performant and safe systems.
A Rust performance optimization skill covering benchmarking, profiling, flamegraph analysis, criterion testing, SIMD, cache optimization, and allocation tuning for making Rust code faster.
A m06 error handling skill from Rust development skills for building performant and safe systems.
Guides developers in selecting the right smart pointer and resource management strategy based on ownership, thread safety, and design constraints.
Diagnoses and resolves Rust ownership, borrowing, and lifetime errors by tracing design choices and recommending targeted implementation strategies.
Enforces compile-time type safety by preventing invalid states through type-level design techniques like newtypes, type states, and phantom types.
Diagnoses and guides resolution of Rust mutability and borrowing conflicts by analyzing design patterns and recommending appropriate interior mutability strategies.
Guides developers in choosing zero-cost abstractions by analyzing type system errors and runtime polymorphism needs in Rust.
Guides domain modeling in Rust by helping identify entities, value objects, aggregates, and their ownership patterns with domain-driven design principles.