agentleFS
jessepinkman9900jessepinkman9900/claude-second-brain/.claude/skills/update-docs/SKILL.md

update-docs

Skill46 starsChanged 7 months agoMITView on GitHub

Audit docs/ for missing coverage of recently shipped features and missing ship log entries. Reviews changes vs main, identifies gaps, proposes updates, waits for user approval, then applies them. Trigger phrases: /update-docs, update the docs, sync the docs, docs are out of date.

87 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use get-pr-reviews, push-everything and 10 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.
  • saffron-healthSkill

    get-pr-reviews

    Get nicely formatted output of the last review comments on a PR. Used internally by other skills.

    Also in 3 projects that use this

  • saffron-healthSkill

    push-everything

    Stage ALL changes in the repository (not just session changes), commit, and push. Use when you need to commit all pending changes.

    Also in 3 projects that use this

  • TheKREATORSSkill

    instinct-export

    Export instincts from project/global scope to a file

    Also in 3 projects that use this

  • TheKREATORSSkill

    instinct-import

    Import instincts from file or URL into project/global scope

    Also in 3 projects that use this

  • NVIDIASkill

    generate-spec

    Produce a feature specification covering API changes, backward compatibility, cross-language impact, performance, and a file-level change plan. Use when designing a new feature, planning a significant change, or the user asks to spec something out.

    Also in 3 projects that use this

  • belokonmSkill

    fullstack-developer

    End-to-end feature expert specializing in frontend-backend integration, system architecture, and complete application development

    Also in 4 projects that use this

  • +1 more from saffron-health
  • +1 more from TheKREATORS

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 81 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run each step in order.

    line 12
  2. Distinctive:

    Run all of these in parallel:

    line 18
  3. Very specific:

    Read docs/pages/ship-log.mdx and find the latest version recorded.

    line 61
  4. Distinctive:

    Stop here and wait for user approval: Do not write anything until the user confirms.

    line 91
  5. Distinctive:

    If the user asks to skip certain items or adjust the proposal, incorporate the feedback before proceeding.

    line 93
  6. Distinctive:

    If the page exists: use Edit to add or update the relevant section.

    line 102
  7. Very specific:

    If a new page is needed: create it under docs/pages/ and add it to the sidebar in vocs.config.ts.

    line 103
  8. Distinctive:

    Use today's date for unreleased versions that are being prepared.

    line 117

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

/update-docs

Audits the docs site for two things: features that shipped but aren't documented yet, and ship log versions that are missing or incomplete. Proposes all changes and waits for user approval before writing anything.

Steps

Run each step in order.


Step 1 — Gather current state

Run all of these in parallel:

# Commits on this branch not in main
git log main..HEAD --oneline

# All changed files vs main
git diff main...HEAD --stat

# Current package.json version
cat package.json | grep '"version"'

Also read:

  • docs/pages/ship-log.mdx — to find the latest documented version
  • docs/pages/getting-started.mdx — to check if CLI prompts/options are current
  • vocs.config.ts — to see what pages exist in the sidebar

Glob docs/pages/**/*.mdx to get the full list of doc pages.


Step 2 — Identify docs gaps

Compare the commits and changed files from Step 1 against the existing doc pages.

For each significant change (new CLI flag, new prompt, new skill, new remote option, new behavior), ask:

Is this change documented in any page under docs/pages/?

List every gap as:

GAP: <what changed> — not covered in docs

Also check getting-started.mdx for accuracy:

  • Does the CLI prompts list match the current wizard sequence?
  • Are all remote options mentioned?

Step 3 — Identify missing ship log entries

Read docs/pages/ship-log.mdx and find the latest version recorded.

Compare against package.json version. If the current version is higher than the latest ship log entry, it is missing.

Also check: does each existing entry accurately reflect what actually shipped? Look at the commits grouped by version tag (git log --oneline --decorate) and flag any entries that are incomplete or say "maintenance release only" when they contain real changes.

List each gap as:

MISSING: ship log entry for vX.Y.Z
INCOMPLETE: vX.Y.Z entry — missing: <what's not captured>

Step 4 — Propose changes

Present a consolidated proposal to the user:

## Docs update proposal

### New / updated doc pages
- <file>: <what to add or change>
- ...

### Ship log additions
- vX.Y.Z — <date>: <summary of changes>
- ...

Stop here and wait for user approval. Do not write anything until the user confirms.

If the user asks to skip certain items or adjust the proposal, incorporate the feedback before proceeding.


Step 5 — Apply approved changes

For each approved item:

Doc page changes:

  • If the page exists: use Edit to add or update the relevant section.
  • If a new page is needed: create it under docs/pages/ and add it to the sidebar in vocs.config.ts.

Ship log additions:

  • Edit docs/pages/ship-log.mdx.
  • Insert new entries at the top (newest first), following the existing format:
    ## vX.Y.Z — YYYY-MM-DD
    
    **Features:**
    - ...
    
    **Fixes:**
    - ...
  • Use today's date for unreleased versions that are being prepared.
  • Skip empty categories.

Step 6 — Report

Tell the user what was changed:

  • List each file edited and what was added.
  • Note anything skipped and why.

What can go wrong

  • No commits vs main — if on main with nothing ahead, Step 1 returns empty; report "nothing to document" and stop.
  • Version already in ship log — if the current version matches the latest ship log entry and no gaps were found, report "docs appear up to date" and stop.

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.