domain-analysis

Analyze codebases to identify subdomains and suggest bounded contexts using DDD principles.

1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/Matheusrlr/payment-orchestrator --skill domain-analysis-matheusrlr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-analysis
Source: https://github.com/Matheusrlr/payment-orchestrator/tree/main/skills-catalog/skills/%28architecture%29/domain-analysis
Command: npx skills add https://github.com/Matheusrlr/payment-orchestrator --skill domain-analysis-matheusrlr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you understand the business domains within your codebase, identify core business advantages, and define clear boundaries for your software components.

Core Features & Use Cases

  • Subdomain Identification: Classifies parts of your code as Core, Supporting, or Generic business domains.
  • Bounded Context Suggestion: Proposes clear linguistic boundaries for your domains, aligning with DDD principles.
  • Cohesion Analysis: Assesses how well concepts within a domain fit together and identifies coupling issues between domains.
  • Use Case: When refactoring a monolith into microservices, use this Skill to identify natural domain boundaries and ensure each service has a cohesive purpose and clear responsibilities.

Quick Start

Analyze the domains in this codebase and suggest 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 bounded contexts when refactoring a monolith into microservices?

To identify bounded contexts, you analyze codebases to extract business concepts and group them by Ubiquitous Language. This process assesses cohesion and maps clear linguistic boundaries aligned with Domain-Driven Design Strategic Design principles.

What is the difference between Core, Supporting, and Generic subdomains in strategic design?

Subdomain classification distinguishes parts of your code by business value: Core domains provide competitive advantage, Supporting domains assist them, and Generic domains offer common functionality. Analyzing codebases identifies these subdomains to define clear software boundaries.

How do I detect low cohesion and coupling issues between business domains?

Detecting low cohesion involves assessing how well concepts within a domain fit together. By mapping bounded contexts and extracting business concepts, the analysis detects coupling issues between domains and identifies integration patterns.

Can I use domain modeling to align my codebase with business domains?

Yes, domain modeling maps your code to business domains by extracting business concepts and grouping them by Ubiquitous Language. It assesses cohesion and proposes bounded contexts to ensure components have clear responsibilities and cohesive purposes.

Does codebase analysis for subdomain identification require specific frameworks?

No, codebase analysis for subdomain identification does not require specific frameworks. It analyzes existing code to classify Core, Supporting, or Generic business domains and suggests bounded contexts using Domain-Driven Design Strategic Design principles.

When do I need strategic design to define clear boundaries for my software components?

You need strategic design when refactoring a monolith or defining clear boundaries for software components. It helps identify natural domain boundaries, assesses cohesion, detects coupling issues, and maps integration patterns to ensure cohesive purposes.