agentleFS
angadhnangadhn/botference/.agents/skills/review-doc/SKILL.md

review-doc

Skill20 starsChanged 16 days agoMITView on GitHub

Render any document the user needs to review (design docs, plans, story bibles, proposals, reports) as a self-contained HTML page with Google-Docs-style commenting — highlight text, attach notes, export feedback. Use whenever producing or updating a document whose primary purpose is for the user to READ AND REACT TO, whenever the user asks for "a review doc", or when they hand back a *.feedback.md file. The user has standing instructions that all review documents get this treatment.

7 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 6 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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    The markdown source stays canonical: Never hand-edit the generated HTML.

    line 22
  2. Very specific:

    When the user returns a *.feedback.md (or pastes its contents): read every quoted passage + note, respond to or apply each one, then …

    line 32
  3. Distinctive:

    If the user asks for review docs in some other format, that wins.

    line 45

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

review-doc — reviewable HTML documents with margin comments

What this produces

A single self-contained .review.html file (no network, no deps) that renders a markdown document with:

  • Google-Docs-style commenting: select text → 💬 → type a note; comments live as cards in a right margin rail, anchored to highlights.
  • Persistence in localStorage (survives reload, keyed per document).
  • Export feedback button → downloads <doc>.feedback.md (quoted passages + the user's notes) and a copy-to-clipboard alternative.
  • General (unanchored) comments, dark/light theme support.

Workflow

  1. The markdown source stays canonical. Never hand-edit the generated HTML; regenerate it.
  2. Generate: node <dir-containing-this-SKILL.md>/build-review.mjs <source.md> [out.html] (the script sits next to this SKILL.md — use the path you read it from) (default output: <source>.review.html next to the source).
  3. Deliver: open <out.html> on macOS so it lands in the user's real browser (commenting + export need a full browser, not a preview pane), and/or send the file. Tell the user the loop in one line: highlight → comment → Export feedback → give me the file.
  4. When the user returns a *.feedback.md (or pastes its contents): read every quoted passage + note, respond to or apply each one, then regenerate the review HTML from the updated markdown. Existing comments re-anchor by quote; notes on text that changed appear in the rail as "unanchored" rather than being lost.

Notes

  • Works for any markdown: headings, tables, lists, code fences, blockquotes, links, images.
  • The document id (localStorage key + feedback filename) is derived from the output filename — keep it stable across regenerations so the user's in-progress comments survive.
  • If the user asks for review docs in some other format, that wins.

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.