component-common-domain-detection

Detect duplicated domain logic across components and evaluate consolidation strategies.

Updated May 1, 2026
One-click install
npx skills add https://github.com/Roger-Quinelato/BBSIA-Copia --skill component-common-domain-detection-roger-quinelato
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: component-common-domain-detection
Source: https://github.com/Roger-Quinelato/BBSIA-Copia/tree/main/.claude/skills/component-common-domain-detection
Command: npx skills add https://github.com/Roger-Quinelato/BBSIA-Copia --skill component-common-domain-detection-roger-quinelato

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps software teams detect duplicated domain-related functionality across multiple components, reducing maintenance overhead and legacy code bloat.

Core Features & Use Cases

  • Pattern Detection: Finds common namespace patterns like ".notification" or ".audit".
  • Shared Class Identification: Locates classes used by multiple components for potential sharing.
  • Functionality Similarity Analysis: Compares component logic to assess if consolidation is feasible.
  • Coupling Impact Evaluation: Calculates coupling metrics before and after proposed consolidation.
  • Consolidation Recommendations: Suggests shared service, library, or component merge to streamline codebase.
  • Impact Planning: Provides detailed steps for implementing consolidation with minimal risk.

Quick Start

Analyze your component structure to detect duplicated domain logic, shared classes, and consolidation opportunities with minimal effort.

Frequently Asked Questions about component-common-domain-detection

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

FAQPage Schema
How do I detect duplicated domain logic across multiple components?

Detecting duplicated domain logic involves analyzing component namespaces and identifying shared classes to locate overlapping functionality. This Skill evaluates coupling impacts and suggests consolidation strategies to streamline architecture and reduce maintenance overhead.

What is the best way to analyze code coupling before consolidating shared classes?

Analyzing code coupling requires calculating coupling metrics before and after proposed consolidation. This Skill evaluates the impact of merging shared classes or extracting services, ensuring architectural changes improve maintainability without increasing coupling risks.

How does pattern detection find common domain logic in a codebase?

Pattern detection finds common domain logic by scanning for recurring namespace patterns like notification or audit. This identifies shared classes used by multiple components, enabling functionality similarity analysis to assess if consolidation is feasible.

Can I get consolidation recommendations for shared services and library extraction?

Consolidation recommendations are provided by suggesting shared service creation, library extraction, or component merges. This Skill delivers detailed impact planning steps for implementing architecture consolidation with minimal risk and reduced legacy code bloat.

Does this architecture consolidation approach work without specific framework dependencies?

Architecture consolidation works without specific framework dependencies. This Skill operates directly on your component structure to detect shared classes and duplicated domain logic, requiring no external dependencies to evaluate coupling impacts and recommend merges.