doc-lint

doc-lint is a skill for Claude Code, Codex from xyy277/doc77. It costs 39 tokens per session (343 once invoked), scanned A, original, MIT.

A documentation checker for Markdown files. It reviews headings, lists, code blocks, tables, links, terminology, spelling, grammar, and punctuation.

In plain words
What is it for?
Use it to review project documentation for structure, link validity, consistent terms, and common writing mistakes.
Why use it?
It helps find broken links and inconsistent formatting or wording before documentation is published. Each issue includes its file, line number, description, severity, and a suggested fix.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review project documentation for structure, link validity, consistent terms, and common writing mistakes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xyy277/doc77/doc-lint
View source ↗ xyy277/doc77
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xyy277/doc77 --skill doc-lint
Clone the repo
git clone --depth 1 https://github.com/xyy277/doc77

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for doc-lint

README.md
[![agentmods](https://agentmods.dev/badge/skills/xyy277/doc77/doc-lint/github.svg)](https://agentmods.dev/skills/xyy277/doc77/doc-lint)
Your own site
<a href="https://agentmods.dev/skills/xyy277/doc77/doc-lint"><img src="https://agentmods.dev/badge/skills/xyy277/doc77/doc-lint/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doc-lint

Your own site · 80×15
<a href="https://agentmods.dev/skills/xyy277/doc77/doc-lint"><img src="https://agentmods.dev/badge/skills/xyy277/doc77/doc-lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 343 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00343
Opus 5.5 $0.00016 $0.00137
Sonnet 5.5 $0.00008 $0.00069
Haiku 4.5 $0.00004 $0.00034

Measured 1mo ago against content hash d7ca4f9a7dda, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-lint scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/ai/src/skills/builtin/skills/doc-lint/SKILL.md · 42 lines

What it actually says

文档规范检查技能

检查项目

格式规范

  • Markdown 标题层级是否连续(不跳级)
  • 列表缩进是否一致(2 空格或 4 空格)
  • 代码块是否有语言标注
  • 表格格式是否正确
  • 空行:标题前后各一空行,列表项之间不留空行

链接检查

  • 内部链接指向的文件是否存在
  • 锚点链接格式是否正确(小写、连字符分隔)
  • 外部 URL 格式是否合法

术语一致性

  • 同一概念是否全文使用统一译法
  • 缩写首次出现是否给出全称
  • 中英文混排时中英文之间是否有空格

拼写和语法

  • 常见拼写错误检测
  • 标点符号:中文用全角,英文用半角
  • 句末标点是否一致

输出格式

按严重程度分级:

  • 🔴 错误:必须修复(格式错误、断链)
  • 🟡 警告:建议修复(不一致、不规范)
  • 🔵 提示:可选优化(风格建议)

每条包含:文件路径、行号、问题描述、修复建议。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 42 lines · 39 tokens per session scan A d7ca4f9a7dda

Subscribe to this mod's changes

doc-lint is a skill published in the GitHub repository xyy277/doc77 (8 stars, last pushed 10d ago), licensed MIT. It adds 39 tokens to every session and 343 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

llmwiki

Build and use a persistent, citation-traceable knowledge wiki from documents, research papers, notes, or project documentation. Use for llmwiki projects, retrieving reusable evidence for an agent task, or compiling a corpus for repeated questions. A one-off file read or live web search does not need a wiki.

atomicstrata/llm-wiki-compiler · 66 tokens

gwm

Manage git worktrees across any repository with the gwm Rust binary (CLI + ratatui TUI). Use when the user asks to create / list / remove / bootstrap / switch / link worktrees, run a command across worktrees (gwm exec) or reclaim build artifacts (gwm clean), materialise a PR into a worktree (gwm review), drive a…

kbrdn1/gwm-cli · 0 tokens

handoff

Hand work to another tool, account or machine and pick it up there, in two words. Use when the user says "hand off", "hand off all", "out of tokens", "switching accounts", "pick up" or "continue".

anton-abyzov/specweave · 51 tokens

sw-do

Work a SpecWeave increment task by task - claim, implement inside its Files, test, commit, done with evidence - alone, unattended or in lanes, then close. Use for "implement", "continue", "auto".

anton-abyzov/specweave · 46 tokens

review

Adversarial review of an increment before it ships, by a fresh context or another model family; every finding cites path:line and is re-verified. Use for "review", "qa", "critique this".

anton-abyzov/specweave · 45 tokens

glossary

Build the shared language - interview the user term by term and write GLOSSARY.md with what each term means in the business, the data, the code and the UI. Use for "glossary", "ubiquitous language".

anton-abyzov/specweave · 49 tokens