Official Claude Duet bannerPrompt

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//SKILL.md` only keeps its short description in context and loads the full step-by-step instructions only when that skill is invoked.

How to install

  1. Audit your project's `CLAUDE.md` and keep only repo-wide facts that apply to every session (build/test commands and core architecture rules).
  2. 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.
  3. Source: https://x.com/skunzu/status/2111885271180390441