onion-architecture

Community

Build Rust DDD apps with onion architecture rules

Authornftug
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the tedious and error-prone work of manually writing Rust DDD code that violates onion architecture layer dependency rules, which leads to tight coupling and hard-to-maintain domain logic.

Core Features & Use Cases

  • End-to-end aggregate generation: Creates complete, production-ready code for new aggregates across all four layers (domain, application, infrastructure, API) following strict DDD and onion architecture patterns.
  • Existing code validation and fixes: Audits existing code to ensure correct dependency direction (inner layers never depend on outer layers) and fixes violations.
  • Use case: Add a new Book aggregate to the existing book manager API, or extend the User domain with new validation rules without breaking layer boundaries.

Quick Start

Use the onion-architecture skill to add a new Book aggregate with full domain, application, infrastructure, and API layer implementation to the existing Rust book manager project.

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: onion-architecture
Download link: https://github.com/nftug/rust-ddd-book-manager/archive/main.zip#onion-architecture

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.