coding-guidelines

Enforce Rust naming, formatting, and linting guidelines with rustfmt and Clippy.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/nshaikhs/claude-code-for-operators --skill coding-guidelines-nshaikhs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-guidelines
Source: https://github.com/nshaikhs/claude-code-for-operators/tree/main/skills/coding-guidelines
Command: npx skills add https://github.com/nshaikhs/claude-code-for-operators --skill coding-guidelines-nshaikhs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Rust coding guidelines help teams and individuals maintain consistent naming, formatting, and linting practices across codebases, improving readability and reducing bugs.

Core Features & Use Cases

  • Enforces naming conventions, formatting with rustfmt, and lint practices (Clippy) to ensure code quality.
  • Provides comprehensive rules for data types, strings, error handling, memory management, concurrency, and macros to guide reviews and refactoring.
  • Useful for code reviews, onboarding new Rust developers, and maintaining large Rust projects with consistent style.

Quick Start

Apply these Rust coding guidelines when reviewing or writing Rust code to enforce consistent naming, formatting, and safety practices.

Frequently Asked Questions about coding-guidelines

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

FAQPage Schema
How do I enforce Rust naming conventions and formatting during code reviews?

Enforce Rust coding guidelines during code reviews by applying standardized naming conventions, rustfmt formatting, and Clippy lint rules to ensure code quality and readability. These rules guide reviewers in checking data types, error handling, and concurrency practices.

What are the best practices for safe memory management and concurrency in Rust?

Safe Rust memory management and concurrency best practices involve following standardized coding guidelines that dictate specific rules for data types, macros, and thread safety. Applying these linting and formatting standards reduces bugs and maintains consistency across large codebases.

Can I use these Rust coding guidelines for onboarding new developers?

Yes, you can use these Rust coding guidelines for onboarding new developers to introduce them to idiomatic and safe Rust practices. The guidelines cover formatting via rustfmt, lint rules via Clippy, and error handling, ensuring new team members write consistent code immediately.

Does this approach cover error handling and macro usage in Rust?

Yes, this approach covers error handling and macro usage in Rust by providing comprehensive rules for these areas alongside data types and strings. The guidelines ensure idiomatic and safe Rust by enforcing consistent practices across codebases of varying sizes.

When do I need to apply standardized linting rules to a Rust codebase?

You need to apply standardized Rust linting rules when writing new code, refactoring existing modules, or conducting code reviews. Using Clippy and rustfmt during these phases enforces naming conventions and safety practices, maintaining consistency and reducing bugs across the project.