Domain model extractor

From a5c-ai/babysitter · View interactive version

Domain model extractor is an AI agent skill from the GitHub repository a5c-ai/babysitter. Extract domain models from monolithic codebases using DDD principles for microservices decomposition

How to use this skill

Skill file

Domain Model Extractor Skill

Extracts domain models from monolithic codebases using Domain-Driven Design principles to support microservices decomposition.

Purpose

Enable domain analysis for:

Capabilities

1. Bounded Context Identification

2. Aggregate Detection

3. Entity Relationship Mapping

4. Domain Event Discovery

5. Ubiquitous Language Extraction

6. Context Map Generation

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

{
  "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

Related Skills

Related Agents

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.