rust-core-patterns

Community

Production Rust patterns for type-safe domains.

Authormatthewharwood
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Foundational Rust patterns for domain modeling: newtypes, typestate, builders, smart constructors, and const generics.

Core Features & Use Cases

  • Newtypes & Domain Primitives: IDs, emails.
  • Type State: Compile-time state machines.
  • Builder Pattern: With mandatory fields.
  • Smart Constructors & Const Generics: Safe invariants.

Quick Start

Create domain primitives and simple typestate example.

Dependency Matrix

Required Modules

None required

Components

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-core-patterns
Download link: https://github.com/matthewharwood/engmanager_xyz/archive/main.zip#rust-core-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository