domain-analysis

Identify subdomains and bounded contexts in codebases using DDD strategic design.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/alexjcm/agent-skillset --skill domain-analysis-alexjcm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-analysis
Source: https://github.com/alexjcm/agent-skillset/tree/main/skills/arquitecture/domain-analysis
Command: npx skills add https://github.com/alexjcm/agent-skillset --skill domain-analysis-alexjcm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identifies subdomains (Core, Supporting, Generic) and maps bounded contexts in codebases using Domain-Driven Design (DDD) strategic design principles.

Core Features & Use Cases

  • Extracts business concepts (entities, services, use cases, and controllers) from code to reveal domain boundaries.
  • Groups concepts by Ubiquitous Language to surface cohesive subdomains and linguistic boundaries.
  • Recommends bounded contexts and integration patterns to support cross-domain collaboration and refactoring planning.
  • Use cases include analyzing large monoliths or hybrids to plan domain-driven restructuring and improve maintainability.

Quick Start

Analyze a codebase to identify subdomains and map bounded contexts.

Frequently Asked Questions about domain-analysis

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

FAQPage Schema
How do I identify subdomains and bounded contexts in a large monolith codebase?

To identify subdomains and bounded contexts in a monolith, extract business concepts from code and group them by Ubiquitous Language to reveal Core, Supporting, and Generic subdomains. This process surfaces linguistic boundaries and suggests clear domain-driven restructuring boundaries.

What is the best way to map linguistic boundaries using domain-driven design?

Mapping linguistic boundaries using domain-driven design involves extracting entities, services, and controllers to group cohesive business concepts. This reveals bounded contexts and enforces clear boundaries, producing domain maps and cohesion matrices to support cross-domain collaboration.

Can I use DDD strategic design to plan refactoring for hybrid microservices architectures?

DDD strategic design applies across monoliths, microservices, or hybrid architectures to plan domain-driven restructuring. It analyzes the codebase to reveal Core, Supporting, and Generic subdomains, mapping bounded contexts to improve maintainability and support cross-domain collaboration.

How do you assess domain cohesion when extracting bounded contexts from source code?

Assessing domain cohesion involves extracting business concepts and grouping them by Ubiquitous Language to surface cohesive subdomains. This analysis generates a cohesion matrix and bounded-context suggestions, enforcing clear boundaries for actionable refactoring recommendations.

What distinguishes Core subdomains from Supporting and Generic subdomains in domain analysis?

In domain analysis, Core subdomains contain the primary business differentiators, while Supporting subdomains assist them and Generic subdomains provide common functionality. Identifying these categories involves extracting code concepts and grouping them by Ubiquitous Language to map bounded contexts.