Skip to content
Back to skills

Blueprint Promote

ASecurity

Move generated artifact to custom layer to preserve manual edits. Use when promoting a generated rule, preserving .claude/rules/ changes, or stopping sync warnings.

  • 60 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added February 8, 2026
toolsgobashtesting

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add laurigates/claude-plugins --skill blueprint-promote --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Blueprint Promote?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Blueprint Promote
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/laurigates-blueprint-promote/badge)](https://www.skillsdirectory.com/skills/laurigates-blueprint-promote)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
created: 2025-12-22
modified: 2026-11-15
reviewed: 2026-08-09
description: "Move generated artifact to custom layer to preserve manual edits. Use when promoting a generated rule, preserving .claude/rules/ changes, or stopping sync warnings."
args: "[skill-name|command-name]"
allowed-tools: Read, Write, Bash(jq *), AskUserQuestion
argument-hint: "Name of the skill or command to promote"
name: blueprint-promote
---

Copy a generated rule to the custom rules layer for preservation.

## When to Use This Skill

| Use this skill when... | Use blueprint-sync instead when... |
|---|---|
| You want to preserve manual edits to a single generated rule | You want to scan all generated content for drift first |
| You want to stop sync warnings on a modified auto-generated file | You want regenerate/keep options across many files at once |
| You say "promote from proposed to custom" or "acknowledge modifications" | Use blueprint-generate-rules instead to regenerate from PRDs |

## Execution

Execute this promotion workflow:

**Purpose**:
- Copy generated content from `.claude/rules/` to preserve modifications
- Mark as acknowledged in manifest to prevent overwrite warnings
- Generated rules in `.claude/rules/` are the standard location (v3.0)

**Usage**: `/blueprint:promote [name]`

**Examples**:
- `/blueprint:promote testing-strategies` - Acknowledge a rule's modifications

### Step 1: Parse argument

- Extract `name` from arguments
- If no name provided, list available generated rules and ask user to choose

### Step 2: Locate the rule

Resolve the rules directory from the manifest — never hardcode
`.claude/rules/` (issues #1043, #1675, #2331):

```bash
RULES_DIR=$(jq -r '.structure.generated_rules_path // ".claude/rules/"' docs/blueprint/manifest.json)
RULES_DIR="${RULES_DIR%/}"
```

`generated.rules` keys are **bare filenames including the `.md` extension**,
so normalise a bare `{name}` argument to `{name}.md` once and resolve it as
`"$RULES_DIR/{key}"` — do **not** append `.md` to a manifest key:

```bash
KEY="{name}"; case "$KEY" in *.md) ;; *) KEY="$KEY.md" ;; esac
test -f "$RULES_DIR/$KEY"
```

If not found:
```
Rule '{name}' not found in generated content.

Available rules:
- architecture-patterns
- testing-strategies
- implementation-guides
- quality-standards
```

### Step 3: Check if already acknowledged

- Read manifest for `custom_overrides.rules`
- If already in list, report "Already acknowledged"

### Step 4: Confirm acknowledgment

```
question: "Acknowledge modifications to {name}?"
description: |
  This will:
  1. Mark {name} as user-modified in manifest
  2. Prevent overwrite warnings during sync
  3. Keep the rule in .claude/rules/

options:
  - label: "Yes, acknowledge"
    description: "Mark as user-modified and preserve changes"
  - label: "No, keep as generated"
    description: "Leave as regeneratable (may show warnings)"
```

### Step 5: Update manifest

- Add to `custom_overrides.rules`
- Update `updated_at` timestamp

Example manifest update:
```json
{
  "generated": {
    "rules": {
      // testing-strategies still listed
    }
  },
  "custom_overrides": {
    "rules": ["testing-strategies"]  // added
  }
}
```

### Step 6: Report

```
Rule modifications acknowledged!

testing-strategies.md:
- Location: .claude/rules/testing-strategies.md
- Status: User-modified (acknowledged)

This rule will now:
- Not show modification warnings in /blueprint:sync
- Still be tracked in manifest
- Be your responsibility to maintain

To edit: .claude/rules/testing-strategies.md
```

**Architecture note (v3.0)**:
Generated content now goes directly to `.claude/rules/` instead of a separate generated layer.
The manifest tracks which rules are user-modified vs auto-generated.

**Tips**:
- Acknowledge rules you want to customize
- Unacknowledged modified rules will show warnings in /blueprint:sync
- You can regenerate by removing from custom_overrides and running `/blueprint:generate-rules`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.