rust-const
✓Const generics 与编译时计算专家。处理 const泛型、类型级计算、编译时求值、MaybeUninit 数组等问题。触发词:const, generics, compile-time, MaybeUninit, 类型级计算, 编译时
Installation
SKILL.md
| 数组类型 | 固定大小集合 | [T; N] | | 缓冲区大小 | 避免动态分配 | const SIZE: usize = 1024 | | 编译时检查 | 提前发现问题 | assert! in const fn | | 类型状态 | 状态机 | StateMachine |
| 栈溢出 | 大数组在栈上 | 用 Box 或 Vec | | 数组大小不匹配 | const 泛型值错误 | 检查常量值 | | const fn 不支持 | 语言限制 | 用 runtime 或 nightly | | MaybeUninit 未初始化 | UB | 正确使用 assumeinit |
Const generics 与编译时计算专家。处理 const泛型、类型级计算、编译时求值、MaybeUninit 数组等问题。触发词:const, generics, compile-time, MaybeUninit, 类型级计算, 编译时 Source: huiali/rust-skills.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/huiali/rust-skills --skill rust-const Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/huiali/rust-skills --skill rust-const- Source
- huiali/rust-skills
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is rust-const?
Const generics 与编译时计算专家。处理 const泛型、类型级计算、编译时求值、MaybeUninit 数组等问题。触发词:const, generics, compile-time, MaybeUninit, 类型级计算, 编译时 Source: huiali/rust-skills.
How do I install rust-const?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/huiali/rust-skills --skill rust-const Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/huiali/rust-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01