Skip to content
Back to skills

Docs Honesty

ASecurity

Use when writing or reviewing docs, a README, a docs site or install instructions, when checking docs against a release, after cutting a release, when docs mention features, flags or output that may not have shipped, or when hunting dead links, wrong version numbers or invented example output.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
ai-agentsbashgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned December 6, 2026

npx -y skills add getgithard/githard --skill docs-honesty --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs Honesty?

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

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

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: docs-honesty
description: Use when writing or reviewing docs, a README, a docs site or install instructions, when checking docs against a release, after cutting a release, when docs mention features, flags or output that may not have shipped, or when hunting dead links, wrong version numbers or invented example output.
---

# Docs honesty

Docs that describe a feature you haven't shipped cost you twice: the reader loses an evening, and then they stop believing the rest. This skill keeps the docs true of what's released.

The reasons behind each rule are in `${CLAUDE_PLUGIN_ROOT}/knowledge/lessons.md` (Docs and the website).

## The rules

- **Docs describe the released version.** A feature's docs merge when the feature is in a release. Until then they stay on the feature's branch, or under a heading that says "Coming in the next release".
- **Docs are code.** They live in the repo, change through PRs, and build in CI, so a broken page fails a check instead of a reader.
- **Real output only.** Every example of output comes from running the command against the released build. Never type it out by hand, and never write what it "would" print.
- **Install docs name the current release.** After each release, bump the version in every install line.

## Audit every release

After a release ships, work through `${CLAUDE_SKILL_DIR}/audit-checklist.md` with the repo, the tag and the docs path. It compares the docs with the release's help text, notes and links, and reports each untrue claim as `path:line`.

For the two checks a script can do, links and flags:

```sh
bash ${CLAUDE_SKILL_DIR}/audit-docs.sh docs/ --tool jot --help-cmd "./dist/jot --help"
```

It prints `dead` for each link that answers 4xx or 5xx, and for each relative link to a file or heading that isn't there (checked from the linking file's folder, even with `--no-links`). It prints `unknown` for a link that doesn't answer, refuses an automated check (401, 403, 429), or is a github.com settings page that only a signed-in owner can see, and `untrue` for each subcommand or `--flag` in a code block that the released help doesn't list. Run `--help-cmd` against the released build, not `main`. It leaves relative links in a `templates/` folder alone, since they point into the repo the template is copied to. It exits 1 if anything is untrue.

Fix what the audit finds in one PR, with one line per fix in its description. Anything that would mean claiming an unreleased feature becomes an issue for the next release instead.

## A site that hides its 404s

If a docs site answers 200 for a page that doesn't exist, often because it serves its home page for every unknown path, dead internal links will pass any link check. Check with `curl -s -o /dev/null -w '%{http_code}' https://SITE/no-such-page`. Anything other than 404 needs a real 404 page.

## An existing project

Run the audit against the latest release first, and fix the oldest untrue claims first. Then add the docs build to CI, so the docs can't break without a failing check.

Files in this skill

  • SKILL.md3 KB
  • audit-checklist.md1.8 KB
  • audit-docs.sh7.6 KB

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 ai-agents →

Comments

Loading comments…

Newsletter

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