agentleFS
odere-proodere-pro/claude-calibration/.claude/skills/docs-update/SKILL.md

docs-update

Skill1 starsChanged 6 months agoMITView on GitHub

Author-only maintenance skill for the claude-calibration repo. Use when the docs/ rubric may have drifted from the official Claude Code docs. Refreshes the docs/ rubric against the official Claude Code docs: spawns the docs-fetcher subagent (one page at a time), diffs the live facts against each local page, and updates docs/ in place — preserving the page template (Definition → Scope → Configure → Validate → Improve → Sources) and the `## Sources` block. Proposes edits and waits for approval. Invoke explicitly as /docs-update [page-or-feature].

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 2

    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. Very specific:

    Hand off: When facts that the per-feature bundles encode (limits, required fields) changed, tell the user to run /plugin-update next so …

    line 41
  2. Distinctive:

    Never invents facts a fetch didn't return.

    line 48
  3. Distinctive:

    Never renames a pattern signature or a glossary term as a side effect.

    line 49

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

Bring the docs/ rubric back in line with the upstream Claude Code docs. Pairs with /docs-status (which tells you what looks stale) and feeds /plugin-update (which realigns the bundles afterward).

Scope

With no argument, process every page that has a ## Sources block. With an argument (/docs-update skills or /docs-update docs/features/hooks.md), process just that page.

Steps

  1. Enumerate target pages and read each one's ## Sources URLs.
  2. Fetch, one page at a time. For each source URL, spawn the docs-fetcher subagent with that URL (and the local page path for context). Do not fetch in parallel — one page per call keeps each fetch bounded and the diff focused. If a fetch returns ERROR:, skip that page and report it.
  3. Diff the facts. Compare the live normative facts (limits, required fields, file paths, command names, exit-code semantics, version notes) against the local page. Only real drift matters — ignore prose wording differences.
  4. Propose edits. Present a per-page summary of what changed upstream and the exact edits you'd make. Wait for approval before writing (this skill is disable-model-invocation: true; the user ran it deliberately, but still confirm before editing).
  5. Apply, preserving:
    • the shared page template (Definition → Scope → Configure → Validate → Improve → Sources);
    • the ## Sources block (update URLs only if the upstream page moved);
    • the repo's own vocabulary (docs/glossary.md) and signature names (rules/signatures.md).
  6. Hand off. When facts that the per-feature bundles encode (limits, required fields) changed, tell the user to run /plugin-update next so reference.md / templates/ / scripts/lint.sh catch up.

Boundaries

  • Writes only under docs/ (allowed-tools scopes Edit/Write to docs/**).
  • Never invents facts a fetch didn't return; an unreachable source leaves its page unchanged.
  • Never renames a pattern signature or a glossary term as a side effect.

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.