Skip to content
Back to skills

Verify Docs

ASecurity

Verify documentation claims (README, JSDoc) in spec-heavy packages — @markuplint/types (attribute value types; WHATWG/W3C/RFC/CSS/SVG grammars) and @markuplint/ml-spec (HTML/WAI-ARIA algorithms, spec resolution) — against the live web standards and the actual implementation. Use when auditing or updating README/JSDoc in these packages, or when a doc claim (spec URL, ABNF, numeric count, algorithm description) is suspected stale. Trigger keywords: verify docs, doc audit, spec citation check, A...

  • 632 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
developmentgodocumentation

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add markuplint/markuplint --skill verify-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verify Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Verify Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/markuplint-verify-docs/badge)](https://www.skillsdirectory.com/skills/markuplint-verify-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: verify-docs
metadata:
  internal: true
description: >
  Verify documentation claims (README, JSDoc) in spec-heavy packages —
  @markuplint/types (attribute value types; WHATWG/W3C/RFC/CSS/SVG grammars) and
  @markuplint/ml-spec (HTML/WAI-ARIA algorithms, spec resolution) — against the
  live web standards and the actual implementation. Use when auditing or updating
  README/JSDoc in these packages, or when a doc claim (spec URL, ABNF, numeric
  count, algorithm description) is suspected stale. Trigger keywords: verify docs,
  doc audit, spec citation check, ABNF check, README accuracy, JSDoc accuracy.
---

# verify-docs

Verify that documentation claims are accurate against the official standards and the actual implementation.

Spec domains by package:

- `@markuplint/types` — WHATWG (HTML microsyntaxes, autofill, link types, MIME sniffing), W3C (Permissions Policy, CSS Values and Units), IETF RFCs (BCP 47, etc.), SVG attribute grammars
- `@markuplint/ml-spec` — WAI-ARIA, HTML-AAM, SVG-AAM, AccName, HTML Living Standard

## Method

1. Extract every externally checkable claim: spec URLs, ABNF grammar blocks, RFC numbers, numeric claims (e.g., "46 names", "13 void elements"), regex patterns claimed to match a spec definition, CSS value definition syntax references, ARIA algorithm descriptions (role computation, presentational conflict resolution), implicit-role mappings, accessibility-tree inclusion rules, content-model category claims, and "implements X" statements.
2. Group claims by spec domain and verify each domain in a parallel subagent: fetch the authoritative spec with the web search and fetch tools available in the session, compare claim vs spec vs source code, and assign a verdict — PASS (accurate), FAIL (inaccurate), WARN (technically correct but misleading or incomplete).
3. Report a consolidated verdict table. For each FAIL, produce a concrete correction: file, line, current text, corrected text, reason. For WARN, an advisory suggestion only.

## Judgment rules

- Source code is the source of truth for implementation behavior; the specification is the source of truth for what the standard defines. If the code intentionally deviates from the spec, the docs must state the deviation explicitly.
- If the CODE does not match the spec, that is a code issue, not a docs issue — report it separately; never "fix" the docs to describe a bug as intended.
- Numeric claims must be exact: count the arrays, enum values, union members, and Set entries in source.
- ABNF and regex patterns presented as spec quotes must be character-for-character accurate.
- Algorithm descriptions must match the actual step order, condition checks, and branching.
- Always fetch the live spec with the web search and fetch tools available in the session — never rely on cached knowledge.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.