rust-polyglot-conventions
OfficialEnforce Rust coding standards.
Authorkreuzberg-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces a consistent and high-quality set of Rust coding conventions, ensuring maintainability, readability, and robustness across projects.
Core Features & Use Cases
- Standardized Naming: Enforces PascalCase for types, snake_case for functions/variables, and SCREAMING_SNAKE_CASE for constants.
- Robust Error Handling: Mandates the use of
Result<T, Error>and the?operator, avoiding.unwrap()in production. - Asynchronous Best Practices: Promotes Tokio for async operations and provides
_syncwrappers. - Memory Management: Encourages
Arcfor shared ownership andMutex/RwLockfor interior mutability. - Performance Optimization: Suggests
ahashfor HashMaps andlazy_static/once_cell. - Zero Warnings: Ensures
cargo clippy -- -D warningspasses. - Use Case: Ensure all new Rust code adheres to the established project guidelines for consistency and quality.
Quick Start
Apply the rust-polyglot-conventions skill to review the current Rust codebase for adherence to standards.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rust-polyglot-conventions Download link: https://github.com/kreuzberg-dev/html-to-markdown/archive/main.zip#rust-polyglot-conventions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.