ddd-refiner

Guide teams to define DDD guardrails and generate a ddd-principles.md document.

176|13|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/techygarg/lattice --skill ddd-refiner
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ddd-refiner
Source: https://github.com/techygarg/lattice/tree/main/plugins/lattice/skills/ddd-refiner
Command: npx skills add https://github.com/techygarg/lattice --skill ddd-refiner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Facilitate a structured conversation to define DDD guardrails for domain design within a repository. It produces a formal ddd-principles.md document that the domain-driven-design atom will use as its override.

Core Features & Use Cases

  • Guided interview flow to collect your domain design preferences and guardrails.
  • Supports two modes: Overlay (default) and Override, wired to .lattice/config.yaml paths.
  • Outputs to a configurable path (default .lattice/standards/ddd-principles.md) and uses the template in assets/template.md.

Quick Start

Start the guided interview by saying you want to set up DDD principles so I can generate your ddd-principles document.

Frequently Asked Questions about ddd-refiner

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

FAQPage Schema
How do I define domain-driven design guardrails for my repository?▼

You can define domain-driven design guardrails by initiating a guided interview that collects your domain preferences and outputs a formal ddd-principles.md document for your repository.

What is the best way to set up DDD aggregate rules and patterns through an interview?▼

The best way to set up DDD aggregate rules is through an interactive interviewing workflow that prompts you for specific domain patterns, then generates a formal principles document based on your answers.

How does the DDD principles overlay mode work with configuration files?▼

The DDD principles overlay mode works by reading configuration from .lattice/config.yaml and generating a document that overlays or replaces embedded defaults for the domain-driven-design atom.

Where are generated DDD principles documents stored in my project?▼

Generated DDD principles documents are stored in your project under the configurable path .lattice/standards/ddd-principles.md, using a template structure as the starting point.

Can I replace the default domain-driven design rules in my existing architecture?▼

Yes, you can replace default domain-driven design rules by selecting Override mode during the guided interview, which produces a formal document that completely replaces the embedded defaults.