Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action> sub-command pattern. Git-flow consolidated from 8→5 commands (commit variants absorbed into --push/--merge/--sync flags). Dispatch files, name: frontmatter, and cross-reference updates for all plugins. Phase 2: Design documents for 8 new plugins in docs/designs/. Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate, saas-react-platform, saas-test-pilot, data-seed, ops-release-manager, ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents, skills, README, and claude-md-integration. Marketplace grows from 12→20. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2.2 KiB
2.2 KiB
name, description
| name | description |
|---|---|
| sync-workflow | Documentation synchronization process and queue management |
Sync Workflow
Purpose
Defines how to synchronize documentation with code changes.
When to Use
- doc sync: Apply pending documentation updates
- PostToolUse hook: Queue drift for later sync
Queue File
Location: .doc-guardian-queue in project root
Format:
# Doc Guardian Queue
# Generated: YYYY-MM-DD HH:MM:SS
## Pending Updates
- README.md:45 | reference | calculate_total -> compute_total
- CLAUDE.md:23 | version | Python 3.9 -> 3.11
- src/api/README.md:12 | path | old/path.py -> new/path.py
Update Types
Reference Fixes
- Renamed function/class: update all doc references
- Changed signature: update parameter documentation
- Removed item: remove or mark deprecated in docs
Content Sync
- Version numbers (Python, Node, dependencies)
- Configuration keys/values
- File paths and directory structures
- Command examples and outputs
Structural
- Add missing sections for new features
- Remove sections for deleted features
- Reorder to match current code organization
Sync Process
-
Review Queue
- Read
.doc-guardian-queue - List all pending items
- Read
-
Batch Updates
- Apply each update
- Track in change list
-
Commit Strategy
- Stage all doc changes together
- Single commit:
docs: sync documentation with code changes - Include summary in commit body
-
Clear Queue
echo "# Doc Guardian Queue - cleared after sync on $(date +%Y-%m-%d)" > .doc-guardian-queue
Output Format
## Documentation Sync Complete
### Files Updated
- README.md (3 changes)
- CLAUDE.md (1 change)
- src/api/README.md (2 changes)
### Changes Applied
- Updated function reference: calculate_total -> compute_total
- Updated Python version: 3.9 -> 3.11
- Added docstring to create_order()
Committed: abc123f
Queue Entry Format
<file>:<line> | <type> | <old> -> <new>
Types:
reference- Function/class name changeversion- Version number updatepath- File path changeconfig- Configuration key/valuemissing- New documentation needed