<< All versions
Skill v1.0.1
currentAutomated scan96/100eliyce/paqad-ai/canonical-doc-sync
+11 new
──Details
PublishedNovember 5, 2026 at 06:10 PM
Content Hashsha256:27844a4d1bffe261...
Git SHA205ca3a58d40
Bump Typepatch
──Files
Files (1 file, 2.2 KB)
SKILL.md2.2 KBactive
SKILL.md · 53 lines · 2.2 KB
name: canonical-doc-sync description: 'Syncs implementation changes back into canonical documentation. Use when code changes are understood and handoff has not closed, above all when several doc surfaces must change together.' metadata: version: "1.0.1" model_tier: medium cacheable: 'true' output_format: markdown paqad-meta: skill.meta.yaml
What It Does
Updates canonical project documentation after implementation changes so specs, module docs, and registries remain aligned with the actual behavior that shipped or is about to ship.
Use This When
After code changes are understood and before handoff closes, especially when multiple doc surfaces must be updated together to avoid drift.
Inputs
- Read the changed files, existing canonical docs, and any generated inventories for the affected area.
- Read the module docs and global registries that should reflect the change.
- Read
references/drift-triage.mdbefore deciding what to update immediately versus defer explicitly.
Procedure
- Run
scripts/list-canonical-docs.shto enumerate the canonical doc surfaces that exist in this project. - Identify which of those are now stale relative to the implementation change.
- Update behavior docs, module docs, and registries together: never patch only one surface.
- Prefer generated inventories or script output for routes, events, and error codes when available.
- Format per
assets/output.template.mdand validate withscripts/lint-output.sh.
Output Contract
- Match
assets/output.template.md:## Updated Docs(backticked .md paths + summary) and## Known Drift(backticked paths + reason, or the literalnone). - Output must pass
scripts/lint-output.sh(exit 0).
Escalate / Stop Conditions
- Ask when docs disagree with implementation and the product decision is unclear.
- Warn when generated sources are missing and a manual sync would be speculative.
- Do not silently skip a stale canonical doc that is still user-facing or operationally important.
Resources
references/drift-triage.mdscripts/list-canonical-docs.shscripts/lint-output.shassets/output.template.mdruntime/templates/runner-scripts/extract-events.sh.hbsagents/openai.yaml