docs-audit
БесплатноЗапускает вложенные скриптыНе проверенAutonomous, report-only documentation review for Mastra docs. Use when auditing changed docs against source, validating contextual code examples or API…
от mastra-ai★ 29 944 звезды на GitHubОб этом скилле
Documentation audit
Audit Mastra documentation autonomously against source, the canonical mastra-docs guidance, and narrow deterministic checks. This skill is for report-only reviews. Do not edit documentation, ask the user to select jobs, or submit a fix plan unless the user separately requests implementation after the audit.
An audit checks both accuracy and prose quality. Accurate prose that breaks STYLEGUIDE.md still gets findings. This applies even when the skill or prompt that invoked this audit frames docs review as correctness only. A breach of the canonical authoring rules is never "only a nit".
Load first
- Activate the
mastra-docsskill. Its references are the canonical authoring policy; do not restate their rules. This step is required. An audit that did not loadSTYLEGUIDE.mdis incomplete: if you can't load it, record that as a limitation and give afailverdict. - Read:
docs/AGENTS.mdreferences/RUBRIC.mdreferences/AUDIT-REPORT.md.claude/skills/mastra-docs/references/STYLEGUIDE.md.claude/skills/mastra-docs/references/INFORMATION_ARCHITECTURE.md.claude/skills/mastra-docs/references/AUTHORING_WORKFLOW.md
- Add the applicable canonical references:
/docspages:DOC.md/integrationspages:GUIDE_INTEGRATION.md/referencepages:REFERENCE.md- pages using shared MDX or llms-txt-aware components:
COMPONENTS.md - pages containing Mermaid or diagram assets:
DIAGRAM.md
Apply the verification rules in AUTHORING_WORKFLOW.md to every audit. Apply its move, delete, and redirect sections only when those operations are part of the reviewed diff.
Autonomous workflow
1. Determine the complete audit scope
Use the explicit files, URL, topic, or PR named by the user. Otherwise inspect the current PR/diff and include every changed authored page under:
docs/src/content/en/docsdocs/src/content/en/integrationsdocs/src/content/en/reference
Do not ask the user to choose pages or jobs. Do not silently sample or cap a large changed-page set. Exclude generated pages unless the diff changes their generator or generated contract. Record any unavailable or ambiguous scope as a report limitation instead of starting a question loop.
2. Classify every page and map canonical guidance
Use these classifications:
docs overview:/docs/**/overview.mdxand overview-shaped/docs/index.mdxdocs page: other authored/docs/**pagesdeployment integration:/integrations/deploy/**integration: other authored/integrations/**reference: authored/reference/**
Prefer content and canonical ownership when a filename is misleading. For each page, record a compliance map with its classification and every canonical reference applied. Always include STYLEGUIDE.md, INFORMATION_ARCHITECTURE.md, and the verification guidance in AUTHORING_WORKFLOW.md, then add the page-type, component, and diagram references that apply.
3. Plan a bounded evidence pass
Keep the audit complete without repeating work:
- Use one command over the three authored content directories to collect both the changed-file list and a focused diff. Treat changed hunks and their page-level consequences as the primary risk map; do not retry with glob variants or rerun equivalent diff commands per file.
- Read each page once in the largest practical contiguous chunks and retain its line numbers for citations. Do not separately search for code fences or reread ranges for citations; reread only when tool truncation hid required evidence.
- Do not inspect sidebars unless a sidebar changed or route ownership is genuinely ambiguous from the page path and content.
- Load each canonical reference once. Batch independent canonical-reference and page reads with
multi_tool_use.parallel, but keep each parallel batch to at most two files and 500 requested lines so results remain directly usable. Never batch all references or all pages into one response, issue every read serially, or reread adocs/styleguidessymlink or another alias. - Do not create a task list for an audit-only review.
- Build one batched alternation from exact imported/exported identifiers and disputed literals across all changed pages, then search the full repository once with no context and a small per-file match cap. Omit generic words, broad option names, and already-proven prose terms so the result identifies source paths without flooding the audit. Do not guess package subtrees, begin with one search per page or symbol, or use file discovery unless that full-repository search returns no usable path.
- Group related pages, blocks, imports, and symbols into shared source reads. Once the batched search identifies source paths and line evidence, open independent implementation ranges together with
multi_tool_use.parallel, keeping each range under 150 lines and each batch under 500 requested lines. Do not open full implementation files, iss
Установить docs-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл docs-audit?
Autonomous, report-only documentation review for Mastra docs. Use when auditing changed docs against source, validating contextual code examples or API coverage, checking canonical mastra-docs guidance, or running narrow deterministic checks.
Как установить скилл docs-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docs-audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic