Tooluck logoTooluck
SKILL.md

component-flattening-analysis

Agent skill fromtech-leads-club/agent-skills

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

install component-flattening-analysis
# install the agent-skills pack with the skills CLI
npx skills add tech-leads-club/agent-skills

# or add only this skill to Claude Code: copy the folder

packages/skills-catalog/skills/(architecture)/component-flattening-analysis/

# into

~/.claude/skills/component-flattening-analysis/ (all projects)

.claude/skills/component-flattening-analysis/ (one project)

Read SKILL.md on GitHubThis repository's license doesn't allow showing an excerpt here.

More skills in agent-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates