rust-code-quality

Review Rust code quality across eight dimensions including async patterns and error handling.

11|Updated Nov 5, 2025
One-click install
npx skills add https://github.com/d-o-hub/rust-self-learning-memory --skill rust-code-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-code-quality
Source: https://github.com/d-o-hub/rust-self-learning-memory/tree/main/.claude/skills/rust-code-quality
Command: npx skills add https://github.com/d-o-hub/rust-self-learning-memory --skill rust-code-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill performs comprehensive Rust code quality reviews focusing on async patterns, error handling, testing, and architecture.

Core Features & Use Cases

  • Quality dimensions: project structure, error handling, async patterns, memory, testing, docs, type safety, security.
  • Analysis workflow: run checks for structure, patterns, dependencies, documentation and tests.
  • Output & guidance: provide actionable quality recommendations and checklists.

Quick Start

Run the quality assessment tool to generate a detailed report and remediation plan.

Frequently Asked Questions about rust-code-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a comprehensive Rust code quality review?

Comprehensive Rust code quality reviews systematically assess eight dimensions: project structure, error handling, async patterns, memory and performance, testing, documentation, type safety, and security. Run the quality assessment tool against your Rust project to generate a detailed report identifying gaps across all dimensions and receive actionable remediation recommendations.

What should I check when reviewing Rust async code with Tokio?

Async code reviews with Tokio should verify proper spawning patterns, correct use of await points, absence of blocking operations in async contexts, and task cancellation safety. The quality assessment evaluates async patterns specifically to catch architecture and performance issues common in Tokio-based projects.

How do I ensure proper error handling in Rust?

Error handling reviews examine Result and Option usage, propagation patterns, custom error types, and recovery logic across your codebase. The assessment checks error handling as a dedicated quality dimension to identify missing context, improper unwrapping, and inconsistent error strategies.

Can I use this tool to verify Rust security best practices?

Yes, security assessment is built into the quality review as one of eight dimensions. The tool identifies unsafe code usage, dependency vulnerabilities, data validation gaps, and type safety violations that create security risks in Rust projects.

What testing and documentation gaps does the quality review identify?

The assessment evaluates test coverage, test organization, missing documentation, and undocumented public APIs as separate quality dimensions. It provides checklists for reaching adequate testing and documentation standards across your Rust modules.

Does this quality review work with both synchronous and async Rust codebases?

Yes, the quality review adapts to async/Tokio patterns and synchronous architectures. It assesses all eight quality dimensions—structure, errors, async patterns, memory, testing, docs, type safety, security—regardless of whether your project uses async extensively or primarily synchronous code.