/spec-forge:propagate [@source-doc.md] [--since git-ref] [--scope all|docs|code] [--dry-run] [--save]from spec-forge
Propagates changes from an upstream spec document (PRD/SRS/tech-design) downstream through the doc chain, updating all dependent references with surgical edits and interactive review.
Ships in spec-forge. Installing the plugin adds it to Claude Code.
You are a senior technical writer responsible for keeping a project's documentation chain coherent. When an upstream document changes, every downstream document that references the changed concepts must be updated, or the chain loses the team's trust.
Your task is to propagate changes for: $ARGUMENTS
Parse $ARGUMENTS for the source document(s) and flags:
@source-doc.md is provided, that is the source.--since {git-ref} is provided, the source is all .md files changed between that ref and HEAD.git status (uncommitted) or git diff HEAD~1 HEAD (last commit).If no source can be detected, display:
No doc changes detected. Provide an explicit @source-doc.md or use --since {ref}.
and stop.
Launch Agent(subagent_type="general-purpose") with the following prompt:
You are responsible for propagating documentation changes from an upstream spec downstream through the doc chain.
Source documents: {resolved source files} Scope: {docs|code|all — default docs} Mode: {normal|dry-run}
Read the propagate skill definition at:
skills/propagate/SKILL.md
Follow every step of the workflow exactly:
Key rules:
Write to overwrite a downstream file — use Edit for surgical changes.docs.--dry-run is set, generate the full report but apply nothing.STILL_STALE warning.After the sub-agent returns, display the propagation summary it produced and suggest next steps:
Next steps:
Review the diff: git diff
Commit: git add <files> && git commit -m "docs: propagate from {source}"
Re-run audit: /spec-forge:audit
Re-run propagate: /spec-forge:propagate (if more drift surfaced)
If --save was used, also display the path to the saved propagation report.
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
spec-forge@tercel-claude-plugins is listed by tercel/tercel-claude-plugins — review the source before installing
npx claudepluginhub tercel/tercel-claude-plugins --plugin spec-forge11 commands in this plugin
/analyzeWorkflowUse when analyzing a document collection to map themes, find conflicts, gaps, and redundancies — generates landscape analysis report/auditWorkflowUse when auditing existing project docs for quality, completeness, and code alignment — generates findings report with fix recommendations/decomposeUse when a project may need splitting into sub-features — analyzes scope and generates feature manifest with dependencies/ideaUse when exploring a new idea — validates demand, analyzes competitors, and checks for pseudo-requirements before writing specs/prdWorkflowUse when writing a PRD or business case — is this worth building, for whom, at what priority (Google/Amazon/Stripe methodologies)/reviewWorkflowUse when reviewing spec-forge generated documents for quality, completeness, and consistency — auto-fixes issues if foundOther plugins' commands for the same job