Skip to content

Repository files navigation

md-feedback-ui

Browser-based markdown review UI with inline commenting and screenshot support. Designed for reviewing plans, specs, and documentation — especially with Claude Code.

md-feedback-ui screenshot

Features

  • GitHub-flavored Markdown rendering with Mermaid diagram support
  • Inline block-level commenting on any markdown element
  • Screenshot attachments via paste or drag-and-drop
  • Multi-file tabs with speckit ordering (spec, plan, tasks, then alphabetical)
  • Structured JSON output (.review.json) for automation
  • Zero-config: npx and go

Quick Start

npx md-feedback-ui ./docs/plan.md

This opens a browser-based review UI. Add comments inline, attach screenshots, and click Submit. The tool writes a .review.json file next to the input and exits.

Claude Code Integration

Install the skill so Claude Code can launch reviews:

# Add to current project
npx md-feedback-ui --install-skill

# Or add globally (all projects)
npx md-feedback-ui --install-skill --global

Then in Claude Code, use the skill:

/md-feedback-ui path/to/plan.md

Workflow:

  1. Claude launches the review server
  2. You review and comment in the browser, then submit
  3. The server writes .review.json and exits
  4. Claude reads the structured feedback and addresses each comment

CLI Reference

md-feedback-ui <file-or-directory...> [options]
md-feedback-ui --install-skill [--global]
Option Description
--no-open Don't auto-open the browser
--install-skill Install the Claude Code skill to .claude/commands/
--global With --install-skill, install to ~/.claude/commands/
--version Show version number
--help Show help

Examples

md-feedback-ui plan.md                    # Single file
md-feedback-ui docs/                      # All .md files in directory
md-feedback-ui spec.md plan.md tasks.md   # Multiple files

Output Format

The .review.json file contains structured feedback:

{
  "reviewedFiles": ["spec.md", "plan.md"],
  "submittedAt": "2026-03-29T12:00:00.000Z",
  "comments": [
    {
      "file": "plan.md",
      "startLine": 10,
      "endLine": 14,
      "blockType": "paragraph",
      "selectedText": "The text of the block being commented on",
      "comment": "This needs more detail about error handling",
      "screenshots": ["path/to/screenshot.png"]
    }
  ]
}

Development

git clone https://github.com/elithompson/md-feedback-ui.git
cd md-feedback-ui
npm install

# Start dev servers (Vite frontend + Express API)
npm run dev                    # In one terminal
npx tsx src/server/index.ts test-fixtures/ --no-open  # In another

# Run checks
npm run check                  # typecheck + lint + test

Requirements

Node.js >= 18.0.0

License

MIT

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages