Agent Skill: Document Review
MRSF includes a ready-to-use Agent Skill that teaches AI agents to review Markdown documents using the MCP server.
What is an Agent Skill?
Agent Skills are a portable, open format for giving AI agents new capabilities. A skill is a folder with a SKILL.md file containing structured instructions that any skills-compatible agent (Claude Code, Copilot, Junie, OpenHands, etc.) can discover and use.
The mrsf-review Skill
The skill lives at examples/mrsf-review/SKILL.md and instructs an agent to:
- Discover the sidecar for the target document
- Check existing comments for context
- Read and review the document, adding anchored comments with type and severity
- Validate the sidecar after adding comments
- Summarize findings
Each comment is anchored to a specific line with a category (accuracy, clarity, suggestion, style, issue, question) and severity (low, medium, high).
If an agent needs to attach tool-specific metadata, the MCP tools also support an explicit extensions object whose keys must start with x_. Those entries are stored on disk as flat x_* fields on the comment.
Installation
Copy the skill folder into your project:
cp -r examples/mrsf-review .agent/skills/Or clone directly:
mkdir -p .agent/skills
curl -sL https://raw.githubusercontent.com/wictorwilen/MRSF/main/examples/mrsf-review/SKILL.md \
-o .agent/skills/mrsf-review/SKILL.md --create-dirsPrerequisites
The MRSF MCP server must be configured for your agent. See MCP Server for setup instructions.
Full Skill File
Below is the complete SKILL.md — copy it as-is into your project:
MRSF Document Review
You review Markdown documents by adding structured, anchored comments using the MRSF MCP server tools.
Setup
The MRSF MCP server must be available. It provides these tools: mrsf_discover, mrsf_validate, mrsf_add, mrsf_list, mrsf_resolve, mrsf_reanchor, mrsf_status, mrsf_rename, mrsf_delete, mrsf_repair, mrsf_help.
Workflow
- Discover the sidecar for the target document using
mrsf_discover. - Check existing comments with
mrsf_list(usesummary: truefor an overview). - Read the document, then add comments with
mrsf_addfor each issue found. Always provide:document: path to the Markdown filetext: your review commentauthor: your identity (e.g. "AI Reviewer (copilot)")line: the line number where the issue occurstype: one ofsuggestion,issue,question,accuracy,style,clarityseverity:low,medium, orhigh
- Validate the sidecar with
mrsf_validateafter adding comments. - Summarize what you found using
mrsf_listwithsummary: true.
Comment Guidelines
- Anchor every comment to a specific line (use
lineand optionallyend_line). - Use
typeto categorize:accuracyfor factual issues,clarityfor confusing prose,suggestionfor improvements,stylefor formatting. - Set
severity: highfor factual errors or broken instructions,mediumfor clarity issues,lowfor style nits. - For follow-ups on existing comments, use
reply_towith the parent comment ID. - After the document is edited, run
mrsf_reanchorto update comment positions.
