--- name: docs-ssot description: Set up docs-ssot SSOT documentation structure — migrate existing docs, build, and validate allowed-tools: - Read - Write - Edit - Bash(docs-ssot *) - Bash(make docs*) - Bash(git diff *) --- # docs-ssot: Documentation SSOT Setup This skill migrates existing Markdown documentation into a modular Single Source of Truth (SSOT) structure managed by `docs-ssot`, then builds and validates the output. ## When to use this skill - Setting up `docs-ssot` in a new or existing repository (follow the main **Workflow**) - Adding a new generated output file (e.g., `SETUP.md`) to an existing SSOT structure (follow **Adding a new output file**) - Regenerating documentation after editing source templates (run `docs-ssot build`) --- ## Quick Command Reference | Command | Purpose | |---------|---------| | `docs-ssot migrate ` | Decompose existing docs into SSOT section structure | | `docs-ssot migrate --dry-run ` | Preview migration without writing files | | `docs-ssot validate` | Dry-run: check all includes resolve (no files written) | | `docs-ssot build` | Generate all output files from templates | | `docs-ssot check` | Detect near-duplicate sections (SSOT violations) | | `docs-ssot index` | Show include relationships and orphan detection | | `docs-ssot include