Architectural Domain Consolidation

•
9
•

Analyzes codebases to find duplicate business logic and suggests consolidation strategies based on coupling impact.

This skill automates the detection of redundant domain logic spread across different service namespaces and components. It scans for common patterns in classes and files, identifies shared domain functionality, and evaluates the feasibility of merging these elements into shared services or libraries. By calculating afferent coupling (CA) both before and after consolidation, it provides tech leads and architects with data-driven recommendations to reduce code duplication while maintaining architectural integrity.

主要功能

01Detection of shared domain classes versus infrastructure utilities
02Structured consolidation reports with step-by-step refactoring plans
03Feasibility assessment for shared services vs. shared libraries
049 GitHub stars
05Automated namespace pattern scanning for common domain leaf nodes
06Afferent coupling (CA) impact analysis and bottleneck prediction

使用场景

01Identifying redundant notification, auditing, or validation logic across microservices
02Preparing for architectural refactoring by calculating the coupling impact of merging components
03Analyzing shared classes to determine if they should be extracted into a common library