rust

Standardize Rust coding conventions for error handling, filesystem operations, and cross-platform layout.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/qol-tools/qol-skills --skill rust-qol-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust
Source: https://github.com/qol-tools/qol-skills/tree/main/plugins/qol-dev-conventions/skills/rust
Command: npx skills add https://github.com/qol-tools/qol-skills --skill rust-qol-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardize Rust coding practices across the workspace to reduce inconsistency, improve maintainability, and guide safe, predictable behavior in build and runtime code.

Core Features & Use Cases

  • Error-handling standards for Result and Option with consistent propagation and logging.
  • Filesystem and path handling guidelines, including cross-platform abstractions and safe IO patterns.
  • Project layout and module organization guidelines to promote readability and scalable architectures.
  • References to related skills in the QoL ecosystem for broader context and reuse.

Quick Start

Follow these Rust guidelines when implementing in this workspace.

Frequently Asked Questions about rust

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

FAQPage Schema
What are the best practices for Rust error handling with Result and Option?

Rust error handling standards require consistent propagation of Result and Option types with proper logging. This skill enforces concrete requirements for error propagation to ensure safe, predictable behavior across modules and crates.

How do I handle filesystem operations safely in Rust?

Filesystem operations in Rust require safe IO patterns and cross-platform path abstractions. This skill provides concrete guidelines for filesystem and path handling to standardize safe IO behavior across different operating systems.

Can I use these Rust guidelines for cross-platform project layout?

Yes, these Rust guidelines apply to cross-platform layout and platform abstraction. They standardize project layout and module organization to promote readability and scalable architectures across different platforms.

How do I standardize Rust code style across workspace crates?

Standardizing Rust code style across workspace crates involves applying consistent conventions for error handling, filesystem operations, and module organization. This skill enforces concrete requirements to reduce inconsistency and improve maintainability.

Why do I need standardized Rust coding conventions in my workspace?

Standardized Rust coding conventions reduce inconsistency, improve maintainability, and guide safe, predictable behavior in build and runtime code. Without them, error propagation and IO patterns become unpredictable across different modules and crates.

What are the limitations of applying Rust style guidelines to existing projects?

Applying Rust style guidelines to existing projects requires refactoring error handling, filesystem operations, and module organization. This skill enforces concrete requirements for propagation and safe IO, which may necessitate significant changes to established codebases.