Skip to content
Back to skills

Repo Caretaker Checking Docs Drift

ASecurity

Checklist used by the Repo Caretaker pack to find README and docs facts that no longer match the code (failing commands, missing flags and env vars, broken paths, wrong versions, outdated examples) and to correct the facts without changing the author's tone. Load only when the Repo Caretaker agent or the user asks for it by name.

  • 12 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentspythongoshellgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add MhdAljuboori/ZumiBot --skill repo-caretaker-checking-docs-drift --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repo Caretaker Checking Docs Drift?

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

Security grade badge for Repo Caretaker Checking Docs Drift
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mhdaljuboori-repo-caretaker-checking-docs-drift/badge)](https://www.skillsdirectory.com/skills/mhdaljuboori-repo-caretaker-checking-docs-drift)

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: repo-caretaker-checking-docs-drift
description: Checklist used by the Repo Caretaker pack to find README and docs facts that no longer match the code (failing commands, missing flags and env vars, broken paths, wrong versions, outdated examples) and to correct the facts without changing the author's tone. Load only when the Repo Caretaker agent or the user asks for it by name.
---

# Checking docs drift

Goal: every fact a reader would act on is true today. You fix facts. You never rewrite tone, structure or style.

## 1. Collect the docs
`README*`, `CONTRIBUTING.md`, `docs/**`, `*.md` in package folders, `--help` texts, `.env.example`, code comments that describe setup, and docstrings of public APIs if the user asks. Skip generated API docs (they drift with the generator, not by hand) and `CHANGELOG.md` (it is history).

## 2. Extract checkable claims
Go through each file and list concrete claims, with `path:line`:
- **Commands:** shell blocks, `npm run x`, `make y`, `python -m z`.
- **Flags and options:** `--port`, `-v`, config keys.
- **Env vars:** `FOO_URL`, `.env` keys.
- **Paths:** files and folders the docs mention, relative links, image paths, anchors.
- **Versions:** required runtime, minimum versions, badge versions, "since v2".
- **Code examples:** imports, function names, signatures, return shapes.
- **Behaviour claims:** defaults ("port defaults to 3000"), limits, supported platforms.

## 3. Verify each claim against the code
| Claim | How to verify |
|---|---|
| Package script | it exists in `package.json` / `Makefile` / `justfile` / `pyproject` scripts |
| Command | run it if it is safe and local (build, test, lint, `--help`, `--version`); never run deploy, publish, migrate, delete or anything needing secrets: check those by reading |
| CLI flag | `<tool> --help`, or the argument parser in the source (`rg -n "'--port'|\"port\""`) |
| Env var | `rg -n "FOO_URL"` across source and config; it must be read somewhere |
| Config key / default | the schema or the code that reads it, and its actual default value |
| Path / link | the file exists (`test -e`); a heading anchor exists in the target file |
| External link | only if asked: `curl -sI -o /dev/null -w '%{http_code}' <url>`, and report 404s, not timeouts |
| Version | `engines`, `requires-python`, `go.mod`, CI matrix, latest tag (`git describe --tags --abbrev=0`) |
| Code example | the imported names exist and are exported; the signature matches |

Also look the other way: things in the code that the docs should mention and do not. New required env vars, new CLI commands, renamed scripts, removed features still documented. Search recent history for them: `git log --since="3 months ago" --name-only -- <config and cli files>`.

## 4. Classify
- **Breaks the reader:** a setup or install step that fails, a missing required env var, a removed command. Fix first.
- **Misleads:** a wrong default, a stale flag, an old version requirement, an example that no longer compiles.
- **Cosmetic:** a dead internal link in a rarely read page, an old screenshot, a stale badge.

## 5. Propose the fix
For each item: the file and line, what it says, what is true (with the evidence: command output or `path:line`), and the exact replacement text. Keep the replacement as close to the original sentence as possible: same tone, same person, same formatting. Change the fact only.

When the user asks you to apply fixes: edit only the lines with wrong facts, on a local branch, and leave them uncommitted. If a fact is ambiguous (two places in the code disagree), do not pick one; report it as a code question.

## Don't
- Don't reword, restructure, add emojis, add sections or "improve" prose.
- Don't run commands that change state outside the repo or need credentials.
- Don't mark a claim wrong because a command failed for an environment reason (missing tool, no network); say "could not verify" and why.

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.