Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

blueprint-claude-md

БесплатноБез исполняемых скриптовНе проверен

CLAUDE.md and CLAUDE.local.md from blueprint artifacts. Use when editing CLAUDE.md team instructions, converting inline content to @imports, or setting up…

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

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.

When to Use This Skill

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.md vs Auto Memory

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.

Memory Hierarchy (precedence low → high)

  1. User-level rules: ~/.claude/rules/ — personal rules across all projects
  2. CLAUDE.md (project): Team-shared project instructions (checked into git)
  3. CLAUDE.local.md: Personal project-specific preferences (gitignored)
  4. .claude/rules/: Modular, path-specific rules
  5. Managed policy: Organization-wide instructions (enterprise, system paths)
  6. Auto memory: Claude's own notes (~/.claude/projects/<project>/memory/)

@import Syntax

CLAUDE.md files support importing other markdown files to stay lean:

# Project: MyApp

@docs/architecture.md
@docs/conventions.md
@.claude/rules/testing.md
  • Paths are relative to the file containing the import
  • Recursive imports supported (max depth 5)
  • Imports are not evaluated inside code spans or code blocks
  • First-time external imports trigger an approval dialog

Use @import to reference existing documentation rather than duplicating content into CLAUDE.md.

CLAUDE.md Best Practices

  • Keep it concise (< 500 lines ideally)
  • Focus on team-shared instructions (standards, commands, architecture)
  • Use @import to reference existing docs instead of duplicating content
  • Use CLAUDE.local.md for personal preferences (auto-gitignored)
  • Reference .claude/rules/ for detailed, path-specific rules
  • Let auto memory handle "Current Focus", "Key Files", debugging tips
  • Update when PRDs change significantly

Execution

Execute this CLAUDE.md workflow:

Step 1: Check current state

  • Look for existing CLAUDE.md in project root
  • Look for existing CLAUDE.local.md (personal preferences, gitignored)
  • Read docs/blueprint/manifest.json for configuration
  • Check for ~/.claude/rules/ (user-level rules)
  • Determine claude_md_mode (single, modular, or both)

Step 2: Determine action

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/

Step 3: Gather project context

  • Project structure: Detect language, framework, build tools
  • PRDs: Read docs/prds/*.md for requirements
  • Work overview: Current phase and progress
  • Existing rules: Content from .claude/rules/ if present
  • Git history: Recent patterns and conventions
  • Dependencies: Package managers, key libraries

Step 4: Generate CLAUDE.md sections

Build the sections from references/template-sections.md: the standard skeleton, tailored with the per-project-type additions. Leave out what auto memory hand

Полный SKILL.md на GitHub

Установить blueprint-claude-md в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash(jq *)
Bash(date *)
Bash(mv *)
Glob
Grep
AskUserQuestion

Вложенные файлы

references/manifest-and-registry.mdreferences/modular-rules-split.mdreferences/smart-update.mdreferences/template-sections.md

FAQ

Что делает скилл blueprint-claude-md?

CLAUDE.md and CLAUDE.local.md from blueprint artifacts. Use when editing CLAUDE.md team instructions, converting inline content to @imports, or setting up CLAUDE.local.md.

Как установить скилл blueprint-claude-md?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл blueprint-claude-md запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить blueprint-claude-md с