Skip to content
Back to skills

Review Doc

ASecurity

Render a document as a self-contained HTML page with Google-Docs-style margin comments (highlight text, attach notes, export feedback). Use when the user asks for a review doc or a commentable version of a document, or hands back a *.feedback.md file.

  • 20 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 9, 2026
ai-agentsgonode

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 15, 2026

npx -y skills add angadhn/botference --skill review-doc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Doc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Doc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/angadhn-review-doc/badge)](https://www.skillsdirectory.com/skills/angadhn-review-doc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review-doc
description: Render a document as a self-contained HTML page with Google-Docs-style margin comments (highlight text, attach notes, export feedback). Use when the user asks for a review doc or a commentable version of a document, or hands back a *.feedback.md file.
---

# 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.

Files in this skill

  • SKILL.md2.4 KB
  • build-review.mjs5 KB
  • template.html17.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.