/claude-resources:claudemd-refactorfrom claude-resources
Analyzes and refactors a large root CLAUDE.md into smaller directory-scoped files to optimize context delivery for Claude Code.
Ships in claude-resources. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Analyze and refactor CLAUDE.md files in the current repository to optimize how context is delivered to Claude Code.
When deciding where to place information, follow this hierarchy (most to least reliable):
| Approach | Reliability | Tradeoff |
|---|---|---|
| Inline in CLAUDE.md | Highest | Larger CLAUDE.md |
| Directory-scoped CLAUDE.md | High | Content must be relevant to that directory |
| Explicit "read before doing X" | Medium | Depends on Claude following the instruction |
| Passive "refer to file" | Low | Claude may or may not read it |
Key principle: Claude Code automatically loads CLAUDE.md files based on the working directory. Root CLAUDE.md is always loaded. Subdirectory CLAUDE.md files are loaded when working on files in that directory. Content in CLAUDE.md is always in context — no tool call needed.
Find all existing CLAUDE.md files in the repo
Glob: **/CLAUDE.md
Read the root CLAUDE.md — understand what's currently there, measure its size
Explore the repo structure — understand the directory layout, identify logical boundaries
Present the user with a concrete proposal. Include:
Proposed CLAUDE.md structure — show a tree like:
repo/
├── CLAUDE.md # Global: project overview, tech stack, universal conventions
├── src/
│ └── CLAUDE.md # Code: naming conventions, import rules, architecture patterns
├── docs/
│ └── CLAUDE.md # Docs: writing style, frontmatter, formatting rules
└── tests/
└── CLAUDE.md # Tests: testing conventions, fixture locations, coverage rules
For each proposed CLAUDE.md, list:
IMPORTANT: Do NOT proceed without explicit user approval. Present the plan and ask:
After approval:
Use these rules to decide where content belongs:
When analyzing existing CLAUDE.md, look for and fix these anti-patterns:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub takazudo/claude-resources --plugin claude-resources84 skills in this plugin
/bambu-3mfCreate/edit Bambu Studio 3MF projects from a saved printer template. Use for Bambu/H2D printable parts, plate arrangement, 3MF revisions, or print settings, even when the input is STL/STEP./big-planPlan work as one epic plus child GitHub issues, with review and verification. Use for /big-plan, implementation planning/decomposition, UI brainstorming that should end in a plan (-pr), or issue sweeps (-is/-isask)./cclogsLoad recent prototypes, plans, logs and artifacts from the repo-scoped cclogs dir to continue earlier work. Use for /cclogs, or whenever the user refers to a prior session's prototype/plan/report as if it exists.Other plugins' skills for the same job