component-consolidation
CommunityConsolidate components safely with audits
Authorarmanisadeghi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Safely consolidate duplicate or redundant components by auditing for unique logic before deletion, updating all consumers, and cleaning up exports/indexes. Use when asked to remove a component in favor of another, eliminate duplicates, reduce two versions of something to one, or clean up redundant UI components.
Core Features & Use Cases
- Audit both components for unique logic, state management, props, and edge cases to determine what should be kept vs removed
- Find all usages across direct imports, dynamic imports, index re-exports, and documentation to prevent dangling references
- Update consumers and exports in a controlled, auditable sequence, then remove the redundant component
- Provide a phase-by-phase plan to preserve functionality and minimize breaking changes across teams
Quick Start
Audit two target components to identify unique logic, usages, and required callers, then consolidate by updating imports/exports and removing the redundant component.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: component-consolidation Download link: https://github.com/armanisadeghi/ai-matrx/archive/main.zip#component-consolidation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.