From claudemd
Use when CLAUDE.md files are too large, have duplicated content between root and modules, or the context budget per working directory exceeds limits
npx claudepluginhub jugrajsingh/skillgarden --plugin claudemdThis skill is limited to using the following tools:
Reduce context cost across ALL files while preserving signal. Operates on the full hierarchy: root, module-level, and .claude/rules/.
Creates new Angular apps using Angular CLI with flags for routing, SSR, SCSS, prefixes, and AI config. Follows best practices for modern TypeScript/Angular development. Use when starting Angular projects.
Generates Angular code and provides architectural guidance for projects, components, services, reactivity with signals, forms, dependency injection, routing, SSR, ARIA accessibility, animations, Tailwind styling, testing, and CLI tooling.
Executes ctx7 CLI to fetch up-to-date library documentation, manage AI coding skills (install/search/generate/remove/suggest), and configure Context7 MCP. Useful for current API refs, skill handling, or agent setup.
Reduce context cost across ALL files while preserving signal. Operates on the full hierarchy: root, module-level, and .claude/rules/.
find . -name 'CLAUDE.md' -not -path '*/node_modules/*' -not -path '*/venv/*' 2>/dev/null | while read f; do echo "$(wc -l < "$f") $f"; done
wc -l .claude/rules/*.md 2>/dev/null
Read all files. Compute per-directory context load (root + all modules loaded for that working directory). If worst-case <100 lines and no anti-patterns: "Hierarchy is already lean. No optimization needed."
Apply the 7 categories from references/optimizations.md:
Full descriptions, before/after examples, and code blocks for each category are in references/optimizations.md.
Show the current worst-case load, target load, and per-file change summary. Use the plan template from references/report-templates.md.
Ask user to confirm before applying: "Apply all", "Cherry-pick", or "Preview only".
For each approved optimization:
Show before/after line counts per file and updated context load map. Use the report template from references/report-templates.md.
| File Level | Ideal | Max |
|---|---|---|
| Root CLAUDE.md | 50-80 | 150 |
| Module CLAUDE.md | 30-50 | 80 |
| Sub-module CLAUDE.md | 15-30 | 50 |
| .claude/rules/ file | 15-30 | 50 |
| Max loaded at once | 100-150 | 250 |