domain-model-extractor
Extract domain models from monolithic codebases using DDD principles for microservices decomposition
Best use case
domain-model-extractor is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Extract domain models from monolithic codebases using DDD principles for microservices decomposition
Teams using domain-model-extractor should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/domain-model-extractor/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How domain-model-extractor Compares
| Feature / Agent | domain-model-extractor | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Extract domain models from monolithic codebases using DDD principles for microservices decomposition
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Domain Model Extractor Skill
Extracts domain models from monolithic codebases using Domain-Driven Design principles to support microservices decomposition.
## Purpose
Enable domain analysis for:
- Bounded context identification
- Aggregate detection
- Entity relationship mapping
- Domain event discovery
- Ubiquitous language extraction
## Capabilities
### 1. Bounded Context Identification
- Analyze code modules
- Identify domain boundaries
- Map team ownership
- Define context relationships
### 2. Aggregate Detection
- Find aggregate roots
- Map entity relationships
- Identify invariants
- Define consistency boundaries
### 3. Entity Relationship Mapping
- Extract entities
- Map relationships
- Identify value objects
- Document associations
### 4. Domain Event Discovery
- Find implicit events
- Map state changes
- Identify triggers
- Document event flows
### 5. Ubiquitous Language Extraction
- Build domain vocabulary
- Map term usage
- Identify synonyms
- Create glossary
### 6. Context Map Generation
- Map context relationships
- Identify integration patterns
- Document shared kernels
- Define anti-corruption layers
## Tool Integrations
| Tool | Purpose | Integration Method |
|------|---------|-------------------|
| EventStorming tools | Domain discovery | Manual/Digital |
| Architecture analyzers | Code analysis | CLI |
| Visualization tools | Context mapping | Export |
| Custom AST analyzers | Code parsing | CLI |
## Output Schema
```json
{
"extractionId": "string",
"timestamp": "ISO8601",
"domain": {
"boundedContexts": [
{
"name": "string",
"purpose": "string",
"aggregates": [],
"entities": [],
"events": [],
"services": []
}
],
"contextMap": {
"relationships": []
}
},
"ubiquitousLanguage": {
"terms": []
},
"recommendations": {
"serviceDecomposition": [],
"integrationPatterns": []
}
}
```
## Integration with Migration Processes
- **monolith-to-microservices**: Domain analysis
- **migration-planning-roadmap**: Strategic design
## Related Skills
- `architecture-analyzer`: Structure analysis
## Related Agents
- `ddd-analyst`: DDD expertise
- `microservices-decomposer`: Service extractionRelated Skills
model
Inspect or change Babysitter model-routing policy by phase.
mock-spec-extractor
Extracts design specifications from mock images including colors, typography, spacing, and component details
threat-modeler
Generate threat models using STRIDE, PASTA, or VAST methodologies
urdf-sdf-model
Expert skill for robot model creation and validation in URDF and SDF formats. Generate URDF files with proper link-joint hierarchy, create Xacro macros, calculate inertial properties, configure joint types, and validate models.
topic-modeling-text-mining
Apply LDA, NMF, and other computational methods to discover patterns in large text corpora with appropriate parameter tuning
systems-dynamics-modeler
Skill for building and simulating systems dynamics models
noise-modeler
Quantum noise modeling skill for simulation and hardware characterization
pymc-bayesian-modeler
PyMC probabilistic programming skill for hierarchical Bayesian models in physics data analysis
comsol-multiphysics-modeler
COMSOL finite element skill for multiphysics simulations including electromagnetics, heat transfer, and fluid dynamics
environmental-fate-modeler
Environmental nanosafety skill for modeling nanomaterial environmental fate and transport
cad-modeling
Expert skill for parametric 3D CAD model development with design intent and configuration management
stan-bayesian-modeling
Stan probabilistic programming for Bayesian inference