domain-analysis

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

1|1|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/RamonsDka/the-architect-overlay --skill domain-analysis-ramonsdka
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-analysis
Source: https://github.com/RamonsDka/the-architect-overlay/tree/main/skills/domain-analysis
Command: npx skills add https://github.com/RamonsDka/the-architect-overlay --skill domain-analysis-ramonsdka

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps identify subdomains and bounded contexts within a codebase to enable precise domain-driven design and architecture planning.

Core Features & Use Cases

  • Extract business concepts (entities, services, use cases, controllers) from codebases.
  • Group concepts by Ubiquitous Language to discover cohesive domains.
  • Identify subdomains (Core, Supporting, Generic) and propose bounded contexts with integration patterns.
  • Generate cohesion matrices and highlight low-cohesion and coupling issues.
  • Produce actionable recommendations for domain separation and refactoring.

Quick Start

Analyze a codebase to identify subdomains and bounded contexts and produce a domain map with cohesion metrics.

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 and subdomains in my codebase?

To identify bounded contexts and subdomains, you extract business concepts like entities and controllers, group them by Ubiquitous Language, and classify them as core, supporting, or generic domains. This reveals natural boundaries for architecture planning.

What is a cohesion matrix in domain-driven design?

A cohesion matrix in domain-driven design measures the linguistic and structural coupling between business concepts. It highlights low-cohesion areas and integration issues, guiding precise recommendations for separating subdomains and refactoring bounded contexts.

How do I extract Ubiquitous Language to map cohesive domains?

You extract Ubiquitous Language by analyzing business vocabulary across codebase entities, services, and use cases. Grouping these linguistic terms reveals cohesive domains and exposes linguistic boundaries for strategic subdomain mapping.

Can I use domain analysis to find core, supporting, and generic subdomains?

Yes, domain analysis categorizes extracted business concepts into core, supporting, and generic subdomains. It evaluates business vocabulary grouping and cohesion to classify domains, producing actionable recommendations for product and engineering teams.

Does domain-driven design analysis work for projects of any size?

Domain-driven design analysis applies to projects of any size by extracting business concepts and grouping them by Ubiquitous Language. It detects subdomains and proposes bounded contexts regardless of codebase scale, though larger projects yield more complex cohesion matrices.