/housekeeping:doc-truthfrom housekeeping
Validates repository documentation by checking cited paths, links, anchors, README parity, and version/plugin list accuracy against manifests. Read-only, no network.
Ships in housekeeping. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Reads every .md file tracked by git and checks what it claims against the repository: the cited path exists, the link and the anchor lead somewhere, README.md and README.pt-BR.md have the same structure, the version written next to a plugin's name is the one in the manifest. It is read-only: it never changes the repository, never runs a command that a document cites, and does not use the network. It needs python3 (stdlib) and git.
It does not check external links (https://...) and does not check whether a description is correct, only whether what it points to exists.
Reply to the user in the user's language. The tool prints its output in English by default; run it with --lang pt-BR when the user writes in Portuguese (accent-free Portuguese; CAPYBARA_LANG may set the default for the whole shell). When you present the findings, explain them in the user's language and keep the category names, values, paths and fingerprints exactly as printed: a finding's value and fingerprint are the same in both languages, only its message changes.
Use it when the user asks to check the documentation: after editing READMEs or docs/, before a release, or when in doubt ("does the README still cite that file?"). Never offer it on your own: it is a tool for explicit requests only.
The script ships with this skill: ${CLAUDE_SKILL_DIR}/scripts/doc_truth.py. Use it directly, always with python3 -I.
test -f "${CLAUDE_SKILL_DIR}/scripts/doc_truth.py" && echo OK || echo FALTA
OK means the script exists. FALTA means "missing".
If ${CLAUDE_SKILL_DIR} shows up unexpanded, use the path shown as "Base directory for this skill" when the skill was loaded, written out in full in every command.
In the commands below, <repositório> is the repository path ("repository") and <arquivo> is a file ("file").
python3 -I "${CLAUDE_SKILL_DIR}/scripts/doc_truth.py" <repositório>
Options: --json (the output has a schema field) and --config <arquivo>. If .doc-truth.json exists in the repository root, it is read automatically. Exit codes: 0 clean, 1 with findings, 2 error (not a git repository, invalid config).
Present the findings grouped by category, in the order the output prints them, and say how many documents were checked. The output starts with doc-truth <version>: <N> documents checked in <path> (pt-BR <N> documentos conferidos em <path>). It then prints clean: no findings (pt-BR limpo: nenhum achado) or <N> findings (pt-BR <N> achados). The categories are:
path: a path cited between backticks or in a code block does not exist in the git tree. What exists only on your disk does not count, so that the result is the same in CI. Propose fixing the text. If the file is created at run time (decisions.json), propose adding the name to ignore_paths.link and anchor: the link points to something that does not exist, or there is no heading for the anchor (GitHub slug rules).parity: <name>.md and <name>.pt-BR.md have different sequences of heading levels, or a README.md has no README.pt-BR.md (the finding's value reads falta README.pt-BR.md, "README.pt-BR.md is missing", in both languages: it is data, so an accepted fingerprint stays valid).version: an X.Y.Z version on the same line as a plugin's name does not match plugin.json.plugins: the catalog has a plugin that the root README does not link.If the output says accepted by the allow list (pt-BR aceitos pela lista allow), tell the user how many findings .doc-truth.json has already accepted (the line reads (<N> accepted by the allow list), pt-BR (<N> aceitos pela lista allow)).
The skill reports. Fixing a document's text is an ordinary edit, which you make only when the user asks, showing what changes. Never edit .doc-truth.json (neither allow nor exclude) without the user's OK: accepting a finding is the user's decision. To accept a finding, the user puts the finding's fingerprint in allow; it does not depend on the line number.
.doc-truth.json){
"exclude": ["docs/plans/**", "**/CHANGELOG.md"],
"ignore_paths": [".ar-board/", "decisions.json"],
"allow": []
}
exclude: documents that are not checked (historical, generated). They still count as link targets.ignore_paths: paths that deliberately do not exist in the tree (created at run time). A pattern with no / (a trailing / does not count) matches that name in any folder; a trailing / means the folder and everything under it. A pattern with a / in the middle, or with a leading /, starts at the repository root. /SKILL.md therefore matches only the bare text SKILL.md as written in a document and the root file SKILL.md, never a full path such as plugins/x/SKILL.md. ** crosses folders and * does not.allow: fingerprints of accepted findings.├──) are not checked: they are drawings.git is not on the PATH, tell the user so instead of trying another way.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dvwinck/capybara-toolbox --plugin housekeeping3 skills in this plugin
/handoffWrites an end-of-session note so the next session can resume the work, with the git facts collected by the tool (branch, commits ahead of the base, modified files, stashes) and the citations checked before saving - whatever does not exist is marked "[not verified]" (pt-BR "[nao verificado]"). Use when the user asks to end the session leaving a handoff, to write a handover note, or to resume one, for example "faz o handoff", "deixa uma nota pra próxima sessão", "retome o handoff", "handoff", "write a handoff note", "resume the handoff", "end of session notes". Triggers - /handoff or /housekeeping:handoff./todo-sweepTriages the TODO and FIXME comments of the code in a local panel - each comment becomes a card, oldest first (age from git blame), the user marks Resolve, Discard or Keep (pt-BR Resolver, Descartar, Manter), and the result is a read-only report; no source file is edited. Use when the user asks to sweep, list or triage TODOs and FIXMEs, for example "quais TODOs estão velhos?", "faz uma triagem dos FIXMEs", "limpa os TODOs do projeto", "todo-sweep", "triage the TODOs", "sweep FIXME comments", "which TODOs are oldest". Triggers - /todo-sweep or /housekeeping:todo-sweep.Other plugins' skills for the same job