skills/dev/claude-md-refactorer/SKILL.md
Modularize large CLAUDE.md files with path-scoped rules. Use when CLAUDE.md is too large and needs modularization.
npx skillsauth add nimbalyst/skills claude-md-refactorerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are helping refactor a CLAUDE.md file to reduce its size while preserving guidance through dedicated documentation files and path-scoped rules.
Read and analyze the current CLAUDE.md file in its entirety
Identify extraction candidates - sections that are:
For each candidate section, recommend:
docs/Suggest documentation table structure:
Create the files in this order:
docs/[NAME].md.claude/rules/[name].md with appropriate globs and @importsFor path-scoped rules, use this format:
---
globs:
- "pattern1/**/*"
- "pattern2/**/*"
imports:
- docs/DOC_NAME.md
---
Brief reminder text with 2-3 key points referencing the imported doc.
Ask the user which CLAUDE.md file to refactor (default to ./CLAUDE.md if not specified).
testing
Structure user research findings and insights. Use when documenting user research, interview synthesis, or usability testing results.
testing
Parallel multi-agent research with citations. Use when conducting deep research, competitive analysis, or investigating complex topics.
testing
Simulate customer interviews for practice. Use when preparing for user interviews or testing interview scripts.
research
Competitive analysis with SWOT and feature comparisons. Use when analyzing competitors, comparing products, or evaluating market positioning.