agentleFS
cmdr-characmdr-chara/codex-toolkit/skills/documentation-synchronizer/SKILL.md

documentation-synchronizer

Skill2 starsChanged 11 days agoMITView on GitHub

Update documentation to match code, API, schema, configuration, deployment, or operational changes. Use when implementation changes create documentation drift. Not for marketing copy or documenting behavior that does not exist.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Keep user and maintainer documentation aligned with implemented behavior without inventing product semantics.

    line 8
  2. Very specific:

    Use this skill when code/config/API/schema/UI/deployment/operations changed and documentation must be mapped and synchronized.

    line 12
  3. Distinctive:

    Do not trigger for unrelated marketing copy, invented product behavior, or as a substitute for implementation verification.

    line 14
  4. Distinctive:

    Verify candidate matches against the real change.

    line 29
  5. Distinctive:

    Do not edit generated docs before identifying their source/generator.

    line 34
  6. Distinctive:

    Do not copy stale docs forward merely for consistency.

    line 35
  7. Very specific:

    Map surfaces: Use references/doc-surface-map.md to find READMEs, guides, API docs, examples, runbooks, migration notes, comments, schemas, …

    line 41
  8. Distinctive:

    Update coherently: Keep terminology, examples, commands, defaults, and migration/release notes aligned.

    line 43
  9. Very specific:

    Cross-check: Use references/update-checklist.md for links, examples, config, versioned claims, and generated-doc handling.

    line 44
  10. Distinctive:

    If authoritative behavior cannot be established, do not harmonize conflicting docs by guess.

    line 53
  11. Distinctive:

    Stop when affected documentation surfaces agree with authoritative behavior and remaining unknowns or generated-doc actions are explicit.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Documentation Synchronizer

Keep user and maintainer documentation aligned with implemented behavior without inventing product semantics.

Trigger boundary

Use this skill when code/config/API/schema/UI/deployment/operations changed and documentation must be mapped and synchronized.

Do not trigger for unrelated marketing copy, invented product behavior, or as a substitute for implementation verification.

Required inputs

Resolve the implementation diff/change set, authoritative behavior/contracts, audiences, release/version context, repository working tree, generated docs ownership, and protected user work.

For a read-only drift scan, give it the change set, either a Git base ref or explicit files:

python skills/documentation-synchronizer/scripts/doc_drift_scan.py . --base origin/main --format markdown
python skills/documentation-synchronizer/scripts/doc_drift_scan.py . --files src/api/routes.ts config/app.yaml --format markdown

It lists the changed files (deleted ones included) and, for each documentation surface they may affect (API reference, configuration, runbooks, architecture), the files that point to it.

Verify candidate matches against the real change.

Safety baseline

  • Preserve uncommitted work.
  • Do not edit generated docs before identifying their source/generator.
  • Do not copy stale docs forward merely for consistency.
  • Mark unknown behavior and send it back to the implementer instead of inventing an answer.

Workflow

  1. Extract the contract delta. Identify what changed for users, developers, operators, APIs, config, schemas, or migrations.
  2. Map surfaces. Use references/doc-surface-map.md to find READMEs, guides, API docs, examples, runbooks, migration notes, comments, schemas, and generated surfaces.
  3. Establish authority/audience. Decide which source governs each claim.
  4. Update coherently. Keep terminology, examples, commands, defaults, and migration/release notes aligned.
  5. Cross-check. Use references/update-checklist.md for links, examples, config, versioned claims, and generated-doc handling.
  6. Report. State changed surfaces, validated examples/links, known gaps, and behavior questions returned to implementation owners.

Handoffs and interaction boundaries

Behavior ambiguity goes back to the owning implementation specialist. Migration semantics go to codebase-evolution-controller, security-sensitive docs to security-review, and release-blocking documentation evidence to verification-and-release.

Failure handling

If authoritative behavior cannot be established, do not harmonize conflicting docs by guess. Record the conflict and the owner needed to resolve it.

Stop conditions

Stop when affected documentation surfaces agree with authoritative behavior and remaining unknowns or generated-doc actions are explicit.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.