Move generated artifact to custom layer to preserve modifications
Marks generated rules as user-modified to preserve customizations and prevent overwrite warnings.
/plugin marketplace add laurigates/claude-plugins/plugin install blueprint-plugin@lgates-claude-pluginsName of the skill or command to promoteCopy a generated rule to the custom rules layer for preservation.
Purpose:
.claude/rules/ to preserve modifications.claude/rules/ are the standard location (v3.0)Usage: /blueprint:promote [name]
Examples:
/blueprint:promote testing-strategies - Acknowledge a rule's modificationsSteps:
Parse argument:
name from argumentsLocate the rule:
# Check if it's a generated rule
test -f .claude/rules/{name}.md
If not found:
Rule '{name}' not found in generated content.
Available rules:
- architecture-patterns
- testing-strategies
- implementation-guides
- quality-standards
Check if already acknowledged:
custom_overrides.rulesConfirm 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)"
Update manifest:
custom_overrides.rulesupdated_at timestampExample manifest update:
{
"generated": {
"rules": {
// testing-strategies still listed
}
},
"custom_overrides": {
"rules": ["testing-strategies"] // added
}
}
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:
/blueprint:generate-rules