/blueprint-plugin:blueprint-claude-mdfrom blueprint-plugin
Creates or updates CLAUDE.md and CLAUDE.local.md from blueprint artifacts, PRDs, and project structure. Helps convert inline content to @imports and set up personal project preferences.
Ships in blueprint-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate or update the project's CLAUDE.md file based on blueprint artifacts, PRDs, and project structure.
Branch-specific detail lives in references/, split by the path that needs it — an invocation opens only the file for the branch it takes.
| Use this skill when... | Use alternative when... |
|---|---|
| Need to create/update CLAUDE.md for team instructions | Use /blueprint:rules for path-specific rules |
| Want to add @imports to existing CLAUDE.md | Use /blueprint:generate-rules to create rules from PRDs |
| Need to create CLAUDE.local.md for personal preferences | Editing individual rule files directly |
| Converting inline content to lean @import structure | Just need to view current memory configuration |
Claude Code has two complementary systems for project context. CLAUDE.md should contain team-shared instructions — not patterns Claude learns on its own.
| Belongs in CLAUDE.md | Belongs in Auto Memory (managed by Claude) |
|---|---|
| Team coding standards | Debugging insights and workarounds |
| Build/test/lint commands | Personal workflow preferences |
| Architecture decisions | Project-specific patterns learned over time |
| Required conventions | File relationships and navigation shortcuts |
| CI/CD workflows | Common mistakes and how to fix them |
Auto memory lives at ~/.claude/projects/<project>/memory/ and is managed automatically. Do not duplicate auto memory concerns into CLAUDE.md.
~/.claude/rules/ — personal rules across all projects~/.claude/projects/<project>/memory/)CLAUDE.md files support importing other markdown files to stay lean:
# Project: MyApp
@docs/architecture.md
@docs/conventions.md
@.claude/rules/testing.md
Use @import to reference existing documentation rather than duplicating content into CLAUDE.md.
@import to reference existing docs instead of duplicating contentCLAUDE.local.md for personal preferences (auto-gitignored).claude/rules/ for detailed, path-specific rulesExecute this CLAUDE.md workflow:
CLAUDE.md in project rootCLAUDE.local.md (personal preferences, gitignored)docs/blueprint/manifest.json for configuration~/.claude/rules/ (user-level rules)claude_md_mode (single, modular, or both)Use AskUserQuestion:
{If CLAUDE.md exists:}
question: "CLAUDE.md already exists. What would you like to do?"
options:
- "Update with latest project info" → merge updates
- "Regenerate completely" → overwrite (backup first)
- "Add missing sections only" → append new content
- "Add @imports for existing docs" → replace inline content with imports
- "Convert to modular rules" → split into .claude/rules/
- "Create CLAUDE.local.md" → personal preferences (gitignored)
- "View current structure" → analyze and display
{If CLAUDE.md doesn't exist:}
question: "No CLAUDE.md found. How would you like to create it?"
options:
- "Generate from project analysis" → auto-generate
- "Generate from PRDs" → use blueprint PRDs
- "Generate with @imports (lean)" → auto-generate using imports for existing docs
- "Start with template" → use starter template
- "Use modular rules instead" → skip CLAUDE.md, use rules/
docs/prds/*.md for requirements.claude/rules/ if presentBuild the sections from references/template-sections.md: the standard skeleton, tailored with the per-project-type additions. Leave out what auto memory handles (see "CLAUDE.md vs Auto Memory" above).
If modular rules mode is both or modular, follow the matching section of references/modular-rules-split.md. Mode single skips this step.
references/template-sections.md § CLAUDE.local.md templatereferences/smart-update.md § Add @importsWhen CLAUDE.md already exists, follow references/smart-update.md § Smart update.
When .claude/rules/ has rules, follow references/modular-rules-split.md § Sync with modular rules.
Record the run in docs/blueprint/manifest.json per references/manifest-and-registry.md.
✅ CLAUDE.md updated!
{Created | Updated}: CLAUDE.md
{If created:} CLAUDE.local.md (personal preferences, gitignored)
Sections:
- Overview ✅
- Tech Stack ✅
- Development Workflow ✅
- Architecture ✅
- Conventions ✅
@imports used: {count, if any}
- @docs/prds/architecture.md
- @.claude/rules/testing.md
Sources used:
- PRDs: {list}
- Rules: {list}
- Project detection: {what was detected}
{If modular mode:}
Note: Detailed rules are in .claude/rules/
CLAUDE.md serves as overview and quick reference.
Note: "Current Focus" and "Key Files" are managed by Claude's
auto memory — no need to maintain these in CLAUDE.md.
Run `/blueprint:status` to see full configuration.
Use AskUserQuestion:
question: "CLAUDE.md updated. What would you like to do next?"
options:
- label: "Check blueprint status (Recommended)"
description: "Run /blueprint:status to verify configuration"
- label: "Manage modular rules"
description: "Add or edit rules in .claude/rules/"
- label: "Continue development"
description: "Run /project:continue to work on next task"
- label: "I'm done for now"
description: "Exit - CLAUDE.md is saved"
Based on selection:
/blueprint:status/blueprint:rules/project:continueWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
claude-md, project-configuration, team-instructions, blueprint
npx claudepluginhub laurigates/claude-plugins --plugin blueprint-plugin35 skills in this plugin
/adr-relationshipsDomain analysis, conflict detection, and relationship validation for Architecture Decision Records. Use when creating or validating ADRs to ensure consistency./blueprint-adr-listList ADRs as a markdown table with title, status, date, domain. Use when generating an ADR index, auditing ADR status, or reviewing all architecture decisions./blueprint-adr-validateValidate ADR relationships, domain consistency, and duplicate ADR numbers. Use when auditing ADRs before release, finding broken supersedes/extends links, cycles, or number collisions./blueprint-autonomy-level3Install blueprint autonomy level 3 (ADR-0020): scheduled-autorun + approved-work-order-execution GitHub workflows. Use when enabling out-of-band blueprint automation in a repo./blueprint-autopilotRun due blueprint maintenance ambiently at autonomy level 2+. Use when a drift nudge reports blueprint tasks due or suggests /blueprint:autopilot./blueprint-curate-docsLibrary gotchas from official docs, researched into a .claude/rules/lib-<name>.md rule. Use when recording a dependency's pitfalls or a codebase pattern for PRP reuse.Other plugins' skills for the same job