Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Docs and code match check

Checks that your README and docs still match the code and tests, so stale claims are caught before you publish.

What we improved

Expanded the method so it goes beyond what Claude would do unprompted: a scoping step (current behaviour or spec), a table of claim types with how to check each one (imports, defaults, errors, examples, CLI flags, environment variables, com

Improved by YourAISkill from the original by oaustegard, under its MIT licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.

Claude's review

8/10 Clear doc versus code versus test review with four verdicts, strict rules for what backs a claim, a worked report and a working ast based context bundler.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Check that a document's claims about code are actually true by reading the prose, the code, and the tests and reporting (or fixing) where they disagree. Use whenever the user wants to verify a README, guide, spec, or docstring still matches the code; whenever they mention documentation drift, doc-code sync, "is this still accurate", stale docs, or keeping docs/tests/code consistent; before publishing or merging a docs change; or as a periodic doc-accuracy sweep. The agent reads the prose's meaning directly — there is no claim-comment DSL to maintain. Pairs with TDD — the test suite is the deterministic behavioral gate, this skill is the semantic prose-vs-reality review.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: verifying-claims
description: "Check that a document's claims about code are actually true by reading the prose, the code and the tests together, then reporting (or fixing) where they disagree, with PASS, FAIL, UNSUPPORTED and STALE verdicts ranked by severity. Use when the user wants to verify a README, guide, API doc, spec, changelog or docstring still matches the code; mentions documentation drift, doc-code sync, stale docs, 'is this still accurate', or keeping docs, tests and code consistent; before publishing or merging a docs change; after a refactor; or as a periodic doc-accuracy sweep. Includes an ast-based bundler for Python projects (signatures with real defaults, constants, re-exports, test inventory with assertion counts and skips); works on other languages by gathering the same facts by hand. A triggered review that complements the test suite, not a CI gate."
metadata:
  version: 0.2.0
---

<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by oaustegard. See CHANGES.md. -->

# verifying-claims

Check that what a document *says* about code is true, by reading the document, the code and the tests together and reporting where they disagree. The reviewer is the agent: it reads the prose's meaning directly and compares it with what the code does and what the tests assert. There is no claim markup to maintain, because the thing being checked is the thing the human reads.

## Division of labour: read this first

This skill does NOT gate merges and is NOT a test framework.

- **The test suite (TDD/CI)** owns the behavioural contract: deterministic, cheap, auditable. A green check is something you can hold CI to.
- **This skill** owns the prose layer: does the documentation match reality? That needs semantic judgement across artifacts, which is fallible, so it runs as a *triggered review* (before docs ship, after a refactor, on request, as a sweep), not as a per-commit gate.

Tests are the anchor. The docs are correct when they agree with what the code does and the tests assert. This skill keeps the prose pinned to them and turns unprotected claims into a list of missing tests.

## Procedure

### 1. Scope

Identify the document(s), the code they describe and the tests that cover it. Note the version the docs claim to describe (a docs site for v2 checked against a v3 checkout is a scope error, not drift). Ask one question if it is unclear: is this document a description of current behaviour, or a spec of intended behaviour? That decides which side gets fixed in step 6.

### 2. Gather

For Python, bundle the facts deterministically:

```bash
python3 scripts/gather_context.py --doc README.md --src pkg/ --tests tests/
python3 scripts/gather_context.py --doc docs/api.md --src pkg/a.py --src pkg/b.py --json
```

It parses with `ast` (never imports or runs project code) and outputs the document, every public function and class with **real default values and type hints**, module UPPER_CASE constants, `__all__` and `__init__.py` re-exports, and a test inventory: per test, its assertion count (plain `assert`, `assert*` method calls, `pytest.raises`/`warns`), trivial `assert <constant>` lines, skip/xfail markers, and which API names it mentions. Needs Python 3.9+. Missing paths are reported on stderr, not silently ignored.

For other languages, or for what the bundle cannot show, collect the same facts by hand: exported names (`export`, `pub`, capitalised Go identifiers, public Java/C# members), signatures and defaults, constants and config keys, the CLI's real `--help` output, environment variables the code reads (`grep -rn "getenv\|process.env\|os.environ"`), and the list of test names with what they call.
...

From oaustegard's repository, MIT licence.

Related skills

  • Checked

    Documentation accuracy check

    Checks docs in a pull request by running their examples, so guides match what the code really does.

    by priyank766 1
    7/101 credit
  • Checked

    Clear runbooks and READMEs

    Rewrites docs, runbooks and error messages in Simplified Technical English so readers get one clear meaning.

    by TanStack 3.4k
    7/101 credit
  • Checked

    Software Release Process

    Runs the release cycle the same way every time: versioning, freeze, go/no-go, staged rollout and release notes.

    by rampstackco 1.1k
    7/101 credit
  • Checked

    AI Slop Filter

    Finds and counts the habits that make writing sound machine made, then trims them without flattening your voice.

    by ash1794 164
    7/101 credit
  • Checked

    Simplified Technical English

    Rewrites manuals into Simplified Technical English, so non native readers and translators can follow them.

    by samber 359
    7/101 credit
  • Checked

    Web apps with ofa.js

    Answers ofa.js questions on components, routing and state, so you build web apps without Node.js or Webpack.

    by ofajs 754
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added