agentleFS
jMertajMerta/codex-skills/docs-sync/SKILL.md

docs-sync

Skill130 starsChanged 12 months agoMITView on GitHub

Use when the user asks to update documentation after code or configuration changes, audit documentation drift, or prepare README, API, runbook, or release docs. Changes only affected documentation and verifies examples, links, contracts, and operational steps against source code.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use release.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read repository instructions and the relevant code diff, commits, or release range.

    line 10
  2. Distinctive:

    Search for affected names, commands, routes, environment variables, defaults, and links across existing documentation.

    line 13
  3. Distinctive:

    Do not invent a new docs hierarchy, duplicate generated content, or rewrite unrelated prose.

    line 16
  4. Distinctive:

    Keep commands and examples copy/paste runnable and consistent with repository scripts and supported platforms.

    line 21
  5. Distinctive:

    Document user-visible behavior, API or schema changes, configuration/default changes, migrations, rollback steps, and operational impact …

    line 22
  6. Very specific:

    Add an ADR only when the repository already records ADRs and the change is a durable architectural decision.

    line 24
  7. Distinctive:

    Run existing Markdown lint, link checks, snippet tests, API generation checks, or docs builds.

    line 28

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “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

Docs sync

Find the documentation contract

  1. Read repository instructions and the relevant code diff, commits, or release range.
  2. Inspect existing working-tree changes before editing. Preserve them and stop for direction when required documentation edits overlap.
  3. Identify the source of truth for each claim: code, schema, generated specification, configuration, script, or operational procedure.
  4. Search for affected names, commands, routes, environment variables, defaults, and links across existing documentation.
  5. Determine the audience and the smallest set of docs surfaces that must change.

Do not invent a new docs hierarchy, duplicate generated content, or rewrite unrelated prose. Edit generated docs only through their generator.

Update minimally

  • Preserve established structure, terminology, voice, headings, anchors, and versioning.
  • Keep commands and examples copy/paste runnable and consistent with repository scripts and supported platforms.
  • Document user-visible behavior, API or schema changes, configuration/default changes, migrations, rollback steps, and operational impact only when the code change creates them.
  • Mark secrets as secrets and never paste real credentials or production values.
  • Add an ADR only when the repository already records ADRs and the change is a durable architectural decision; references/adr-template.md is available when that convention applies.

Verify

Run existing Markdown lint, link checks, snippet tests, API generation checks, or docs builds. Otherwise verify changed commands, paths, anchors, environment-variable names, and examples directly against their source of truth.

Report the files changed, the behavior each now documents, verification performed, and any documentation that remains intentionally unchanged.

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.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.