Giverny

Component Flattening Analysis

Detects misplaced classes and fixes component hierarchy problems — finds code that should belong inside a component but sits at the root level.

by tech-leads-club★ 7,232General

What Component Flattening Analysis does

Detects misplaced classes and fixes component hierarchy problems — finds code that should belong inside a component but sits at the root level. Use when asking "clean up component structure", "find orphaned classes", "fix module hierarchy", "flatten nested components", or analyzing why namespaces have misplaced code. Do NOT use for dependency analysis (use coupling-analysis) or domain grouping (use domain-identification-grouping).

How to install Component Flattening Analysis in Claude Code

Giverny gives you a ready prompt with the exact install command from tech-leads-club/agent-skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone tech-leads-club/agent-skills and copy the packages/skills-catalog/skills/(architecture)/component-flattening-analysis folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Component Flattening Analysis on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the component-flattening-analysis skill on my current project.”

More Claude skills for general