Deep code surgery using a field guide extracted from ripgrep (46K LOC), clap (41K LOC), parsel (6K LOC), and ringapi (2.3K LOC). Not design patterns. The actual craft — line-by-line decisions that separate code that rots from code that lives.
| references/professional-rust.md | 47 principles on types, signatures, traits, errors, modules, macros, config, testing, performance, discipline | Dispatching a code surgery worker — the worker reads it as rubric |
| references/codebase-organization.md | Module layout, facade pattern, privacy ladder, dependency direction, stdext mirroring, unsafe auditing, encapsulation progression | Dispatching a structural review worker — the worker reads it as rubric |
Verwenden Sie diese Option, wenn Sie Rust-Code auf handwerkliche Qualität überprüfen, wenn Sie neuen Rust-Code schreiben, der professionellen Mustern folgen sollte, oder wenn der Benutzer Rust-Code anhand von Best Practices beurteilen, prüfen oder verbessern möchte. Behandelt Typdesign, Funktionssignaturen, Merkmalsarchitektur, Fehlerbehandlung, Sichtbarkeit, Makros, Tests und Leistungsmuster. Quelle: cygnusfear/agent-skills.