MCPInstall

qa-docs-coverage

Audits and enforces documentation quality. Use when checking coverage, freshness, runbook validity, AI-instruction coverage, or cleaning stale/duplicate markdown after LLM edits.

Installs
158
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/vasilyu1983/ai-agents-public --skill qa-docs-coverage
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads qa-docs-coverage automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

QA Docs Coverage

Use this skill to audit documentation as a quality system: discover what should exist, map what exists, rank the gaps, and add checks so critical documentation does not regress. It complements docs-codebase, which is better for writing or restructuring the docs you decide to fix.

Quick Reference

TaskUse
Discovery and audit flowreferences/discovery-patterns.md, references/audit-workflows.md
Prioritization and metricsreferences/priority-framework.md, references/documentation-quality-metrics.md
AI-instruction, llms.txt, and freshness checksreferences/ai-instruction-coverage.md, references/freshness-tracking.md
Runbook and contract validationreferences/runbook-testing.md, references/api-docs-validation.md
CI/CD gatesreferences/cicd-integration.md
Scripts and templatesscripts/check_local_links.py, scripts/check_external_links.py, scripts/docs_freshness_report.py, assets/coverage-report-template.md, assets/documentation-backlog-template.md

Navigation

  • Writing or restructuring the docs themselves: use docs-codebase.
  • PRDs, implementation specs, or project memory layers: use docs-ai-prd.
  • Pure code-risk review with docs as a secondary concern: use software-code-review.
  • Test-suite quality, including mutation-score gating: use qa-testing-strategy.

Defaults

  • Discover components before judging missing docs.
  • Rank by risk and operating impact, not document count.
  • Block on critical external contracts and runbooks; backlog the rest.
  • Treat AI-generated docs as drafts until links, commands, and claims are checked.
  • For agent-facing docs, check whether a maintained llms.txt at the relevant site path helps agents find the canonical pages; the format also permits path-scoped files such as /docs/llms.txt.
  • Test runbooks must declare the canonical start, targeted-run, cleanup/reset, and deploy-gate commands.
  • Keep one canonical document per topic and one owner per critical area.

Workflow

  1. Discover services, contracts, runbooks, instruction files, and critical workflows.
  2. Map current docs to the audit model and identify real gaps, duplicates, and stale areas; exclude archives from the inventory.
  3. Rank the gaps by severity and fix order.
  4. Validate links, runbooks, contracts, and freshness signals with scripts or CI tools. Label evidence inventory, static, executed, or operator-validated; Markdown, links, and command syntax do not prove that a runbook reaches its stated end state.
  5. For executed runbooks, record prerequisites, environment, exact command, observed output, cleanup result, and any destructive or privileged step intentionally left untested.
  6. Produce a coverage map, runbook validation, or AI-docs cleanup report with owners, status, and next gates.

Core Decisions

Audit Model

Use three priority levels:

  • P1: external contracts and failure behavior
  • P2: internal integration and operational docs
  • P3: developer reference and convenience docs

Default policy — this is the canonical freshness threshold set for this skill; the thresholds in freshness-tracking.md, scripts/docs_freshness_report.py, and CI examples all use it:

  • P1: 30 days, blocking. Run docs_freshness_report.py --fail-on P1 (the script's default) so CI fails only on stale P1 docs.
  • P2: 60 days, warn.
  • P3: 90 days, warn.
  • Track non-blocking debt in a backlog instead of failing every change.

Coverage vs. Usefulness

A coverage percentage is a screening signal, not a verdict — see api-docs-validation.md for the spot-check method and the same trap in AI-generated test coverage.

Prioritizing What to Document

Component type (P1/P2/P3) sets a floor, not the whole ranking. Within a tier, real usage signal sequences the work: support-ticket/Slack-question frequency for a topic can outrank component type (a P3 config option with two tickets a week beats an undocumented P2 service nobody has asked about); onboarding friction is a leading indicator even with no ticket filed; an incident postmortem citing "unclear docs" re-prioritizes that doc to P1 regardless of its original tier; and absence of signal is not evidence of low priority — cross-check against the roadmap, since it can mean nobody has discovered they need the component yet.

When Not to Document

Documentation has a maintenance cost; do not recommend it reflexively. Skip inline docs for code that is self-evident from its name, type signature, and context (flag as "appropriately undocumented," not a gap). Skip a dedicated page for a component with a single internal caller and no independent failure mode. Prefer fixing a confusing interface over documenting around it. Do not recommend documenting deprecated or soon-to-be-removed components; recommend removal or an explicit deprecation notice instead.

Freshness and Ownership

Critical docs should have enough metadata to re-verify them: owner, last verified date, review cadence, related code paths or systems. For multi-repo hubs, freshness should follow repo sync events, not only a calendar schedule.

Doc-Rot Signals Beyond Age

A doc can be young by last_verified and still be wrong — see freshness-tracking.md for the rot signals (vanished identifier, silent code drift, contradicted example, ticket conflict) and why a rot signal should override a fresh badge.

Ownership Models That Keep Docs Alive

An owner listed in frontmatter is necessary but not sufficient. Judge whether the ownership model creates a feedback loop: author-owns-until-handoff (fails once the author moves teams), docs-on-call rotation (survives turnover), CODEOWNERS-enforced (catches drift at commit time), team-charter-embedded (survives turnover best). A named owner with no enforcement mechanism is the weakest model — flag it as a gap, not just an owner-present checkbox.

Runbooks and AI Instructions

Runbooks are only acceptable if someone new can execute them and reach a clear end state.

Test runbooks (P1 when stale) must declare: the canonical dev-server or environment bootstrap command, the canonical targeted spec or batch command, the canonical cleanup or reset command, the canonical deploy-gate replay command, and artifact locations for traces, logs, or failure context. Treat stale "run the whole suite first" guidance as P1 when it materially wastes time, causes environment collisions, or bypasses the intended deploy-gate flow.

Instruction-file audits should verify: the active agent/runtime files actually match the tools in use (see ai-instruction-coverage.md for Claude Code and Codex specifics), duplicated instruction layers are intentional, external claims have sources and verification dates, and AI-generated edits still match the current code and workflow reality.

Anti-Patterns

  • Documenting everything at once instead of ranking by impact.
  • Merging AI-generated docs without execution or link checks.
  • Keeping unowned docs that never get re-verified.
  • Assuming a large docs folder is healthy because it is large.
  • Reporting docstring or endpoint coverage percentage without spot-checking a sample for actual content.
  • Recommending documentation for self-evident code, or documentation as a substitute for fixing a confusing interface.
  • Leaving stale test commands or batch names in a canonical runbook after the runner topology changed.
  • Treating one tool's instruction-file pattern as universal.
  • Ranking gaps by component type alone when support-ticket volume, onboarding friction, or an incident postmortem already show which gap is actually hurting people.

Learnings Loop

When prior decisions or pitfalls are relevant, consult learnings.consolidated.md if present; use learnings.md only for needed history or as the available fallback. Otherwise skip both.

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

FAQ

What does the qa-docs-coverage skill do?

Audits and enforces documentation quality. Use when checking coverage, freshness, runbook validity, AI-instruction coverage, or cleaning stale/duplicate markdown after LLM edits.

How do I install qa-docs-coverage?

Run npx skills add https://github.com/vasilyu1983/ai-agents-public --skill qa-docs-coverage in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/qa-docs-coverage/ (personal) or .claude/skills/qa-docs-coverage/ (project).

Which AI agents can use qa-docs-coverage?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is qa-docs-coverage safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains qa-docs-coverage?

It is published by vasilyu1983 in vasilyu1983/ai-agents-public. It has 158 recorded installs.

More from vasilyu1983/ai-agents-public

View all →

software-architecture-design

vasilyu1983/ai-agents-public

Designs runtime topology in a chosen solution. Use when choosing monolith vs services, cells, consistency, ADRs. Not for cross-system design (software-solution-architecture).

product-management

vasilyu1983/ai-agents-public

Guides founder-PM discovery, roadmaps, prioritization, and PMF measurement. Use when planning product strategy, metrics, or roadmaps.

AI & Agents914 installs

document-xlsx

vasilyu1983/ai-agents-public

Builds Excel charts, pivots, validation, exports, Office Scripts/Graph automation, and workbook audits. Use when automating workbooks; for plain edits prefer official xlsx skill.

Data & Databases875 installs

software-ui-ux-design

vasilyu1983/ai-agents-public

Designs and audits UI/UX systems with usability and accessibility requirements. Use when shaping flows, design systems, interaction patterns, or WCAG-aware product behavior.

Frontend & Design731 installs

document-pdf

vasilyu1983/ai-agents-public

Handles PDF/UA accessibility, real redaction, metadata scrubbing, signing, and extraction. Use when redacting or signing PDFs; for plain create/merge prefer the official pdf skill.

Docs & Writing689 installs

qa-testing-playwright

vasilyu1983/ai-agents-public

Builds and debugs Playwright E2E suites. Use when authoring browser tests, fixing flakes, or hardening Playwright CI and locator strategy.

Testing & QA665 installs

Popular testing & qa skills

View category →

tdd

mattpocock/skills

Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

Testing & QA1.2M installs

grilling

mattpocock/skills

Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

Testing & QA996.2K installs

migrate-to-shoehorn

mattpocock/skills

Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.

Testing & QA484.1K installs

run-train

lllllllama/rigorpilot-skills

Rigor Train skill for deep learning research repositories. Use when a documented or selected training command should be run conservatively for startup verification, short-run verification, full kickoff, or resume, with command, config, seed, log, checkpoint, status, and metric evidence written to standardized trainoutputs/. Do not use for environment setup, exploratory sweeps, speculative idea implementation, or end-to-end orchestration.

Testing & QA337.8K installs

test-driven-development

obra/superpowers

Use when implementing any feature or bugfix, before writing implementation code

Testing & QA261.8K installs

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

Testing & QA216.8K installs