agentleFS
Sapere-IASapere-IA/sdd-onboarding-kit/skills/optional/documentation-update/SKILL.md

documentation-update

Skill18 starsChanged 2 months agoMITView on GitHub

Update documentation affected by a completed task, after technical review and before the task is marked done. Use when review identifies documentation targets.

3 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

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

  • 0

    Common

    Most of the 3 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. Very specific:

    Keep user-facing, developer-facing, and operational documentation aligned with implemented changes — after code review (so docs describe …

    line 10
  2. Distinctive:

    Before technical review — implementation may still change.

    line 30
  3. Distinctive:

    When no doc actually describes the changed behavior (do not invent new doc surfaces without asking).

    line 32
  4. Distinctive:

    Update them to match the reviewed implementation.

    line 44
  5. Distinctive:

    Never expose secrets, internal URLs, or credentials in documentation.

    line 60
  6. Distinctive:

    Do not document unreviewed implementation details.

    line 61
  7. Distinctive:

    Do not rewrite unrelated documentation while updating a target.

    line 62

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

Documentation update

Purpose

Keep user-facing, developer-facing, and operational documentation aligned with implemented changes — after code review (so docs describe what was actually merged-reviewed) and before done (so docs are not forgotten).

This skill is the procedure behind the harness's documentation phase: the reviewer decides whether docs are required and lists targets (documentation_required, documentation_targets), the documenter agent executes this procedure, and the reviewer re-checks before the task becomes done (documentation_status: pending → updated|not_required). The phase uses task fields, not extra states.

When to use

  • A reviewed task changed behavior, APIs, setup steps, commands, or structure that existing docs describe.
  • The reviewer listed documentation targets for a task.
  • The project map or README has drifted from reality after a change.

When not to use

  • Before technical review — implementation may still change.
  • For documenting rejected or unmerged alternatives.
  • When no doc actually describes the changed behavior (do not invent new doc surfaces without asking).

Required inputs

  • The completed task/spec and its review notes.
  • The list of documentation targets (README, API docs, setup docs, changelog/history, project map, user-facing docs).

Procedure

  1. Identify only the docs directly affected by the task.
  2. Update them to match the reviewed implementation; keep each doc's existing voice and structure.
  3. Link or cite the source spec/task where the doc format allows it.
  4. Append the task summary to history.md if the project uses it.
  5. Report which docs were updated and which were judged unaffected, so the reviewer can re-check.
  6. Set documentation_status: "updated" only after the report; the reviewer's re-check gates done.

Output artifact

Updated documentation files plus a short list of updated/unaffected targets in the task's review notes or summary.

Safety constraints

  • Never expose secrets, internal URLs, or credentials in documentation.
  • Do not document unreviewed implementation details.
  • Do not rewrite unrelated documentation while updating a target.

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.