component-flattening-analysis

Official

Identify and fix component hierarchies with ease.

Authortech-leads-club
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill identifies and fixes component hierarchy issues by detecting orphaned classes in root namespaces and ensuring components exist only as leaf nodes. Use it when analyzing component structure, finding orphaned classes, flattening component hierarchies, removing component nesting, or when the user asks about component flattening, orphaned classes, or component structure cleanup.

Core Features & Use Cases

  • Map component namespace structures to identify root namespaces and leaf components.
  • Detect orphaned classes in root namespaces and classify as shared/domain/mixed.
  • Propose flattening strategies (Consolidate Down, Split Up, Move Shared Code) and produce actionable refactoring plans.
  • Generate structured outputs (flattening plans, hierarchy reports) to guide safe refactors.

Quick Start

  • Request analysis of your codebase using phrases like:
  • "Find orphaned classes in root namespaces"
  • "Flatten component hierarchies"
  • "Analyze component structure for hierarchy issues"

Dependency Matrix

Required Modules

None required

Components

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-flattening-analysis
Download link: https://github.com/tech-leads-club/agent-skills/archive/main.zip#component-flattening-analysis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.