One-click install
npx skills add https://github.com/JakkuSakura/skills --skill rust-coding-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-coding-style
Source: https://github.com/JakkuSakura/skills/tree/main/rust-coding-style
Command: npx skills add https://github.com/JakkuSakura/skills --skill rust-coding-style

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Rust coding style guide provides decision defaults for API design, errors, structure, naming, ownership, async boundaries, performance considerations, and testing choices. Use this guide to keep coding decisions consistent and terse across projects.

Core Features & Use Cases

  • API design and error-handling guidelines to ensure ergonomic and safe public interfaces.
  • Module structure, naming conventions, and ownership/borrowing patterns for maintainable Rust code.
  • Guidance on async boundaries, performance tools, and testing practices to accelerate reviews and quality assurance.

Quick Start

Apply these rules at project start to guide API design, error handling, and module layout.

Frequently Asked Questions about rust-coding-style

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

FAQPage Schema
What are the best practices for Rust API design and error handling?

Rust API design and error handling best practices involve using Result types for public interfaces to ensure ergonomic and safe operations. This guide enforces concrete requirements like consistent module layouts to guarantee maintainable patterns across projects.

How do I manage ownership and borrowing patterns for maintainable Rust code?

To manage ownership and borrowing for maintainable Rust code, apply consistent module structures and naming conventions. Using these decision defaults during code reviews ensures safe and consistent ownership boundaries across the project.

When do I need to define async boundaries in Rust project planning?

You need to define async boundaries in Rust project planning when designing concurrent workflows. Applying guidance on async boundaries at project start accelerates reviews and ensures performance considerations are met consistently.

Does this Rust coding style guide cover testing approaches and module structure?

Yes, this Rust coding style guide covers testing approaches and module structure. It provides concrete testing choices and enforces consistent module layouts to accelerate quality assurance and maintainable code practices.

How to use coding style rules for Rust code reviews and design discussions?

To use coding style rules for Rust code reviews, apply the decision defaults for API design, errors, and naming. This ensures consistency by enforcing concrete requirements like Result types and specific module layouts during discussions.