/sync-docs
Sync living docs for an increment. Generates or updates spec files in .specweave/docs/internal/specs/. Use when saying "sync docs", "update living docs", or "sync-docs".
$ npx -y skills add anton-abyzov/specweave --skill sync-docs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/sync-docs
Context preview
The summary Claude sees to decide when to auto-load this skill.
Sync living docs for an increment. Generates or updates spec files in .specweave/docs/internal/specs/. Use when saying "sync docs", "update living docs", or "sync-docs".
SKILL.md
sync-docs.SKILL.mddescription: Sync living docs for an increment. Generates or updates spec files in .specweave/docs/internal/specs/. Use when saying "sync docs", "update living docs", or "sync-docs".
version: 1.0.0
argument-hint: "<increment-id> [--review]"
Sync Living Docs
Project Overrides
**Skill Memories**: If `.specweave/skill-memories/sync-docs.md` exists, read and apply its learnings.
Sync living documentation for an increment. This generates or updates feature specs and user story files under `.specweave/docs/internal/specs/`.
Usage
sw:sync-docs <increment-id> # Sync living docs for increment
sw:sync-docs <increment-id> --review # Dry-run: validate sync without modifying files
Workflow
Step 1: Resolve Increment
1. Parse the increment ID argument (required) 2. Find the increment directory: `.specweave/increments/NNNN-*/` 3. Load `spec.md` and `metadata.json`
Step 2: Detect Mode
- If `--review` argument present: set `dryRun = true`
- Otherwise: set `dryRun = false`
Step 3: Execute Sync
Run the living docs sync via CLI:
# Normal mode
specweave sync-living-docs <increment-id>
# Review mode (dry-run)
specweave sync-living-docs <increment-id> --dry-run
# If CLI command not available, use sync-progress as fallback:
specweave sync-progress <increment-id> --no-github --no-jira --no-ado
Step 4: Report Results
Display a summary:
Living Docs Sync Results:
- Feature spec: created/updated/unchanged
- User story files: N created, M updated, K unchanged
- Total files affected: X
In review mode, prefix with: `[DRY RUN] No files were modified.`
Step 5: Error Handling
If sync fails:
- Display the error message
- Suggest: "Check that spec.md has valid frontmatter and user stories are properly formatted"
- Suggest: "Run `sw:progress-sync` for full external tool sync"
Resources
- [Official Documentation](https://verified-skill.com/docs/reference/skills#sync-docs)
Read more
description: Sync living docs for an increment. Generates or updates spec files in .specweave/docs/internal/specs/. Use when saying "sync docs", "update living docs", or "sync-docs". version: 1.0.0 argument-hint: "<increment-id> [--review]"
Sync Living Docs
Project Overrides
**Skill Memories**: If `.specweave/skill-memories/sync-docs.md` exists, read and apply its learnings.
Sync living documentation for an increment. This generates or updates feature specs and user story files under `.specweave/docs/internal/specs/`.
Usage
sw:sync-docs <increment-id> # Sync living docs for increment sw:sync-docs <increment-id> --review # Dry-run: validate sync without modifying files
Workflow
Step 1: Resolve Increment
1. Parse the increment ID argument (required) 2. Find the increment directory: `.specweave/increments/NNNN-*/` 3. Load `spec.md` and `metadata.json`
Step 2: Detect Mode
- If `--review` argument present: set `dryRun = true`
- Otherwise: set `dryRun = false`
Step 3: Execute Sync
Run the living docs sync via CLI:
# Normal mode specweave sync-living-docs <increment-id> # Review mode (dry-run) specweave sync-living-docs <increment-id> --dry-run # If CLI command not available, use sync-progress as fallback: specweave sync-progress <increment-id> --no-github --no-jira --no-ado
Step 4: Report Results
Display a summary:
Living Docs Sync Results: - Feature spec: created/updated/unchanged - User story files: N created, M updated, K unchanged - Total files affected: X
In review mode, prefix with: `[DRY RUN] No files were modified.`
Step 5: Error Handling
If sync fails:
- Display the error message
- Suggest: "Check that spec.md has valid frontmatter and user stories are properly formatted"
- Suggest: "Run `sw:progress-sync` for full external tool sync"
Resources
- [Official Documentation](https://verified-skill.com/docs/reference/skills#sync-docs)
Spec-first AI development: describe a feature → AI creates spec + plan + tasks, builds autonomously, syncs to GitHub/JIRA. Domain-expert skills for PM, Architect, Frontend, QA learn your patterns permanently. Claude Code, Codex, Cursor, Copilot & more.
Repo: anton-abyzov/specweave
Other skills on specweave.
- /ado-mapper
Bidirectional conversion between SpecWeave increments and Azure DevOps work items. Use when exporting increments to ADO epics, importing ADO epics as increments, or resolving sync conflicts. Handles Epic/Feature/User Story/Task hierarchy mapping.
Open skill - /ado-multi-project
[DEPRECATED] Use `sw:multi-project --tool ado` instead. Organizes specs and tasks across multiple Azure DevOps projects. This skill will be removed in SpecWeave v1.3.0.
Open skill - /ado-resource-validator
Validates Azure DevOps projects, area paths, and teams exist with auto-creation of missing resources. Use when setting up ADO integration, configuring .env variables, or troubleshooting missing project errors. Supports project-per-team, area-path-based, and team-based strategies.
Open skill - /ado-sync
[DEPRECATED] Help and guidance for Azure DevOps synchronization with SpecWeave increments. Use when asking how to set up ADO sync, configure credentials, or troubleshoot integration issues. For actual syncing, use sw-ado:push or sw-ado:pull command.
Open skill - /analytics
Analytics and metrics for SpecWeave usage — token consumption, cache efficiency, agent spawn counts.
Open skill - /architect
System architect for scalable technical designs and ADRs. Use for system architecture, microservices, database design, trade-off analysis, component diagrams, tech selection.
Open skill

