coding-guidelines
✓Use when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT, code review, naming convention, variable naming, function naming, type naming, 命名规范, 代码风格, 格式化, 最佳实践, 代码审查, 怎么命名
Installation
SKILL.md
| No get prefix | fn name() not fn getname() | | Iterator convention | iter() / itermut() / intoiter() | | Conversion naming | as (cheap &), to (expensive), into (ownership) | | Static var prefix | GCONFIG for static, no prefix for const |
| Use newtypes | struct Email(String) for domain semantics | | Prefer slice patterns | if let [first, .., last] = slice | | Pre-allocate | Vec::withcapacity(), String::withcapacity() | | Avoid Vec abuse | Use arrays for fixed sizes |
| Prefer bytes | s.bytes() over s.chars() when ASCII | | Use Cow | When might modify borrowed data | | Use format! | Over string concatenation with + | | Avoid nested iteration | contains() on string is O(nm) |
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/goooice/rust-skills --skill coding-guidelines- Source
- goooice/rust-skills
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is coding-guidelines?
Use when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT, code review, naming convention, variable naming, function naming, type naming, 命名规范, 代码风格, 格式化, 最佳实践, 代码审查, 怎么命名 Source: goooice/rust-skills.
How do I install coding-guidelines?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/goooice/rust-skills --skill coding-guidelines Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/goooice/rust-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01