rust-quality

Enforce idiomatic Rust code quality across libraries, binaries, async, and unsafe code.

6|3|Updated Jun 25, 2026
One-click install
npx skills add https://github.com/dollspace-gay/crosslink --skill rust-quality-dollspace-gay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-quality
Source: https://github.com/dollspace-gay/crosslink/tree/main/crosslink/resources/claude/skills/rust-quality
Command: npx skills add https://github.com/dollspace-gay/crosslink --skill rust-quality-dollspace-gay

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rust code that compiles often still suffers from non-idiomatic patterns, unhandled error cases, unsafe code gaps, missing tests, and poor documentation, leading to bugs, maintenance overhead, and unreliable releases. This skill eliminates those gaps by enforcing proven Rust best practices across every stage of development.

Core Features & Use Cases

  • Idiomatic API Design: Enforces Rust API Guidelines for consistent, intuitive public interfaces.
  • Strict Error Handling: Mandates proper Result usage, thiserror for libraries, anyhow for binaries, and complete error documentation.
  • Lint & Safety Compliance: Enforces clippy rules, requires SAFETY comments for all unsafe blocks, and mandates miri testing for crates using unsafe code.
  • Async & Testing Standards: Covers tokio structured concurrency rules, unit/integration/doctest requirements, and snapshot/benchmark testing practices.
  • Use Case: Use this skill when writing new Rust crates, reviewing PRs for Rust projects, refactoring legacy Rust code, or designing Rust library APIs to ensure code is shippable, not just compilable.

Quick Start

Use the rust-quality skill to review your Rust web server crate for clippy compliance, proper error handling, and safe async task spawning practices.

Frequently Asked Questions about rust-quality

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

FAQPage Schema
How do I enforce idiomatic Rust code quality in my library or binary crate?

Enforce idiomatic Rust code quality by applying Rust API Guidelines, using thiserror for libraries and anyhow for binaries, and running clippy lints to ensure production-ready, shippable code.

What is the best way to handle errors in a Rust web server crate?

Handle errors in a Rust web server crate by mandating proper Result usage, applying anyhow for binaries, enforcing structured concurrency rules, and documenting complete error cases for reliable releases.

Does this Rust code review approach work with async and no_std environments?

Yes, this Rust code review approach works with async and no_std environments by enforcing tokio structured concurrency rules and applying idiomatic best practices across all crate types.

How do I validate unsafe Rust code blocks for safety and compliance?

Validate unsafe Rust code by requiring SAFETY comments for all unsafe blocks, enforcing clippy lint discipline, and mandating miri testing for crates using unsafe code to eliminate memory gaps.

Why does my Rust code compile but still fail production readiness checks?

Rust code compiles but fails production checks when it suffers from non-idiomatic patterns, unhandled error cases, missing tests, and poor documentation, requiring strict lint and rustdoc enforcement.