·rust-type-driven
</>

rust-type-driven

huiali/rust-skills

类型驱动设计专家。处理 newtype, type state, PhantomData, marker trait, builder pattern, 类型状态, 新类型模式, 编译时验证, sealed trait, ZST

4Installs·0Trend·@huiali

Installation

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

SKILL.md

| isvalid 标志 | 运行时检查 | 用类型编码状态 | | 大量 Option | 可能为空 | 重新设计类型 | | 原始类型 everywhere | 类型混淆 | Newtype | | 验证在运行时 | 延迟错误发现 | 构造函数验证 | | 布尔参数 | 含义不清 | 用枚举或 builder |

| 范围验证 | 构造时 | Email::new() 返回 Option | | 状态转换 | 类型边界 | Connection | | 引用有效性 | 生命周期 | &'a T | | 线程安全 | Send + Sync | 编译器检查 |

类型驱动设计专家。处理 newtype, type state, PhantomData, marker trait, builder pattern, 类型状态, 新类型模式, 编译时验证, sealed trait, ZST 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-type-driven Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/huiali/rust-skills --skill rust-type-driven
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is rust-type-driven?

类型驱动设计专家。处理 newtype, type state, PhantomData, marker trait, builder pattern, 类型状态, 新类型模式, 编译时验证, sealed trait, ZST Source: huiali/rust-skills.

How do I install rust-type-driven?

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-type-driven 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