name: "Review Document" description: "Reviews an existing Markdown document for quality, structure, completeness, and adherence to conventions." version: "1.0.0"
/review-document
Description
Reviews an existing Markdown document against framework conventions and produces a structured quality assessment.
Agent
Routes to: markdown-writer
Input
- Document: The Markdown document to review (file path or content).
- Review Focus (optional): Specific aspects to emphasize (e.g., structure, accuracy, completeness).
Instructions
- Read and parse the target document.
- Check against the following criteria:
- Frontmatter: Present, complete, and valid YAML.
- Structure: Proper heading hierarchy, no skipped levels.
- Content Quality: Clear, concise, actionable writing.
- Completeness: No missing sections relative to the document type.
- Placeholders: Identify any unreplaced
{{PLACEHOLDER}}variables. - Citations: All claims properly sourced.
- Formatting: Tables, lists, and code blocks properly formatted.
- Naming: File name follows conventions.
- Produce a structured review with findings and recommendations.
Output
A review report in Markdown:
## Document Review: {{document_title}}
### Summary
[Overall assessment: Pass / Pass with Comments / Needs Revision]
### Findings
| # | Category | Severity | Finding | Recommendation |
| -- | ------------ | -------- | -------------------- | ---------------------- |
| 1 | ... | ... | ... | ... |
### Detailed Comments
[Section-by-section feedback if needed]