rust-patterns

Implement Rust design patterns for type-safe builders and APIs.

1|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/vanyastaff/paramdef --skill rust-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-patterns
Source: https://github.com/vanyastaff/paramdef/tree/main/.claude/skills/rust-patterns
Command: npx skills add https://github.com/vanyastaff/paramdef --skill rust-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

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.