From mdserve
Serves markdown as live-reloading browser previews using mdserve for complex docs, tables, Mermaid diagrams, and multi-file sets. Handles iterative edits.
npx claudepluginhub jfernandez/mdserve --plugin mdserveThis skill uses the workspace's default tool permissions.
Serve markdown files as live-reloading HTML previews in the browser
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Serve markdown files as live-reloading HTML previews in the browser
using mdserve.
Use mdserve whenever you produce markdown that benefits from rendered presentation:
Use mdserve when markdown is more than about 40 to 60 lines, has complex formatting, or is likely to go through multiple edit/review iterations with the user.
Do not use mdserve for short conversational answers, single code snippets, trivial one-paragraph responses, or any markdown that fits comfortably within a terminal window.
plan.md).run_in_background: true and
the --open flag to launch the browser automatically:
command: mdserve --open plan.md
run_in_background: true
TaskStop with the task ID.mdserve automatically finds an available port if the default (3000) is in use. Check the startup output for the actual URL and always tell the user the URL that mdserve reports.
When producing multiple related markdown files, serve the parent directory instead:
command: mdserve --open docs/
run_in_background: true
This gives the user a sidebar to navigate between files. Only the immediate directory is watched (non-recursive).
Use Mermaid diagrams when they improve clarity over plain text:
Prefer Mermaid over ASCII art when the diagram has more than a few elements or shows relationships and flow.
mdserve must be installed on the user's system. If the mdserve
command is not found, ask the user how they would like to install it
using AskUserQuestion with these options:
curl -sSfL https://raw.githubusercontent.com/jfernandez/mdserve/main/install.sh | bashbrew install mdservecargo install mdservesudo pacman -S mdserveThen run the corresponding install command for them.