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 |
Úselo al revisar el código de Rust para determinar la calidad artesanal, al escribir un nuevo código de Rust que debe seguir patrones profesionales o cuando el usuario solicite juzgar, auditar o mejorar el código de Rust según las mejores prácticas. Cubre diseño tipográfico, firmas de funciones, arquitectura de rasgos, manejo de errores, visibilidad, macros, pruebas y patrones de rendimiento. Fuente: cygnusfear/agent-skills.