Zero-cost abstractions in Rust let you write fast code without slowing down. You can choose between generics and trait objects depending on your needs. This skill helps you make that choice.
When you see errors like E0277, E0308, or E0599, the skill asks the right questions. It helps you decide if you need static dispatch at compile time or dynamic dispatch at runtime. Each choice has trade-offs in performance, code size, and flexibility.
You can trace from an error back to your design. The skill also guides you to other skills for deeper work on domains, type-driven design, and performance. It is a practical tool for writing clean and fast Rust code.
Global
mkdir -p ~/.claude/skills/m04-zero-costProject
mkdir -p .claude/skills/m04-zero-costSource 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