component-common-domai…
Finds duplicate business logic spread across multiple components and suggests consolidation. Use when asking "where is this logic…
Maps business domains and suggests service boundaries in any codebase using DDD Strategic Design. Use when asking "what are the domains in this codebase?", "where should I draw service boundaries?", "identify bounded contexts", "classify subdomains", "DDD analysis", or analyzing
Claude Code
$ npx -y skills add tech-leads-club/agent-skills --skill domain-analysis --agent claude-code
Codex
$ npx skills add tech-leads-club/agent-skills --skill domain-analysis -a codex -y
Cursor
$ npx skills add tech-leads-club/agent-skills --skill domain-analysis -a cursor -y
Gemini CLI
$ npx skills add tech-leads-club/agent-skills --skill domain-analysis -a gemini-cli -y
GitHub Copilot
$ npx skills add tech-leads-club/agent-skills --skill domain-analysis -a github-copilot -y
OpenCode
$ npx skills add tech-leads-club/agent-skills --skill domain-analysis -a opencode -y
Windsurf
$ npx skills add tech-leads-club/agent-skills --skill domain-analysis -a windsurf -y
name: domain-analysis description: Maps business domains and suggests service boundaries in any codebase using DDD Strategic Design. Use when asking "what are the domains in this codebase?", "where should I draw service boundaries?", "identify bounded contexts", "classify subdomains", "DDD analysis", or analyzing domain cohesion. Do NOT use for grouping existing components into domains (use domain-identification-grouping) or dependency analysis (use coupling-analysis).
This skill analyzes codebases to identify subdomains (Core, Supporting, Generic) and suggest bounded contexts following Domain-Driven Design Strategic Design principles.
Apply this skill when:
**Core Domain**: Competitive advantage, highest business value, requires best developers
**Supporting Subdomain**: Essential but not differentiating, business-specific
**Generic Subdomain**: Common functionality, could be outsourced
An explicit linguistic boundary where domain terms have specific, unambiguous meanings.
Scan codebase for business concepts (not infrastructure):
1. **Entities** (domain models with identity)
2. **Services** (business operations)
3. **Use Cases** (business workflows)
4. **Controllers/Resolvers** (entry points)
For each concept, determine:
**Primary Language Context**
**Linguistic Boundaries**
**Concept Relationships**
A subdomain has:
**Common Domain Patterns**:
**Classify Each Subdomain**:
Use this decision tree:
Is it a competitive advantage?
YES → Core Domain
NO → Does it require business-specific knowledge?
YES → Supporting Subdomain
NO → Generic Subdomain**High Cohesion Indicators** ✅
**Low Cohesion Indicators** ❌
**Cohesion Score Formula**:
Score = ( Linguistic Cohesion (0-3) + // Shared vocabulary Usage Cohesion (0-3) + // Used together Data Cohesion (0-2) + // Entity relationships Change Cohesion (0-2) // Change together ) / 10 8-10: High Cohesion ✅ 5-7: Medium Cohesion ⚠️ 0-4: Low Cohesion ❌
**Rule 1: Linguistic Mismatch**
**Rule 2: Cross-Domain Dependencies**
**Rule 3: Mixed Responsibilities**
**Rule 4: Generic in Core**
**Rule 5: Unclear Boundaries**
For each subdomain identified, suggest bounded context:
**Bounded Context Characteristics**:
**Integration P
The secure, validated skill registry for professional AI coding agents. Extend Antigravity, Claude Code, Cursor, Copilot and more with absolute confidence.
Finds duplicate business logic spread across multiple components and suggests consolidation. Use when asking "where is this logic…
Detects misplaced classes and fixes component hierarchy problems — finds code that should belong inside a component but sits at…
Maps architectural components in a codebase and measures their size to identify what should be extracted first. Use when asking…
Analyzes coupling between modules using the three-dimensional model (strength, distance, volatility) from "Balancing Coupling in…
Creates step-by-step decomposition plans and migration roadmaps for breaking apart monolithic applications. Use when asking "what…
Groups existing components into logical business domains to plan service-based architecture. Use when asking "which components…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.