ddd-architect
Skill36 starsChanged 6 months agoMITView on GitHub
Comprehensive Domain-Driven Design analysis and architecture generation — use when designing bounded contexts, defining aggregates, creating context maps, or decomposing systems into microservices or modular monolith. Triggers: DDD, domain-driven design, bounded context, aggregate design, context map, subdomain, ubiquitous language, strategic/tactical design, domain model.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- u9401066/pubmed-search-mcptheir own version, first seen Oct 1, 2026
- ralvarezdev/ralvaskillstheir own version, first seen Sep 29, 2026
- insky2005/skillstheir own version, first seen Mar 20, 2026
- u9401066/template-is-all-you-needtheir own version, first seen Mar 6, 2026
- u9401066/nsforge-mcptheir own version, first seen Jan 4, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- u9401066/pubmed-search-mcp★ 28same name
- u9401066/nsforge-mcp★ 4same name
- u9401066/template-is-all-you-need★ 3same name
- ralvarezdev/ralvaskills★ 2same name
- insky2005/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository157 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a2ui-angularSkill
- accessibility-auditSkill
- adk-deploy-guideSkill
- adk-dev-guideSkill
- adk-eval-guideSkill
- adk-observability-guideSkill
- agentic-ai-coding-standardSkill
- agentic-ai-devSkill
- ai-auditSkill
- ai-chatSkill
- ai-decision-recordSkill
- ai-incident-responseSkill
- ai-launch-checkSkill
- ai-playbookSkill
- angular-best-practicesSkill
- angularSkill
- angular-spaSkill
- angular-ui-patternsSkill
- api-design-principlesSkill
- app-store-optimizationSkill
- architect-reviewSkill
- architecture-decision-recordsSkill
- architecture-designSkill
- asc-cli-usageSkill
- asc-crash-triageSkill
- asc-id-resolverSkill
- asc-release-flowSkill
- asc-signing-setupSkill
- asc-submission-healthSkill
- asc-testflight-orchestrationSkill
- browser-testingSkill
- changelog-generatorSkill
- claude-actions-auditorSkill
- clean-codeSkill
- codebase-onboardingSkill
- code-explainerSkill
- code-reviewerSkill
- code-simplifierSkill
- comment-analyzerSkill
- database-schema-designerSkill
- decision-frameworksSkill
- dedup-code-agentSkill
- deployment-ci-cdSkill
- design-systemSkill
- dockerSkill
- documentation-generationSkill
- domain-finderSkill
- error-detectiveSkill
- eval-guideSkill
- feature-forgeSkill
- firebase-basicsSkill
- firebase-hosting-basicsSkill
- fixing-accessibilitySkill
- fixing-motion-performanceSkill
- flutter-animationsSkill
- flutter-genuiSkill
- flutter-mobileSkill
- flutter-security-expertSkill
- frontend-designSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Iron Law: Never design domain boundaries without analyzing existing bounded contexts first.
- Distinctive: line 39
Before starting, confirm you have:
- Distinctive: line 48
If any are missing, ask before proceeding.
- Distinctive: line 58
Create context map with relationship patterns
- Distinctive: line 108
Before marking any phase complete, verify:
- Distinctive: line 121
Tech-stack agnostic: Use the project's actual tech stack for code examples, not hardcoded defaults
- Distinctive: line 122
No cargo-culting: Don't apply patterns just because DDD says so — justify every pattern
- Distinctive: line 124
Events over coupling: Prefer domain events between contexts over direct calls
- Distinctive: line 125
Ubiquitous language is mandatory: Every document must use domain language, not technical jargon
- Distinctive: line 126
Diagrams: Use Mermaid syntax for all diagrams (context maps, sequence, class, C4)
- Distinctive: line 130
Ambiguous bounded contexts: When domain boundaries are unclear, map the dependencies and ask for clarification before committing to a …
- Distinctive: line 132
Conflicting ubiquitous language: When the same term means different things in different contexts, document both meanings and define an …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Iron Law: Never design domain boundaries without analyzing existing bounded contexts first; always map ubiquitous language before proposing aggregates.
DDD Architect Skill
Generate comprehensive Domain-Driven Design architecture documentation following industry standards. Tech-stack agnostic — works with any language, framework, or cloud platform.
How This Skill Works
This skill uses progressive disclosure. Read the reference files as needed:
| Phase | Reference File | When to Load |
| Strategic Design | reference/strategic-design.md | Always — start here |
| Tactical Design | reference/tactical-design.md | After strategic phase |
| Technical Architecture | reference/technical-architecture.md | After tactical phase |
| Implementation | reference/implementation-guidelines.md | After architecture phase |
| Output Templates | assets/templates/ | When generating documents |
Execution Protocol
Step 0: Gather Context
Before starting, confirm you have:
- Domain description — what does the business do?
- Requirements — user stories, PRDs, or feature lists (files or description)
- Tech stack — languages, frameworks, databases, cloud platform
- Architecture style — microservices, modular monolith, or undecided
- Team structure — number of teams, ownership boundaries (if known)
- Existing system — greenfield or brownfield? Migration constraints?
If any are missing, ask before proceeding. Do NOT assume.
Step 1: Strategic Design
Read reference/strategic-design.md, then:
- Identify core, supporting, and generic subdomains
- Classify by strategic value and complexity
- Discover bounded contexts using linguistic analysis
- Define ubiquitous language per context
- Create context map with relationship patterns
- Map team ownership (Conway's Law alignment)
Output: docs/ddd/01-strategic-design.md
Step 2: Tactical Design
Read reference/tactical-design.md, then:
- Design aggregates with invariants and consistency boundaries
- Identify entities, value objects, domain events
- Define repository interfaces and domain services
- Design sagas for cross-aggregate workflows
- Apply CQRS if read/write patterns diverge
Output: docs/ddd/02-tactical-design.md
Step 3: Technical Architecture
Read reference/technical-architecture.md, then:
- API design aligned with aggregates
- Database schema per bounded context
- Integration patterns (events, sync, anti-corruption layers)
- Cloud-native considerations (containers, scaling, observability)
Output: docs/ddd/03-technical-architecture.md
Step 4: Implementation Guidelines
Read reference/implementation-guidelines.md, then:
- Package/module structure following DDD layers
- Testing strategy (unit, integration, contract, E2E)
- Security architecture
- CI/CD and deployment patterns
Output: docs/ddd/04-implementation-guidelines.md
Step 5: Final Deliverables
Generate remaining documents:
docs/ddd/00-executive-summary.md— 1-2 page overview with key decisions and risksdocs/ddd/05-implementation-roadmap.md— phased delivery plandocs/ddd/appendix-glossary.md— ubiquitous language glossarydocs/ddd/appendix-adrs.md— architectural decision records
Quality Gate
Before marking any phase complete, verify:
- Business alignment — solution addresses actual business needs
- Low coupling between contexts, high cohesion within
- Every aggregate has defined invariants
- Every domain event has a clear trigger and consumer
- Context map shows ALL integration points
- No anemic domain models (logic in services instead of entities)
- Conway's Law considered — context boundaries match team boundaries
- Trade-offs documented for every non-obvious decision
Important Rules
- Tech-stack agnostic: Use the project's actual tech stack for code examples, not hardcoded defaults
- No cargo-culting: Don't apply patterns just because DDD says so — justify every pattern
- Right-size aggregates: Small aggregates (1-3 entities) are almost always better than large ones
- Events over coupling: Prefer domain events between contexts over direct calls
- Ubiquitous language is mandatory: Every document must use domain language, not technical jargon
- Diagrams: Use Mermaid syntax for all diagrams (context maps, sequence, class, C4)
Error Handling
Ambiguous bounded contexts: When domain boundaries are unclear, map the dependencies and ask for clarification before committing to a context map.
Conflicting ubiquitous language: When the same term means different things in different contexts, document both meanings and define an anti-corruption layer.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

