rust-patterns
CommunityIdiomatic Rust patterns and advanced techniques.
Authorvanyastaff
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill covers a broad set of Rust design patterns and advanced techniques to build robust APIs and abstractions.
Core Features & Use Cases
- Creational patterns: Builder, Typestate builders, and factory-like construction.
- Structural patterns: Newtype pattern, extension traits, and Deref ergonomics.
- Behavioral patterns: Strategy, Command, Visitor, and more.
- Use Case: Implement a server with a type-safe SMTP-like builder using typestate and extension traits.
Quick Start
Implement a Builder for a simple Server with required fields enforced at compile time.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rust-patterns Download link: https://github.com/vanyastaff/paramdef/archive/main.zip#rust-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.