malky-domain-implementer

Generate Rust/Axum/SQLx API artifacts from domain-model.md.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mmacphail/my-claude-rules --skill malky-domain-implementer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: malky-domain-implementer
Source: https://github.com/mmacphail/my-claude-rules/tree/main/malky-domain-implementer
Command: npx skills add https://github.com/mmacphail/my-claude-rules --skill malky-domain-implementer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implements a signed-off DDD domain model into a Rust/Axum/SQLx project by generating migrations, feature modules, OpenAPI specs, and system tests from domain-model.md. Use when asked to "implement the domain", "generate code from the domain model", or "run the implement skill".

Core Features & Use Cases

  • Generates DB migrations, Rust feature modules, OpenAPI spec, and system tests from a signed-off domain model.
  • Wires aggregates into the main router and ensures end-to-end consistency with project conventions.
  • Supports validation and documentation of ambiguities via // NOTE: comments in generated code.

Quick Start

Place domain-model.md at the project root and run the implement skill to generate all artifacts.

Frequently Asked Questions about malky-domain-implementer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Rust API from a domain model?

Generating a Rust API from a domain model requires a domain-model.md file at the project root; the skill extracts aggregates and fields to produce migrations, feature modules, OpenAPI specs, and system tests.

What is needed to generate DB migrations and OpenAPI specs from domain-driven design?

Generating DB migrations and OpenAPI specs from domain-driven design requires a signed-off domain-model.md and a Rust/Axum/SQLx project to wire aggregates into the main router while maintaining end-to-end consistency.

Can I use this skill to wire new aggregates into an Axum router?

Yes, this skill wires new aggregates into an Axum router by extracting aggregates, statuses, and transitions from domain-model.md to generate feature modules and ensure end-to-end consistency with project conventions.

How does code generation handle ambiguous domain model decisions?

Code generation handles ambiguous domain model decisions by inserting // NOTE: comments directly into the generated Rust feature modules and migrations, ensuring transparency regarding any unclear invariants or transitions.

What Rust frameworks does the domain implementer skill support?

The domain implementer skill supports Rust with the Axum web framework for routing and SQLx for database interactions, generating DB migrations and feature modules tailored to this stack.

Does the generated Rust code include system tests?

Yes, the generated Rust code includes system tests; the skill produces end-to-end system tests alongside DB migrations, OpenAPI specs, and feature modules to validate the implemented domain aggregates.