·coding-guidelines
</>

coding-guidelines

goooice/rust-skills

Verwenden Sie diese Option, wenn Sie nach dem Rust-Codestil oder Best Practices fragen. Schlüsselwörter: Benennung, Formatierung, Kommentar, Clippy, Rustfmt, Lint, Codestil, Best Practice, P.NAM, G.FMT, Codeüberprüfung, Namenskonvention, Variablenbenennung, Funktionsbenennung, Typbenennung, 命名规范, 代码风格, 格式化, 最佳实践,代码审查, 怎么命名

4Installationen·0Trend·@goooice

Installation

$npx skills add https://github.com/goooice/rust-skills --skill coding-guidelines

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) |

Original anzeigen

Fakten (zitierbereit)

Stabile Felder und Befehle für KI/Such-Zitate.

Installationsbefehl
npx skills add https://github.com/goooice/rust-skills --skill coding-guidelines
Kategorie
</>Entwicklung
Verifiziert
Erstes Auftreten
2026-02-01
Aktualisiert
2026-02-18

Schnelle Antworten

Was ist coding-guidelines?

Verwenden Sie diese Option, wenn Sie nach dem Rust-Codestil oder Best Practices fragen. Schlüsselwörter: Benennung, Formatierung, Kommentar, Clippy, Rustfmt, Lint, Codestil, Best Practice, P.NAM, G.FMT, Codeüberprüfung, Namenskonvention, Variablenbenennung, Funktionsbenennung, Typbenennung, 命名规范, 代码风格, 格式化, 最佳实践,代码审查, 怎么命名 Quelle: goooice/rust-skills.

Wie installiere ich coding-guidelines?

Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/goooice/rust-skills --skill coding-guidelines Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code oder Cursor

Wo ist das Quell-Repository?

https://github.com/goooice/rust-skills