The type system in Rust can catch mistakes before your code runs. This skill teaches you how to use types to prevent invalid states. You will learn patterns like newtypes and type states to make illegal code impossible.
Think of the compiler as your safety net. Instead of checking errors at runtime you encode rules in types. This means fewer bugs and clearer code. Anyone working with Rust can benefit from these techniques.
Key ideas include PhantomData for markers and sealed traits for restricted implementations. The builder pattern helps with gradual construction. All these tools help you write correct programs with confidence.
Global
mkdir -p ~/.claude/skills/m05-type-drivenProject
mkdir -p .claude/skills/m05-type-drivenSource Repository
Typescript Advanced Typeswshobson/agents
Master advanced TypeScript types for safer and more flexible code
Python Executorqu-skills/skills
Execute Python code safely with 100+ libraries for data, scraping, and media
Golang Error Handlingsamber/cc-skills-golang
Learn to create, wrap, inspect, and log Go errors like a professional engineer
Golang Performancesamber/cc-skills-golang
Speed up your Go code using proven patterns for allocation reduction and CPU efficiency
Golang Design Patternssamber/cc-skills-golang
Idiomatic Go patterns for clean constructors error handling and graceful shutdown
Golang Concurrencysamber/cc-skills-golang
Write safe Go concurrency with goroutines, channels, and sync primitives
Golang Contextsamber/cc-skills-golang
Master Go context for cancellations, timeouts, and request values
Golang Data Structuressamber/cc-skills-golang
Optimize Go data structures for speed and memory efficiency with internals knowledge