Files
leo-claude-mktplace/plugins/doc-guardian/skills/sync-workflow.md
lmiranda 2d51df7a42 feat(marketplace): command consolidation + 8 new plugins (v8.1.0 → v9.0.0) [BREAKING]
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>
2026-02-06 14:52:11 -05:00

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

  1. Review Queue

    • Read .doc-guardian-queue
    • List all pending items
  2. Batch Updates

    • Apply each update
    • Track in change list
  3. Commit Strategy

    • Stage all doc changes together
    • Single commit: docs: sync documentation with code changes
    • Include summary in commit body
  4. 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 change
  • version - Version number update
  • path - File path change
  • config - Configuration key/value
  • missing - New documentation needed