MCP.so
登录

rust-best-practices

morganlinton / BeautifulRust

基本信息

分类

开发与编程

代码仓库

morganlinton / BeautifulRust

Skill

rust-best-practices

关于 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

安装 rust-best-practices

npx skills add morganlinton/BeautifulRust

功能与用途

  • 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

MCP.so 上的同一项目

基于同一 GitHub 仓库的其他条目:可以作为 MCP 服务器、智能体技能或命令行工具使用。

智能体技能

评论

开发与编程分类下的其他 Skills

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.