ddd-rails-modeling

Community

Rails-first DDD modeling for solid domain design

Authorigmarin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rails projects often struggle to map domain concepts to Rails structures without fighting Rails conventions or over-engineering. This skill provides a Rails-first approach to modeling entities, value objects, aggregates, domain services, and domain events in a way that respects Rails defaults while preserving clear domain boundaries.

Core Features & Use Cases

  • Rails-first mapping guidance: align domain concepts with appropriate Rails homes (models, services, policies) to keep code expressive and maintainable.
  • Invariant-driven design: prioritize domain invariants and ownership, guiding when to introduce boundary objects like services or repositories.
  • Integration planning: outlines a pragmatic sequence from domain concepts to implementation, tests, and documentation.

Quick Start

Identify the domain concepts and map them to Rails structures following the Rails-first guidance provided herein.

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: ddd-rails-modeling
Download link: https://github.com/igmarin/rails-agent-skills/archive/main.zip#ddd-rails-modeling

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 471,000+ vetted skills library on demand.