Docs Page Auditor Agent
The Docs Page Auditor is a custom Cursor agent that reviews any markdown page in this workspace, gathers context from linked docs, and writes an audit + proposed updated draft into a queue for human approval.
It never edits source files directly.
Workspace: Full (TechStackMain) · MCP: None
Purpose
- Enforce existing content rules consistently across docs.
- Check that a page is still accurate and well-linked.
- Propose a clean, updated
.mdversion that can be approved or rejected. - Keep a written audit trail for each change.
Source and Configuration
- Agent definition:
.cursor/agents/docs-page-auditor.md - Queue folder:
.cursor/plans/docs-agent-queue/
The agent loads core content rules and Docusaurus conventions before auditing:
docusaurus/docs/prompts/development/content-editing.mddocusaurus/docs/docusaurus/index.mddocusaurus/docs/docusaurus/repo-structure.mddocusaurus/docs/docusaurus/features/callout-component.mddocusaurus/docs/docusaurus/features/faq-structured-data.mddocusaurus/docs/tools/design-content/mermaid.md- Relevant templates in
docusaurus/docs/docusaurus/templates/*.md
Source-of-Truth Rules
The auditor must respect the source-of-truth locations:
-
Tool docs
- Source:
tools/<tool>.md - Generated:
docusaurus/docs/tools/...(never edited directly)
- Source:
-
Script docs
- Source:
scripts/resources/<tool>/README.md(and any sibling.mdwithtitle:frontmatter) - Generated:
docusaurus/docs/scripts/...(never edited directly)
- Source:
-
Custom Docusaurus pages
- Source:
docusaurus/docs/**/*.md(except generated tools/scripts output)
- Source:
If you point the auditor at a generated page, it maps to and audits the underlying source file.
Queue Outputs
For every run, the auditor writes:
-
Audit report
.cursor/plans/docs-agent-queue/audits/<YYYY-MM-DD>/<slug>--audit.md -
Proposed draft
.cursor/plans/docs-agent-queue/drafts/<YYYY-MM-DD>/<slug>--proposed.md
The audit report includes findings by severity and a full proposed updated markdown block. The draft file contains only the updated markdown content.
Typical Workflow
- Run the auditor on a target page.
- Review the audit report and proposed draft in
.cursor/plans/docs-agent-queue/. - If approved, hand off to the Docs Page Fixer with the approved draft path and source file path.