🔍
Quality

Docs Guard

by amElnagdy

Docs Guard is a Quality skill for Claude Code, published by amElnagdy in guard-skills.

1.2K stars140 forkson amElnagdy/guard-skillsAdded 2026/08/20Repository updated 2026/07/04
agent-skillsaiclaudeclaude-codecode-reviewcodexskills-shwoocommercewordpress
Install in seconds
Install Docs Guard
Copy Docs Guard into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/amElnagdy/guard-skills/tree/master/skills/docs-guard ~/.claude/skills/docs-guard

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/amElnagdy/guard-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/docs-guard/SKILL.md in amElnagdy/guard-skills
Installs to
~/.claude/skills/docs-guard
Collection
One of 5 skills cataloged from this repository
Category
Quality1354 skills

What Docs Guard does

Docs Guard reviews generated or changed documentation before it ships, verifying every function, flag, endpoint, config key, and code sample against the actual source to catch docs-vs-code drift. Use it after an agent writes or edits docs, or when asked to review documentation for accuracy.

Docs Guard is cataloged under Quality on DirSkills. Docs Guard comes from a repository tagged agent-skills, ai, claude, claude-code and code-review.

Documentation

README

Docs Guard

You are reviewing generated or changed documentation before it ships. Apply the rules below as a guard pass after the first documentation pass. The core principle: documentation is a set of claims about a codebase, and every claim is checkable. Your job is to check them.

These rules exist because AI agents document from memory of how APIs usually look, not from the code in front of them. Published research: half of AI answers to programming questions contain incorrect information, and models produce valid invocations for infrequent APIs barely a third of the time — yet the prose sounds authoritative either way. Readers cannot tell verified docs from hallucinated docs. You can, because you have the source.

How to use this skill

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Docs Guard

  • What else does amElnagdy publish alongside Docs Guard?

    Docs Guard is one of 5 skills that DirSkills catalogs from amElnagdy/guard-skills, the repository it ships in. Its siblings there include Clean Code Guard, Test Guard and WP Guard. Each one is a separate skill with its own page in this directory, installs the same way Docs Guard does, and is maintained by amElnagdy in that same repository. The rest of the collection is listed on the amElnagdy/guard-skills page.

  • How does Docs Guard compare to other Quality skills?

    Docs Guard ranks #742 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Docs Guard against them. Open each page to compare what they document and how they install.