agentleFS
boykushboykush/scraps/.agents/skills/doc-update/SKILL.md

doc-update

Skill45 starsChanged 52 days agoMITView on GitHub

Check Scraps' documentation against what a release shipped, propose the updates it is missing, and apply the ones the user picks. Use this after a release is published (e.g. "/doc-update 3.1.0", "v3.1.0 の docs を見直して"), or whenever the user asks whether the docs site, README or plugin READMEs still match released behaviour.

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

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

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 1

    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:

    Keep what users would notice: breaking changes, features, fixes, and performance changes.

    line 19
  2. Very specific:

    Check links with the binary built from this checkout: cargo build --release && ./target/release/scraps -C docs lint -r broken-link -r …

    line 50

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

Feature PRs normally update their docs in the same change. This skill looks for what slipped through anyway:

  • behaviour the release changed that the docs still describe the old way
  • pages where a new feature should appear but doesn't
  • screenshots that no longer match

Takes a version such as 3.1.0. Without one, use the latest release (gh release view --json tagName).

1. Read what shipped

  • gh release view v<version> --json body lists the PRs by section, with breaking changes first.
  • Keep what users would notice: breaking changes, features, fixes, and performance changes. Skip maintenance.
  • For each PR you keep, gh pr view <N> --json files --jq '.files[].path' shows which docs it already updated. Don't propose those changes again.

2. Find where each change belongs

SurfaceWhereHolds
Docs sitedocs/A Scraps wiki laid out by Diátaxis in Tutorial/, How-to/, Reference/ and Explanation/. docs/README.md is the index page
READMEREADME.mdQuick start, how Scraps works, AI integration, screenshots
MCP tool referenceplugins/mcp-server/README.mdParameters and response shape of every MCP tool
Plugin overviewsplugins/*/README.mdWhat each plugin bundles
Screenshotsassets/Images the README embeds

Pages move between releases, so list the tree (git ls-files docs README.md plugins assets) rather than assuming paths. To find everything that mentions a changed command, flag, config key or term, run git grep -n "<term>" -- docs README.md plugins. An exact match catches stale mentions that fuzzy search misses.

Usual homes for a change:

  • A command, flag or --json field: docs/Reference/CLI Overview.md. If agents use it, also docs/How-to/Integrate with AI Assistants.md.
  • A config key: docs/Reference/Configuration.md
  • A lint rule: docs/Reference/Lint Rules.md
  • An MCP tool: plugins/mcp-server/README.md
  • A change in what CI needs, such as checkout depth or action inputs: docs/How-to/Deploy to GitHub Pages.md
  • A new major version: every boykush/scraps@v<major> reference

3. Propose

Group the proposals by file. For each one, give what to add or change, which section it goes in, and the PR that calls for it. List first anything that still describes the old behaviour of a breaking change. Then ask the user which proposals to apply.

4. Apply what the user picks

  • Match the page's voice and its wiki-links ([[Reference/CLI Overview]], #[[Tag]]). Link a new page from the index or from its parent page. For example, pages under Reference/Static Site/ are linked from Reference/Static Site.md.
  • Check links with the binary built from this checkout: cargo build --release && ./target/release/scraps -C docs lint -r broken-link -r broken-heading-ref.
  • Open the edits as their own docs PR (docs: ...), separate from the release.

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.