agentsclimarketplace

Domain model extractor

Skill a5c-ai/babysitter/library/specializations/code-migration-modernization/skills/domain-model-extractor

Extract domain models from monolithic codebases using DDD principles for microservices decompositionFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill domain-model-extractor

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.8 KB, 502 tokens by cl100k_base, as published. Nobody here has run it

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

ToolPurposeIntegration Method
EventStorming toolsDomain discoveryManual/Digital
Architecture analyzersCode analysisCLI
Visualization toolsContext mappingExport
Custom AST analyzersCode parsingCLI

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

  • 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 extraction

What ships with it: 1 file

1.6 KB alongside SKILL.md

Keep looking

Skills are one crate of 326,059. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.