·rust-coding
</>

rust-coding

huiali/rust-skills

Rust 编码规范专家。处理命名, 格式化, 注释, clippy, rustfmt, lint, 代码风格, 最佳实践, convención de nomenclatura, 代码审查, P.NAM, G.FMT, 怎么命名, 代码规范

4Instalaciones·0Tendencia·@huiali

Instalación

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

SKILL.md

| 方法不用 get 前缀 | fn name(&self) | fn getname(&self) | | 迭代器方法 | iter() / itermut() / intoiter() | getiter() | | 转换命名 | as (廉价), to (昂贵), into (所有权) | 混用 | | static 变量大写 | static CONFIG: Config | static config: Config | | const 变量 | const BUFFERSIZE: usize = 1024 | 无限制 |

| 用 newtype | 领域语义 | struct Email(String) | | 用 slice 模式 | 模式匹配 | if let [first, .., last] = slice | | 预分配 | 避免重新分配 | Vec::withcapacity(), String::withcapacity() | | 避免 Vec 滥用 | 固定大小用数组 | let arr: [u8; 256] |

| ASCII 数据用 bytes() | s.bytes() 优于 s.chars() | | 可能修改时用 Cow | 借用或拥有 | | 用 format! 拼接 | 优于 + 操作符 | | 避免嵌套 contains() | O(nm) 复杂度 |

Ver original

Datos (listos para citar)

Campos y comandos estables para citas de IA/búsqueda.

Comando de instalación
npx skills add https://github.com/huiali/rust-skills --skill rust-coding
Categoría
</>Desarrollo
Verificado
Primera vez visto
2026-02-01
Actualizado
2026-02-18

Respuestas rápidas

¿Qué es rust-coding?

Rust 编码规范专家。处理命名, 格式化, 注释, clippy, rustfmt, lint, 代码风格, 最佳实践, convención de nomenclatura, 代码审查, P.NAM, G.FMT, 怎么命名, 代码规范 Fuente: huiali/rust-skills.

¿Cómo instalo rust-coding?

Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.) Copia y ejecuta este comando: npx skills add https://github.com/huiali/rust-skills --skill rust-coding Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code o Cursor

¿Dónde está el repositorio de origen?

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