The m05-type-driven skill teaches developers how to use Rust's type system to prevent invalid states and encode invariants at compile time rather than relying on runtime validation. It covers patterns like newtypes, type state, PhantomData, marker traits, and builders that allow developers to make invalid states unrepresentable. This skill is for Rust engineers building robust systems who need to shift validation logic from runtime checks to compile-time type constraints.
npx -y skills add zhanghandong/rust-skills --skill m05-type-driven --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
wshobson/agents