Agent skill

Docs Consistency

by flonat in flonat/flonat-research

Review user-facing documentation for accuracy, consistency, and completeness across private, public, nested repos, and the user manual.

MITAuto-check passedWriting & Content

Install Docs Consistency

skills CLI
$ npx skills add flonat/flonat-research --skill docs-consistency -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install flonat/flonat-research docs-consistency --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/flonat/flonat-research.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/docs-consistency .claude/skills/docs-consistency && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docs-consistency
GitHub stars
145
Token cost
~2.6k tokens
SKILL.md length
1,013 words
Files
1
Skills in repo
83
Repo updated
First seen
Licence
MIT

At a glance

Review user-facing documentation for accuracy, consistency, and completeness across private, public, nested repos, and the user manual.

  • Works in 4 steps: Count alignment: Compare counts in… → Section currency: For each synced… → Marker freshness: Check auto-generated… → …
  • Docs feel stale
  • SKILL.md covers When to Use, When NOT to Use, Argument Parsing and Checks, plus 4 more sections
  • Calls uv

What it does

Docs Consistency is an agent skill from flonat/flonat-research. Review user-facing documentation for accuracy, consistency, and completeness across private, public, nested repos, and the user manual. Use when docs feel stale, after major changes, or before sharing. (Replaces repo-doc-audit)

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Writing & Content, covering Technical writing. The repository describes itself as: Shareable Claude Code + Codex infrastructure for PhD researchers — skills, agents, hooks, and rules for academic workflows. The licence is MIT.

When your agent uses it

  • Docs feel stale
  • After major changes

Example prompts

  • “/docs-consistency”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Bash(ls*), Bash(wc*), Bash(find*), Bash(git log*), Bash(diff*), Bash(cat*), Write

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Count alignment: Compare counts in public/public-repo/README.md vs README.md. They should match (sync-to-public.sh propagates counts).
  2. Section currency: For each synced section (Architecture, Workflows, Session Continuity, Design Principles, Credits), check that the public…
  3. Marker freshness: Check auto-generated markers in public README (COMPONENT-TABLE, SKILLS-SUMMARY, AGENTS-TABLE, HOOKS-TABLE, RULES-TABLE…
  4. Leaked details: Grep public repo for personal details that should have been anonymised

What it can do on your machine

Read from SKILL.md and the folder at commit da27600. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • Bash(ls*)
    • Bash(wc*)
    • Bash(find*)
    • Bash(git log*)
    • Bash(diff*)
    • Bash(cat*)
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Docs Consistency loads about 2.6k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 1,013 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from flonat/flonat-research at commit da27600, republished under its MIT licence (© flonat). 1,013 words, ~2,566 tokens.

Download SKILL.mdSave it as .claude/skills/docs-consistency/SKILL.md (or your agent's skills folder).
name
docs-consistency
description
Review user-facing documentation for accuracy, consistency, and completeness across private, public, nested repos, and the user manual. Use when docs feel stale, after major changes, or before sharing. (Replaces `repo-doc-audit`)
allowed-tools
Read, Glob, Grep, Bash(ls*), Bash(wc*), Bash(find*), Bash(git log*), Bash(diff*), Bash(cat*), Write
argument-hint
[scope] — all (default), private, public, cross-check, user-manual

Docs Review

Cross-cutting documentation review that checks consistency, accuracy, and completeness across the entire documentation ecosystem. It verifies that docs agree with each other and with reality; installed per-repository audit or sync workflows can deepen the check but are not required.

When to Use

  • After adding, removing, or renaming skills, hooks, agents, or rules
  • After major infrastructure changes (consolidation, new repos, renamed components)
  • Before publishing or sharing the public repo
  • Periodic health check (monthly)
  • When the user says "review docs", "check my docs", "are my docs consistent"

When NOT to Use

  • For per-repo prose quality — use an installed repository-documentation audit if available
  • For mechanical count/freshness sync — use the repository's documented sync command
  • For code architecture — use an installed external/code audit workflow

Argument Parsing

Parse $ARGUMENTS for scope (optional, default all):

ScopeWhat it covers
allAll 5 checks below
privateChecks 1-3 on private docs only
publicChecks 1-3 on public docs only
cross-checkCheck 4 only (public-private consistency)
user-manualCheck 5 only (user manual alignment)

Checks

Check 1: Count Consistency

Count actual components on disk, then verify every document that states counts matches reality.

Disk counts (source of truth):

Skills:  find skills -name SKILL.md -type f | wc -l   # recurse — skills/{engineering,research}/ are nested; ls -d skills/*/SKILL.md MISSES them (undercounts by ~5)
Hooks:   ls hooks/*.sh hooks/*.py hooks/*.mjs 2>/dev/null | wc -l   # hooks are .sh + .py + .mjs, NOT just .sh (counting .sh-only undercounts by ~15)
Agents:  ls .claude/agents/*.md | wc -l
Rules:   ls rules/*.md | wc -l

Counting gotchas (these caused false-positive drift reports on 2026-06-06): skills live in nested category dirs too (skills/engineering/, skills/research/) so you MUST find -name SKILL.md, not glob skills/*/; and hooks are written in shell, Python, and Node, so count all three extensions.

Documents to verify (private scope):

FileWhat to check
README.mdSkill category table totals, hook count in heading, agent count, rule count
CLAUDE.mdSkill count, hook count, agent count, rule count, file structure table
docs/components/skills.mdTotal count in header, per-category counts, overview table row count
docs/components/hooks.mdTotal count in header, hook table row count
docs/components/agents.mdTotal count in header, agent table row count
docs/components/rules.mdTotal count in header, rule table row count
docs/system.mdComponent counts in overview section

Documents to verify (public scope):

FileWhat to check
public/public-repo/README.mdCounts in auto-generated marker sections
public/public-repo/CLAUDE.mdSkill/hook/agent/rule counts

Report format per file:

| File | Component | Stated | Actual | Status |
|------|-----------|--------|--------|--------|
| README.md | Skills | 129 | 130 | MISMATCH |
| README.md | Hooks | 21 | 21 | OK |
Check 2: Component Coverage

Every component on disk must appear in its catalogue file. Every entry in the catalogue must exist on disk.

ComponentCatalogue fileDisk location
Skillsdocs/components/skills.mdfind skills -name SKILL.md (incl. nested categories)
Hooksdocs/components/hooks.mdhooks/*.{sh,py,mjs}
Agentsdocs/components/agents.md.claude/agents/*.md
Rulesdocs/components/rules.mdrules/*.md

For each: list items on disk not in catalogue (undocumented) and items in catalogue not on disk (orphan entries).

Also check README.md skill category table — every skill on disk should appear in exactly one category row.

Check 3: Stale References

Grep documentation files for references to components that no longer exist on disk.

Scan these files:

  • README.md, CLAUDE.md
  • docs/*.md (all)
  • the user-manual .tex source (in docs/reference/user-manual)
  • skills/shared/*.md
  • rules/*.md

What to look for:

  • Skill names (/skill-name or backtick-quoted) that don't match any skill on disk — resolve via find skills -name SKILL.md (a name like skill-latex is the MCP-tool form of the latex skill, NOT a separate/orphan skill — strip the skill- prefix before checking)
  • Hook script names that don't match any hooks/*.{sh,py,mjs} file
  • Agent names that don't match any .claude/agents/*.md file
  • Broken relative links (markdown [text](path) where path doesn't exist)

Exclude log/ and MEMORY.md — these are historical records, not active documentation.

Check 4: Public-Private Cross-Consistency

Verify that public and private docs agree on the same facts.

  1. Count alignment: Compare counts in public/public-repo/README.md vs README.md. They should match (sync-to-public.sh propagates counts).

  2. Section currency: For each synced section (Architecture, Workflows, Session Continuity, Design Principles, Credits), check that the public version matches what extract_section() would produce from the private README. Flag sections where content has diverged.

  3. Marker freshness: Check auto-generated markers in public README (COMPONENT-TABLE, SKILLS-SUMMARY, AGENTS-TABLE, HOOKS-TABLE, RULES-TABLE, FILE-TREE, FILE-STRUCTURE). Run uv run python scripts/generate-public-docs.py --dry-run if available, or manually compare marker content against disk reality.

  4. Leaked details: Grep public repo for personal details that should have been anonymised:

    • Institutional names (your affiliations) outside of credits/attribution
    • Personal names (other than in credits)
    • vault file paths
    • GitHub usernames (other than user in attribution)
Show full SKILL.md (354 more words)Show less
Check 5: User Manual Alignment

Check the user-manual .tex source (in docs/reference/user-manual) against current system state.

  1. Skill tables: Extract skill names from LaTeX tabular environments. Compare against actual skills on disk.
  2. Hook tables: Same for hooks.
  3. Agent/rule counts: Check any stated counts.
  4. Category structure: Verify skill categories in the manual match the categories in docs/components/skills.md.
  5. Architecture diagram: If the manual contains a system diagram, check that component names match current naming.
Check 6: Package Coverage

Every packages/<name>/ directory (each is a package — nested git repo or local) must appear in docs/components/packages.md, and the stated package count must match disk.

When the repository declares a deterministic inventory checker, run it first. For example:

bash
uv run python scripts/check_inventory.py --check
  • Discover the actual command from project guidance, pyproject.toml, or the repository's scripts; do not assume the example filename exists.
  • If there is no checker, compare package directories, documented rows, and stated counts directly.
  • Count drift: stated package counts must equal the on-disk count.
  • Coverage drift: every package directory must have a catalogue row, and every catalogue row must resolve to a package or an explicit external item.

Any deterministic checker failure is FAIL (or WARN for 1–3 documentation items when the repository's policy permits that severity).

Output

Write report to log/audits/docs-consistency-YYYY-MM-DD.md:

markdown
# Documentation Review — YYYY-MM-DD

## Scope: [all / private / public / cross-check / user-manual]

## Dashboard

| Check | Status | Issues |
|-------|--------|--------|
| Count Consistency | OK/WARN/FAIL | N |
| Component Coverage | OK/WARN/FAIL | N |
| Stale References | OK/WARN/FAIL | N |
| Public-Private Sync | OK/WARN/FAIL | N |
| User Manual | OK/WARN/FAIL | N |
| Package Coverage | OK/WARN/FAIL | N |

## Count Consistency
[Per-file table from Check 1]

## Component Coverage
### Undocumented (on disk, not in catalogue)
### Orphan Entries (in catalogue, not on disk)

## Stale References
[File, line, stale reference, suggested fix]

## Public-Private Cross-Consistency
[Divergences, leaked details]

## User Manual
[Mismatches]

## Recommended Fixes
### Quick (< 2 min each)
### Medium (2-10 min)
### Requires sync script run

Status thresholds:

  • OK: 0 issues
  • WARN: 1-3 issues
  • FAIL: 4+ issues

After the Report

Present the dashboard + top-5 issues. Ask:

  • Fix now — apply fixes (count updates, catalogue additions, stale reference removal)
  • Run sync — use each repository's documented sync/render command to fix mechanical issues
  • Done — report saved

Anti-Patterns

  • Do NOT modify any files during the review — report only until explicitly asked to fix
  • Do NOT check log/, MEMORY.md, or .context/current-focus.md — these are session artifacts, not documentation
  • Do not duplicate a separately requested per-repository prose audit; focus on cross-surface consistency
  • Do NOT check code or configuration — this is documentation-only

Cross-References

SkillRelationship
Installed repository-documentation auditPer-repo prose, structure, and audience quality.
Repository sync/render commandMechanical sync of counts, file trees, and generated artifacts.
sync-public-repoSyncs private → public. Fixes cross-consistency issues.
system-auditBroader infrastructure health. Sub-agent 4 overlaps on count checks.
update-project-docUpdates project-level docs (CLAUDE.md, README). Different scope.

© flonat, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/docs-consistency of flonat/flonat-research.

Open the folder on GitHubat commit da27600

Compare with similar skills

Docs Consistency next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Docs Consistency compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docs Consistency this skillflonat/flonat-research145—~2.6kAutomated safety check: PassMIT
JavaScript Concept Fact Checkerleonardomso/33-js-concepts67k1 repos~5kAutomated safety check: PassMIT
Beads Documentation Style Guidegastownhall/beads28k—~3.2kAutomated safety check: PassMIT
JavaScript Concept Page Workflowleonardomso/33-js-concepts67k—~3.9kAutomated safety check: PassMIT
JS Concept Resource Curatorleonardomso/33-js-concepts67k—~4.9kAutomated safety check: PassMIT
Technical Writing Standardcursor/plugins10k10 repos~2.4kAutomated safety check: PassNone

Similar skills

  • JavaScript Concept Fact Checker

    leonardomso/33-js-concepts

    Verifies the technical accuracy of JavaScript concept pages by checking code examples, MDN and ECMAScript claims and external links through a five-phase method.

    67k GitHub starsUsed in 1 repo~5k tokens
    Writing & ContentAuto-check passed
  • Sets the house style for the beads user docs: the canonical concept model, required terminology, prose and diagram conventions, and checks before docs work is done.

    28k GitHub stars~3.2k tokensUpdated today
    Writing & ContentAuto-check passed
  • JavaScript Concept Page Workflow

    leonardomso/33-js-concepts

    Orchestrates five skills to produce a complete JavaScript concept documentation page, from resource curation through writing, tests, fact-checking and SEO.

    67k GitHub stars~3.9k tokensUpdated 26 days ago
    Writing & ContentAuto-check passed
  • JS Concept Resource Curator

    leonardomso/33-js-concepts

    Finds, vets, writes up and maintains external articles, videos and courses for JavaScript concept pages, including audits for broken and outdated links.

    67k GitHub stars~4.9k tokensUpdated 26 days ago
    Writing & ContentAuto-check passed
  • Official

    Applies four layers of technical-writing rules to docs, RFCs, readmes, PR descriptions and commit messages so a tired engineer follows them on the first read.

    10k GitHub starsUsed in 10 repos~2.4k tokens
    Writing & ContentAuto-check passed
  • Writing Docs

    nukeop/nuclear

    A skill your agent uses when writing or editing documentation in packages/docs.

    19k GitHub stars~907 tokensUpdated yesterday
    Writing & ContentAuto-check passed

More from flonat/flonat-research

All 83 skills in this repo
  • Latex Posters

    flonat/flonat-research

    Create a large-format academic poster in LaTeX using beamerposter, tikzposter, or baposter.

    145 GitHub stars~1.5k tokensUpdated 8 days ago
    Auto-check: notes
  • Skill Creator

    flonat/flonat-research

    Create, revise, and evaluate reusable AI workflow skills, including trigger-quality tests.

    145 GitHub stars~4.4k tokensUpdated 8 days ago
    Auto-check passed
  • DOCX

    flonat/flonat-research

    Create, read, edit, or convert Microsoft Word documents while preserving professional document structure.

    145 GitHub stars~1.2k tokensUpdated 8 days ago
    Auto-check passed
  • PDF

    flonat/flonat-research

    Read, create, combine, split, rotate, OCR, watermark, secure, or extract content from PDF files.

    145 GitHub stars~488 tokensUpdated 8 days ago
    Auto-check passed
  • Init Project Orchestration

    flonat/flonat-research

    Create or migrate project-level agents, repeatable project workflows, and planning state from one client-neutral contract, then render repository-scoped adapters for both Claude Code and Codex.

    145 GitHub stars~1.6k tokensUpdated 8 days ago
    Auto-check passed
  • Pre Commit Audit

    flonat/flonat-research

    Deliver a fast pre-commit safety scan: file size, anonymity (author / affiliation strings in tex/bib), hardcoded secrets, and invisible-Unicode carriers.

    145 GitHub stars~2.8k tokensUpdated 8 days ago
    Auto-check: notes

Questions about Docs Consistency

What does Docs Consistency do?

Review user-facing documentation for accuracy, consistency, and completeness across private, public, nested repos, and the user manual. Docs Consistency is an agent skill from flonat/flonat-research. Review user-facing documentation for accuracy, consistency, and completeness across private, public, nested repos, and the user manual.

When should I use Docs Consistency?

Docs Consistency fits situations like: docs feel stale; after major changes.

How do I install Docs Consistency in Claude Code?

Run `npx skills add flonat/flonat-research --skill docs-consistency -a claude-code`. Or copy the skill folder (skills/docs-consistency in flonat/flonat-research) into .claude/skills/docs-consistency in your project. Claude Code loads it when a task matches its description.

How do I install Docs Consistency in Codex?

Run `npx skills add flonat/flonat-research --skill docs-consistency -a codex`. Or copy the skill folder (skills/docs-consistency in flonat/flonat-research) into .agents/skills/docs-consistency in your project. Codex loads it when a task matches its description.

Can I use Docs Consistency in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add flonat/flonat-research --skill docs-consistency -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-consistency, .gemini/skills/docs-consistency, .github/skills/docs-consistency and .opencode/skills/docs-consistency in your project.

What does Docs Consistency need to run?

Going by SKILL.md and its folder, Docs Consistency needs the command-line tools its instructions call (uv). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Glob, Grep, Bash(ls*), Bash(wc*), Bash(find*), Bash(git log*), Bash(diff*), Bash(cat*), Write.

Does Docs Consistency access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Docs Consistency safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Docs Consistency use?

Docs Consistency is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Docs Consistency use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Docs Consistency?

Skills that share tags, products or a category with Docs Consistency: JavaScript Concept Fact Checker (leonardomso/33-js-concepts, 67k stars), Beads Documentation Style Guide (gastownhall/beads, 28k stars), JavaScript Concept Page Workflow (leonardomso/33-js-concepts, 67k stars) and JS Concept Resource Curator (leonardomso/33-js-concepts, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docs Consistency?

flonat (a GitHub user) maintains it in flonat/flonat-research, which has 145 GitHub stars. The repository holds 83 skills in this directory. The repository was last updated on September 29, 2026.

Source: flonat/flonat-research on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.