Registry / actionbook

actionbook/rust-skills/m05-type-driven

CRITICAL: Use for type-driven design. Triggers: type state, PhantomData, newtype, marker trait, builder pattern, make invalid states unrepresentable, compile-time validation, sealed trait, ZST, 类型状态, 新类型模式, 类型驱动设计

Agent skill · version 2.0.9 · from actionbook/rust-skills

Install

npx yarkr-cli add skill:actionbook/rust-skills/m05-type-driven

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:actionbook/rust-skills/m05-type-driven
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:actionbook/rust-skills/m05-type-driven

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:actionbook/rust-skills/m05-type-driven

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.