agentleFS
sunitghubsunitghub/canon-skills/skills/doc-audit/SKILL.md

doc-audit

Skill9 starsChanged 22 days agoMITView on GitHub

Audit user-facing docs for overstated claims, missing prerequisites, absolutes, and scope inflation; mechanical checks (links, commands, files) run in tools/doc-check.

12 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Mechanical checks first, no model: run tools/doc-check <changed docs> (resolve it with command -v sprint's directory in a consumer project …

    line 17
  2. Very specific:

    Read doc-findings.md if it exists.

    line 31
  3. Distinctive:

    Read the changed docs in scope (plus README.md when a command or flow changed).

    line 33
  4. Very specific:

    If skills/ exists, read description and summary frontmatter in skills/*/SKILL.md and standards/*.md.

    line 35
  5. Distinctive:

    Run these checks. Flag only high-confidence issues:

    line 37
  6. Distinctive:

    When competitor docs, adjacent tools, or inspiration repos are part of the task, translate the useful input into canon's own intent:

    line 59
  7. Distinctive:

    If the pattern should affect future agent behavior, recommend the specific skill or standard update before wrapup.

    line 63
  8. Very specific:

    Ask: Append these to doc-findings.md?

    line 68
  9. Distinctive:

    Keep entries concise. When the file exceeds 60 lines, archive entries older than 6 months before appending.

    line 80

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Doc Audit

Called automatically by wrapup — do not invoke directly.

Audit user-facing documentation for accuracy. Append to doc-findings.md (project root) only after explicit confirmation.

Run only when a user-facing doc changed (the Scope list below). Otherwise record the skip and stop.

Mechanical checks first, no model: run tools/doc-check <changed docs> (resolve it with command -v sprint's directory in a consumer project where tools/ isn't symlinked in). It checks that relative links resolve, that every sprint/tkt subcommand in a code span or fence exists, and that every tools/, skills/, docs/ file path in a code span exists. Fix each finding it prints (exit 1) before the model pass; do not re-check these by hand. The checks below are the ones a script cannot judge.

Scope

  • README.md
  • docs/*.md
  • tools/*.md
  • Skill frontmatter: description and summary fields across skills/*/SKILL.md and standards/*.md — only if those paths exist in the current project

Steps

  1. Read doc-findings.md if it exists; skip logged issues.
  2. Read the changed docs in scope (plus README.md when a command or flow changed). Note claims about features, behavior, and requirements.
  3. If skills/ exists, read description and summary frontmatter in skills/*/SKILL.md and standards/*.md; compare to each skill body.
  4. Run these checks. Flag only high-confidence issues:

    Overstated automation — phrases like "automatically", "no setup needed", "just run", or "that's it" where a hidden step exists.

    Missing prerequisites — required tool, config, fork, or file structure not stated.

    Absolute claims — "always", "never", "zero", "every", "any" with likely exceptions.

    Scope inflation — frontmatter claims behavior not present in the body, or counts that do not match.

    Internal consistency — conflicting descriptions across README, guides, and skill files. Quote both.

    Affected doc coverage — when code, workflow, UI, command behavior, or screenshots change, search every doc surface that could describe it: README, guides, examples, tool docs, skill docs, standards, and catalog text. Do not stop at the first visible doc.

    Skill-name accuracy — if ./tools/skills.sh exists, run ./tools/skills.sh list; compare to the skill names in README/guide command examples (tools/doc-check only judges sprint/tkt subcommands and paths).

    Workflow gate accuracy — distinguish UI state changes from workflow commands. Board actions such as creating tickets or moving cards update local ticket state only; do not imply they run agent workflows, wrapup, validation, or close pipelines unless the tool actually does.

    Heading style — user-facing README headings should be Title Case. Keep intentional brand casing, command names, and code-block comments unchanged.

    Private content — real names, emails, usernames, home paths, private ticket prefixes, company references, secrets. Flag; do not redact automatically.

  5. When competitor docs, adjacent tools, or inspiration repos are part of the task, translate the useful input into canon's own intent:

    • Identify what works in their UX, docs, install flow, command model, and positioning.
    • Decide whether the learning belongs in README positioning, a guide, a skill, a standard, or tool behavior.
    • If the pattern should affect future agent behavior, recommend the specific skill or standard update before wrapup.
    • Preserve canon's constraints: local-first state, minimal command surface, live-reference skills, no SaaS dependency, no bloated methodology.
  6. Report new findings by check type. Quote the claim and explain the issue. If none: say so and stop.
  7. Ask: Append these to doc-findings.md? (y to confirm). Do not write without y. Write to doc-findings.md at the project root.

doc-findings.md entry format

### YYYY-MM-DD — Short title
**File:** path
**Claim:** exact quote
**Issue:** why it's inaccurate or overstated
**Action:** what was done (or "Open — no action yet")

Keep entries concise. When the file exceeds 60 lines, archive entries older than 6 months before appending.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.