rust-coding
✓Rust 编码规范专가족.处理命name, 格式化, 注释, Clippy, Rustfmt, lint, 代码风格, 最佳实践, 명명 규칙, 代码审查, P.NAM, G.FMT,怎么命name, 代码规范
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) 复杂度 |
인용 가능한 정보
AI/검색 인용용 안정적인 필드와 명령어.
- 설치 명령어
npx skills add https://github.com/huiali/rust-skills --skill rust-coding- 카테고리
- </>개발 도구
- 인증됨
- ✓
- 최초 등록
- 2026-02-01
- 업데이트
- 2026-02-18
빠른 답변
rust-coding이란?
Rust 编码规范专가족.处理命name, 格式化, 注释, Clippy, Rustfmt, lint, 代码风格, 最佳实践, 명명 규칙, 代码审查, P.NAM, G.FMT,怎么命name, 代码规范 출처: huiali/rust-skills.
rust-coding 설치 방법은?
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/huiali/rust-skills --skill rust-coding 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다
소스 저장소는 어디인가요?
https://github.com/huiali/rust-skills
상세
- 카테고리
- </>개발 도구
- 출처
- skills.sh
- 최초 등록
- 2026-02-01