# Docs Alignment Update

> Update docs, playbooks, shims, generated docs, and alignment checks so public instructions route to the right canonical sources.

- Skill: `clawic/docs-alignment-update` (Agent Skill)
- Install (CLI): `npx skillmds@latest add clawic/docs-alignment-update`
- Raw SKILL.md: https://api.skillmd.com/api/skills/clawic/docs-alignment-update/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: clawic (https://skillmd.com/u/clawic)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/clawic/docs-alignment-update

---


# docs-alignment-update

Keep documentation aligned with behavior and routing.

## Procedure

1. Identify the canonical source for the changed behavior before editing docs.
2. Update public docs, README, playbooks, `AGENTS.md`, `CLAUDE.md` shims, generated docs, and decision maps only where they route to or explain that source.
3. For durable ADR or governance docs, keep the Decision Tension Rubric routed
   through the ADR template, decision map, and agent rules.
4. Keep `AGENTS.md` compact; link to skills or docs for procedures.
5. Add alignment-check snippets only for durable rules worth enforcing.
6. Register new durable docs routers, instruction shims, guardrails, harnesses,
   and skills in `docs/discoverability.registry.json` under
   `docs/adr/0017-discoverability-and-meta-code-routing.md`.
7. Remove stale duplicated instructions when a canonical doc or skill supersedes them.
8. For closure-gated docs, instruction, ADR, skill, route, storage, permission,
   or Clawix/ClawJS integration changes, run
   `node scripts/discoverability-check.mjs closure --changed-file <path> --json`.
   The closing report must cite the real `claw search ... --json` and
   `claw inspect ... --json` evidence and the discovered artifact, or mark the
   work `PARTIAL/BLOCKED`.
9. Run docs alignment/link checks or record why they cannot run.

## Constraints

- Do not make `CLAUDE.md` a second instruction source.
- Do not duplicate long ADR or playbook content inside `AGENTS.md`.
- Public docs must not contain private paths, signing identities, or personal workflow instructions.
- Do not close durable docs routing work as complete when CLI discovery cannot
  find and inspect the affected registered artifact.

