Coder Rust Conventions

🌐Community
by ozerohax · vlatest · Repository

Ensures Rust code adheres to ozerohax's style guide, promoting consistency and idiomatic backend development.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add coder-rust-conventions npx -- -y @trustedskills/coder-rust-conventions
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "coder-rust-conventions": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/coder-rust-conventions"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill ensures Rust code adheres to established conventions, improving readability and maintainability. It automatically formats code according to rustfmt standards and suggests improvements based on common Rust best practices. The agent can apply these rules to existing codebases or new projects, ensuring consistency across a team.

When to use it

  • Code formatting: Automatically format a Rust project or file using rustfmt.
  • Code review assistance: Identify potential style violations and suggest corrections during code reviews.
  • New project setup: Enforce coding conventions from the outset of a new Rust project.
  • Learning Rust: Get feedback on your Rust code to learn best practices.

Key capabilities

  • rustfmt integration for automatic code formatting.
  • Adherence to common Rust coding conventions.
  • Suggestion of improvements based on best practices.

Example prompts

  • "Format this Rust file: [file content]"
  • "Review this Rust code and suggest any style improvements: [code snippet]"
  • “Apply rustfmt formatting to my project.”

Tips & gotchas

  • Ensure rustfmt is installed on the system where the agent will be used.
  • The skill primarily focuses on stylistic conventions; it does not guarantee correctness or bug-free code.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
ozerohax
Installs
3

🌐 Community

Passed automated security scans.