Stop stuffing procedures into CLAUDE.md: move step-by-step workflows into Skills
What it does
Skunzu (@skunzu) highlighted a high-impact pattern from Anthropic's documentation: `CLAUDE.md` is loaded into context on every single turn, whereas a skill in `.claude/skills/
How to install
- Audit your project's `CLAUDE.md` and keep only repo-wide facts that apply to every session (build/test commands and core architecture rules).
- Run this prompt in Claude Duet or Claude Code to extract procedural checklists into on-demand skills:
Read my current CLAUDE.md and identify every section that is a step-by-step procedure (such as deployment, PR checks, migrations, or release notes) rather than a global repo invariant. For each procedure, propose a separate `.claude/skills/<skill-name>/SKILL.md` file with: 1. YAML frontmatter (`name` and a crisp 1-sentence `description` stating when to trigger it, plus `disable-model-invocation: true` for destructive/deploy workflows) 2. The exact step-by-step checklist in the body Show me the slimmed-down CLAUDE.md diff and the proposed skill files before writing them.
- Source: https://x.com/skunzu/status/2111885271180390441