agentleFS
eddieraneddieran/skillpm/skills/doc-sync/SKILL.md

doc-sync

Skill2 starsChanged 10 months agoApache-2.0View on GitHub

Detect stale documentation by comparing code, CLI surface area, and docs for drift.

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use refactor, code-review and 1 more.

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.
  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 4 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when code changes may have made READMEs, CLI docs, API docs, or examples stale.

    line 25
  2. Distinctive:

    Prefer minimal, accurate doc updates over broad rewording.

    line 44
  3. Distinctive:

    Do not rewrite docs that are already correct.

    line 55
  4. Distinctive:

    Do not invent undocumented features.

    line 56

“Common” is measured: kept by at least 6 in 10 of the 18 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

Doc Sync

Use this skill when code changes may have made READMEs, CLI docs, API docs, or examples stale.

Agent Compatibility

  • Claude Code: supported
  • Codex: supported

Inputs

  • The changed code or commit range
  • The documentation surface that claims to describe that code
  • Release notes, CLI help output, or API schemas when available

Workflow

  1. Enumerate the behavior that changed in code.
  2. Find the documentation pages that claim to describe that behavior.
  3. Compare signatures, commands, flags, examples, and defaults.
  4. Report stale docs before proposing rewrites.
  5. Prefer minimal, accurate doc updates over broad rewording.

Output Contract

  • Stale documentation findings first
  • Exact files that drifted
  • The implementation fact that now differs
  • The smallest accurate doc update

Guardrails

  • Do not rewrite docs that are already correct.
  • Do not invent undocumented features.
  • Distinguish between wording polish and factual drift.

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.