Skip to content
Back to skills

Doc Lint

ASecurity

Lint docs in CI for broken links, spelling, and style so prose breakage fails the build like code does.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsgo

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add black141312/ada --skill doc-lint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doc Lint?

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

Security grade badge for Doc Lint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/black141312-doc-lint/badge)](https://www.skillsdirectory.com/skills/black141312-doc-lint)

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: doc-lint
description: Lint docs in CI for broken links, spelling, and style so prose breakage fails the build like code does.
category: docs
---

# Doc Lint

Use when docs are drifting — dead links, typos, inconsistent style — and you want automated gates instead of manual proofreading.

1. Link-check: run `lychee` (or `markdown-link-check`) across the docs tree to catch dead internal and external URLs.
2. Spell-check with a project dictionary: `cspell` with a committed `cspell.json` allow-list for domain terms.
3. Style/lint Markdown with `markdownlint` (or Vale for prose style rules like passive voice, weasel words, heading case).
4. Add a config to silence intentional exceptions (ignore patterns, allowed words) — keep it in-repo, not in flags.
5. Wire all three into CI as a `docs-lint` job that fails the PR on new violations.
6. Run the same commands locally / in a pre-commit hook so authors catch issues before pushing.
7. Triage existing noise once with a baseline, then enforce zero-new-violations going forward.

## Rules
- Make link-checking non-blocking-on-flakes: cache, retry, and allow-list known-flaky external hosts so CI isn't red from someone else's outage.
- Commit dictionaries and ignore lists; reviewers should see what's being suppressed.
- Treat new violations as build failures; warnings get ignored forever.
- Scope linters to `docs/**` and Markdown — don't let them choke on generated files or vendored content.
- Vale style rules are opinions: tune them to the team's voice, don't adopt a vendor preset wholesale.

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.

Comments

Loading comments…