component-flattening-analysis
100 / 100 · Low risk
Fine to try.
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).
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'component-flattening-analysis' ] || [ -L ~/.agents/skills/'component-flattening-analysis' ]; then echo 'A skill folder named component-flattening-analysis already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/onfire7777/universal-ai-skills-library' "$d" && git -C "$d" checkout --quiet '2a76bf42ce5c860adf8d0f3fcf3f6804109ac65b' -- 'skills/component-flattening-analysis' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/component-flattening-analysis' ~/.agents/skills/'component-flattening-analysis' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'component-flattening-analysis' ~/.claude/skills/'component-flattening-analysis' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/onfire7777/universal-ai-skills-library/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | 2a76bf4 | 100 |