Registry / tech-leads-club

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-analysis

Without 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-analysis

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:tech-leads-club/agent-skills/component-flattening-analysis

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.