component-common-domai…
Finds duplicate business logic spread across multiple components and suggests consolidation. Use when asking "where is this logic…
Groups existing components into logical business domains to plan service-based architecture. Use when asking "which components belong together?", "group these into services", "organize by domain", "component-to-domain mapping", or planning service extraction from an existing
Claude Code
$ npx -y skills add tech-leads-club/agent-skills --skill domain-identification-grouping --agent claude-code
Codex
$ npx skills add tech-leads-club/agent-skills --skill domain-identification-grouping -a codex -y
Cursor
$ npx skills add tech-leads-club/agent-skills --skill domain-identification-grouping -a cursor -y
Gemini CLI
$ npx skills add tech-leads-club/agent-skills --skill domain-identification-grouping -a gemini-cli -y
GitHub Copilot
$ npx skills add tech-leads-club/agent-skills --skill domain-identification-grouping -a github-copilot -y
OpenCode
$ npx skills add tech-leads-club/agent-skills --skill domain-identification-grouping -a opencode -y
Windsurf
$ npx skills add tech-leads-club/agent-skills --skill domain-identification-grouping -a windsurf -y
name: domain-identification-grouping description: Groups existing components into logical business domains to plan service-based architecture. Use when asking "which components belong together?", "group these into services", "organize by domain", "component-to-domain mapping", or planning service extraction from an existing codebase. Do NOT use for identifying new domains from scratch (use domain-analysis) or analyzing coupling (use coupling-analysis).
This skill groups architectural components into logical domains (business areas) to prepare for creating domain services in a service-based architecture.
Request analysis of your codebase:
**Example 1: Domain Identification**
User: "Group components into logical domains" The skill will: 1. Analyze component responsibilities and relationships 2. Identify business domains based on functionality 3. Group components into domains 4. Create domain diagrams 5. Suggest namespace refactoring for domain alignment
**Example 2: Domain Analysis**
User: "Which domain should the billing components belong to?" The skill will: 1. Analyze billing component functionality 2. Check relationships with other components 3. Identify appropriate domain (e.g., Customer or Financial) 4. Recommend domain assignment
**Example 3: Domain Refactoring**
User: "What namespace refactoring is needed to align components with domains?" The skill will: 1. Compare current component namespaces to identified domains 2. Identify misaligned components 3. Suggest namespace changes 4. Create refactoring plan
1. **Identify Domains**: Analyze business capabilities and component relationships 2. **Group Components**: Assign components to appropriate domains 3. **Validate Groupings**: Ensure components fit well in their domains 4. **Refactor Namespaces**: Align component namespaces with domains 5. **Create Domain Map**: Visualize domain structure and component groupings
Apply this skill when:
A **domain** is a logical grouping of components that:
**Examples**:
**One-to-Many**: A single domain contains multiple components
Domain: Customer ├── Component: Customer Profile ├── Component: Billing Payment ├── Component: Billing History └── Component: Support Contract
Domains are physically manifested through **namespace structure**:
**Before Domain Alignment**:
services/billing/payment services/billing/history services/customer/profile services/supportcontract
**After Domain Alignment**:
services/customer/billing/payment services/customer/billing/history services/customer/profile services/customer/supportcontract
Notice how all customer-related functionality is grouped under `.customer` domain.
Analyze the codebase to identify distinct business domains:
1. **Examine Component Responsibilities**
2. **Look for Business Language**
3. **Identify Domain Boundaries**
4. **Collaborate with Business Stakeholders**
**Example Domain Identification**:
## Identified Domains 1. **Ticketing Domain** (ss.ticket) - Ticket creation, assignment, routing, completion - Customer surveys - Knowledge base 2. **Customer Domain** (ss.customer) - Customer profile - Billing and payment - Support contracts 3. **Reporting Domain** (ss.reporting) - Ticket reports - Expert reports - Financial reports 4. **Admin Domain** (ss.admin) - User maintenance - Expert profile management 5. **Shared Domain** (ss.shared) - Login - Notification
Assign each component to an appropriate domain:
1. **Analyze Component Functionality**
2. **Check Component Relationships**
3. **Assign to Domain**
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…
Maps business domains and suggests service boundaries in any codebase using DDD Strategic Design. Use when asking "what are the…
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.