creating-claude-md
Installation
SKILL.md
Creating a CLAUDE.md From Scratch
Generate a lean, high-signal CLAUDE.md for a repository by combining an autonomous repo scan with a focused 6-question user interview.
Core principle: Every line must earn its place. If removing a line would not cause Claude to make a specific mistake, it does not belong in the file.
When to Use vs. Not Use
Use when:
- Repo has no CLAUDE.md and user wants one.
- Repo has a CLAUDE.md that the user considers unsalvageable and wants rewritten from scratch.
- User says "set this repo up for Claude Code", "bootstrap project memory", "write me a CLAUDE.md".
Do NOT use when:
- User wants to audit, improve, or incrementally fix an existing CLAUDE.md. Route to
claude-md-improverinstead. - User wants to add a single rule / gotcha to an existing file. Edit directly.
- Repo is a scratch directory with no meaningful content yet.