A Claude Code skill that generates or updates highly effective CLAUDE.md files following research-backed best practices.
- Creates new CLAUDE.md files by auto-detecting your project's tools, frameworks, and conventions
- Updates existing CLAUDE.md files by diagnosing bloat, redundancy, and anti-patterns
- Works at any level: home (
~/.claude/CLAUDE.md), project root, parent, or child directory - Enforces line budgets, cuts what Claude can figure out on its own, and suggests
@importsfor progressive disclosure
git clone https://github.com/GautamSrikrishna/craft-claudemd.git
mkdir -p ~/.claude/skills/craft-claudemd
cp -r craft-claudemd/SKILL.md craft-claudemd/references ~/.claude/skills/craft-claudemd/git clone https://github.com/GautamSrikrishna/craft-claudemd.git
mkdir -p /path/to/your/project/.claude/skills/craft-claudemd
cp -r craft-claudemd/SKILL.md craft-claudemd/references /path/to/your/project/.claude/skills/craft-claudemd/Start a new Claude Code session and run:
/craft-claudemd
You should see Claude begin the CLAUDE.md creation workflow.
The skill triggers automatically when you ask Claude to:
- "Create a CLAUDE.md for this project"
- "Improve my CLAUDE.md"
- "My CLAUDE.md is too long"
- "Set up Claude Code for this repo"
Or invoke it manually with /craft-claudemd.
craft-claudemd/
├── SKILL.md # Core workflow (CREATE/UPDATE modes)
└── references/
├── best-practices.md # Do's, don'ts, anti-patterns, instruction budget
├── location-guide.md # What belongs at each CLAUDE.md location
└── templates.md # Starter templates by project type
For a global install:
rm -rf ~/.claude/skills/craft-claudemdFor a project-level install:
rm -rf /path/to/your/project/.claude/skills/craft-claudemd