mds-statum-patterns
CommunityStable Rust workflows & API protocols
Authoreboody
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides guidance for implementing stable, phase-based workflows and API protocols in Rust, ensuring that invalid transitions are unrepresentable at compile time and improving overall code correctness and maintainability.
Core Features & Use Cases
- Typestate Patterns: Enforces workflow phases and legal transitions using Rust's type system.
- API Protocol Design: Guides the creation of robust API protocols with clear state management.
- Rehydration: Supports reconstructing typed machines from persisted data using validators.
- Use Case: When building a document review system with distinct phases like 'Draft', 'InReview', and 'Published', this Skill helps ensure that a document cannot be 'Published' directly from 'Draft' without going through the 'InReview' phase.
Quick Start
Apply the mds-statum-patterns skill to define a new Rust workflow with stable ordered phases.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: mds-statum-patterns Download link: https://github.com/eboody/eran.codes/archive/main.zip#mds-statum-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 223,000+ vetted skills library on demand.