blueprint-upgrade
БесплатноБез исполняемых скриптовНе проверенUpgrade blueprint structure to the latest format version. Use when migrating between format versions, enabling monorepo workspaces, or batch upgrading repos.
от laurigates★ 61 звезда на GitHubОб этом скилле
Upgrade the blueprint structure to the latest format version.
When to Use This Skill
| Use this skill when... | Use blueprint-init instead when... |
|---|---|
| The project has a manifest at v1.x, v2.x, v3.0, v3.1, or v3.2 | The project has no docs/blueprint/manifest.json at all |
| You want the user-facing upgrade entry point with prompts | Use blueprint-migration instead when implementing version-specific logic |
| You're adding the v3.2 task registry or v3.3 monorepo workspaces | Use blueprint-execute instead when you want auto-detection of next step |
You're running batch upgrades across repos with --non-interactive/-y |
Use blueprint-status instead to first audit current version |
Current Format Version: 3.5.0
This command delegates version-specific migration logic to the blueprint-migration skill.
Parameters
Parse $ARGUMENTS for flags before running any step:
--non-interactive,--yes,-y: Skip everyAskUserQuestionprompt and apply the defaults in references/non-interactive-defaults.md. Intended for batch runs across many repos.
Set an internal $NONINTERACTIVE flag to true when any of those tokens appear in $ARGUMENTS; otherwise false. Reference this flag at every AskUserQuestion call site in the Execution steps.
When $NONINTERACTIVE is true, never discard user-edited content: the v2.x → v3.0 modification-preservation prompt defaults to "Keep modifications", never "Cancel migration". If a migration step would require a prompt that the defaults file does not list, abort the upgrade with a clear message rather than guessing. The caller can re-run interactively for those repos.
Execution
Execute this upgrade workflow. Step numbers are stable: the reference files and the non-interactive defaults cite them.
Step 1: Check current state
Run the snippet in Step 2. It resolves $MANIFEST (if no manifest exists, suggest /blueprint:init instead) and reads the current format_version, defaulting to "1.0.0" when the field is missing.
Step 2: Determine upgrade path
# Resolve manifest path once — use $MANIFEST in all subsequent jq commands.
# Same order as blueprint-plugin/scripts/get-validation-config.sh.
if -f docs/blueprint/manifest.json; then
MANIFEST=docs/blueprint/manifest.json # v3.0+ canonical (what /blueprint:init writes)
elif -f docs/blueprint/.manifest.json; then
MANIFEST=docs/blueprint/.manifest.json # v3.0 dot-prefixed variant from early migrations
elif -f .claude/blueprints/.manifest.json; then # v1.x/v2.x location
MANIFEST=.claude/blueprints/.manifest.json
else
echo "ERROR: no blueprint manifest found. Run /blueprint:init first."
exit 1
fi
current=$(jq -r '.format_version // "1.0.0"' "$MANIFEST")
target="3.5.0"
Important: Use the resolved $MANIFEST in every jq call here and in delegated migration steps — a hard-coded filename fails silently.
Version compatibility matrix:
| From Version | To Version | Migration Document |
|---|---|---|
| 1.0.x | 1.1.x | migrations/v1.0-to-v1.1.md |
| 1.x.x | 2.0.0 | migrations/v1.x-to-v2.0.md |
| 2.x.x | 3.0.0 | migrations/v2.x-to-v3.0.md |
| 3.0.x | 3.1.0 | migrations/v3.0-to-v3.1.md |
| 3.1.x | 3.2.0 | inline (Step 3a) |
| 3.2.x | 3.3.0 | migrations/v3.2-to-v3.3.md |
| 3.3.x | 3.4.0 | migrations/v3.3-to-v3.4.md |
| 3.4.x | 3.5.0 | migrations/v3.4-to-v3.5.md |
| 3.5.0 | 3.5.0 | Already up to date |
Step 3: Check for deprecated generated commands
Detect skills/commands left by the deprecated /blueprint:generate-commands and offer to remove them (auto-"Yes" when $NONINTERACTIVE) per references/deprecated-commands.md. If none are found, continue to Step 4.
Step 3a: v3.1 → v3.2 migration — add task registry
If task_registry is missing: ask the scheduling question ("Prompt before running" when $NONINTERACTIVE), add the registry, and bump format_version to 3.2.0 per references/v3.1-to-v3.2-task-registry.md.
Step 3b: v3.2 → v3.3 migration — monorepo support
Delegate to skills/blueprint-migration/migrations/v3.2-to-v3.3.md (summary: references/v3.2-to-v3.3-summary.md).
Step 3c: v3.3 → v3.4 migration — automation block (autonomy levels)
Delegate to skills/blueprint-migration/migrations/v3.3-to-v3.4.md (summary: references/v3.3-to-v3.4-summary.md). In $NONINTERACTIVE mode take the suggested autonomy_level, never higher.
Step 3d: Re-key generated.rules lacking .md; delete retired structure keys (any version, #2868, #3610)
The same script also reports structure.has_ai_docs, which older templates wrote and the closed manifest
Установить blueprint-upgrade в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBash(bash ${CLAUDE_SKILL_DIR}/../../scripts/migrate-generated-rules-keys.sh *)Bash(jq *)Bash(ls *)GlobAskUserQuestionВложенные файлы
FAQ
Что делает скилл blueprint-upgrade?
Upgrade blueprint structure to the latest format version. Use when migrating between format versions, enabling monorepo workspaces, or batch upgrading repos.
Как установить скилл blueprint-upgrade?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл blueprint-upgrade запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic