Rust Conventions

Community

Standardize Rust code in stupid-db.

AuthorFrancisVarga
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces consistent and idiomatic Rust coding practices across the stupid-db project, improving code quality, maintainability, and developer collaboration.

Core Features & Use Cases

  • Cargo Workspace Management: Defines a standardized structure for managing multiple Rust crates.
  • Error Handling Patterns: Promotes the use of thiserror for libraries and anyhow for binaries.
  • Logging Standards: Mandates the use of the tracing crate for all logging.
  • Async Best Practices: Guides on using tokio for I/O and rayon for CPU-bound tasks.
  • Trait Design: Recommends async methods for pluggable components.
  • Testing Conventions: Outlines clear strategies for writing effective unit and integration tests.
  • Module Organization: Provides a clear directory structure for crates.

Quick Start

Apply the Rust Conventions skill to ensure all new Rust code adheres to the project's established patterns.

Dependency Matrix

Required Modules

None required

Components

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 Conventions
Download link: https://github.com/FrancisVarga/stupid-db/archive/main.zip#rust-conventions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.