coding-guidelines

Apply Rust coding style guidelines during code review and refactoring.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/Jylhis/claude-marketplace --skill coding-guidelines-jylhis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-guidelines
Source: https://github.com/Jylhis/claude-marketplace/tree/main/plugins/rust-dev/skills/coding-guidelines
Command: npx skills add https://github.com/Jylhis/claude-marketplace --skill coding-guidelines-jylhis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides comprehensive Rust coding style guidelines and best‑practice rules, helping developers write clean, consistent, and maintainable Rust code.

Core Features & Use Cases

  • Standardized Naming Conventions: Enforces Rust‑specific naming patterns for functions, types, and static variables.
  • Safety and Concurrency Rules: Offers guidance on error handling, memory lifetimes, lock ordering, and async practices.
  • Modern Rust Recommendations: Highlights deprecated patterns and their modern alternatives, such as using ? instead of try!() and OnceLock instead of lazy_static!. Use case: When a developer wants to review or refactor Rust code to align with community best practices and avoid common pitfalls.

Quick Start

Ask the skill to review Rust code and suggest improvements according to the Rust coding guidelines.

Frequently Asked Questions about coding-guidelines

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

FAQPage Schema
How do I apply Rust coding standards and best practices to my source files?

You can apply Rust coding standards by reviewing your source files against rules for consistent naming, error handling, and modern API usage. Replace deprecated patterns like try!() with ? and use rustfmt for automatic formatting.

What are the modern Rust best practices for replacing deprecated macros?

Modern Rust best practices involve replacing deprecated macros with current standards, such as using ? instead of try!() and OnceLock instead of lazy_static!. This ensures consistent, maintainable code following the latest compiler recommendations.

What Rust naming conventions should I follow for functions, types, and static variables?

Rust naming conventions enforce specific patterns for functions, types, and static variables. Applying these standardized rules during code review or new development ensures your codebase remains clean, consistent, and maintainable.

Does this Rust style guide cover safety and concurrency rules like lock ordering and async practices?

Yes, these Rust coding guidelines cover safety and concurrency rules including error handling, memory lifetimes, lock ordering, and async practices. Applying these rules during development helps avoid common concurrency pitfalls.

When do I need to use rustfmt for automatic formatting in a Rust project?

You need to use rustfmt for automatic formatting when applying coding guidelines to Rust source files. It enforces consistent style alongside naming conventions and modern API usage during code review or new development.