tech-leads-club/agent-skills/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. 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).
Agent skill · version 1.6.3 · from tech-leads-club/agent-skills
Install
npx yarkr-cli add skill:tech-leads-club/agent-skills/component-flattening-analysisWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:tech-leads-club/agent-skills/component-flattening-analysis
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:tech-leads-club/agent-skills/component-flattening-analysisOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:tech-leads-club/agent-skills/component-flattening-analysisWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.