Skills & prompts/GitHub/Skill
google-rust-style-skill
by 0xMassi·Last observed 2026-10-27
★ 3 stars⑂ 0 forks
google-rust-style is an agent skill that teaches the Google Rust Style Guide and turns tool-checkable rules into rustfmt and Clippy settings. It also gives the agent reviewer-level judgment rules and asks it to distinguish library code from application code before applying API guidance.
Useful for
- Ask an agent to review a Rust crate against Google style and set up the corresponding rustfmt and Clippy configuration.
Key features
- Provides rustfmt.toml, clippy.toml, and Cargo.toml lint tables with settings mapped to guide sections.
- Provides judgment rules for matters such as module layout, imports, iterator returns, error handling, and unsafe code.
Requirements & limitations
- The lint configuration requires stable Rust with Clippy; three listed rustfmt options require nightly, while stable rustfmt warns and skips them.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.