crate-gen
OfficialGenerate production Rust WASM crates from IR.
Authoraugentic
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill automates the creation of a production-ready Rust WASM crate from a Requirements IR, enabling streamlined migration and codegen workflows.
Core Features & Use Cases
- Domain Model mapping: Convert Requirements IR domain models into Rust types with newtypes and enums ready for WASM targets.
- API Contract mapping: Translate API contracts into Handler implementations with proper error handling and provider usage.
- Code generation workflow: Produce a ready-to-build Cargo workspace including src files, tests, and supporting docs like Migration.md and Architecture.md.
- Use Case: Ideal for migrating a feature from IR to a Wasm-based microservice ready for wasmtime.
Quick Start
Run the crate-gen tool with an IR file and an output directory, e.g., crate-gen ./ir/order-feature.ir.md ./crates/order_service
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: crate-gen Download link: https://github.com/augentic/plugins/archive/main.zip#crate-gen 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.