MCP.so
Sign In

rust-best-practices

morganlinton / BeautifulRust

Basic information

Category

Development

Repository

morganlinton / BeautifulRust

Skill

rust-best-practices

About rust-best-practices

Helps coding agents write idiomatic, robust and maintainable Rust. Distilled from the Google Rust Style Guide, the Rust API Guidelines, Effective Rust, Rust Design Patterns and Microsoft's Pragmatic Rust Guidelines, and says which rule wins where they disagree.

#rust#code-style#best-practices#cargo

Install rust-best-practices

npx skills add morganlinton/BeautifulRust

What it does

  • Triggers whenever the agent writes, reviews, refactors, debugs or explains Rust: crates, traits, error types, async, unsafe/FFI, Cargo.toml, tests and rustdoc

  • Pushes Rust-shaped code: errors as Result, resources via ownership and Drop, polymorphism with traits and enums, nullability with Option

  • Makes invalid states unrepresentable with enums, newtypes and validating constructors instead of bool flags and comments

  • Ships digests of each source guide in references/; the companion rust-review and rust-port skills reuse its rules

  • Works with Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI and other skill-aware agents; Claude Code can also install it as the beautiful-rust plugin

Same project on MCP.so

Other listings built from the same GitHub repository: use it as an MCP server, an agent skill or a command-line tool.

Agent skills

Comments

More skills in Development

vercel-react-best-practices

vercel-labs / agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

improve-codebase-architecture

mattpocock / skills

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

shadcn

shadcn / ui

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".

caveman-compress

juliusbrussee / caveman

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"

caveman-stats

juliusbrussee / caveman

Show real token usage and estimated savings for the current session. Reads directly from the Claude Code session log — no AI estimation. Triggers on /caveman-stats. Output is injected by the mode-tracker hook; the model itself does not compute the numbers.

full-output-enforcement

leonxlnx / taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.