Loading...
Loading...
Check for stale generated content and offer regeneration or promotion
npx skill4agent add laurigates/claude-plugins blueprint-sync| Flag | Description |
|---|---|
| Preview sync status report without interactive prompts or file modifications |
cat docs/blueprint/manifest.jsongenerated.rulesmanifest.generated.rulestest -f .claude/rules/{name}.mdsha256sum .claude/rules/{name}.md | cut -d' ' -f1content_hashcurrentcontent_hashmodifiedsource_hashstaleGenerated Content Sync Status
Rules (.claude/rules/):
✅ architecture-patterns.md: Current
⚠️ testing-strategies.md: Modified locally
🔄 implementation-guides.md: Stale (PRDs changed)
✅ quality-standards.md: Current
Summary:
- Current: 3 files
- Modified: 1 file (user edited)
- Stale: 1 file (source changed)--dry-runquestion: "{name} has been modified locally. What would you like to do?"
options:
- label: "Keep modifications"
description: "Mark as acknowledged, preserve your changes"
- label: "Discard modifications (regenerate)"
description: "Overwrite with fresh generation from PRDs"
- label: "View diff"
description: "See what changed before deciding"
- label: "Skip this file"
description: "Leave as-is for now"content_hashquestion: "{name} is stale (PRDs have changed). What would you like to do?"
options:
- label: "Regenerate from PRDs (Recommended)"
description: "Update with latest patterns from docs/prds/"
- label: "Keep current version"
description: "Mark as current without regenerating"
- label: "View what changed in PRDs"
description: "See PRD changes before deciding"
- label: "Skip this file"
description: "Leave stale for now"source_hashcontent_hashsource_hashstatusSync Complete
Actions taken:
- testing-strategies.md: Modifications acknowledged
- implementation-guides.md: Regenerated from PRDs
Current state:
- 4 generated rules (all current)
Manifest updated./blueprint:sync