agentsclimarketplace

Documentation review

Skill chearmstrong/skills/skills/documentation-review

Review documentation to ensure it matches implementation, is correct and up-to-date, clear and concise, follows the appropriate language or locale variant, and has no duplication or redundancy. Use when reviewing markdown, READMEs, code comments, docstrings, platform proposals, architecture spikes, ADRs, extraction inventories, or related documents that must represent an agreed architecture decision consistently.From its SKILL.md

Install
npx -y skills add chearmstrong/skills --skill documentation-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

8.1 KB, as published. Nobody here has run it

Documentation Review

Overview

Review documentation as an executable contract for future humans and agents. The main risk is not awkward prose; it is a confident document that causes the next change to be wrong.

Core principle: every factual claim should be traceable to implementation, configuration, tests, current product behaviour, or an official/versioned source.

When to Use

Mandatory reviews:

  • When code changes affect documented behaviour
  • Before merging documentation updates
  • When reviewing pull requests with documentation
  • When documentation seems outdated or unclear
  • When adding new documentation

Use especially when:

  • Implementation changed but docs weren't updated
  • Documentation is verbose or unclear
  • Duplicate information exists
  • Code comments/docstrings need review

Claim Triage

Do not review a document evenly from top to bottom. Classify claims first, then verify the risky ones.

Claim typeEvidence to useCommon failure mode
Behaviourimplementation, tests, CLI/API output, screenshots for UIDocs describe intended behaviour rather than shipped behaviour.
Configurationconfig schemas, defaults, env readers, deployment manifestsExample names drift from real variables or defaults.
API/library usagepinned dependency versions plus official docs, Context7, AWS docs, or vendor referencesProse follows latest docs while the repo is pinned to an older API.
ArchitectureADRs, architecture docs, module boundaries, existing implementationsDocs bless a pattern that only exists accidentally in one file.
Operational procedurescripts, runbooks, CI workflows, deployment configSteps omit credentials, region/profile, build artefacts, or rollback constraints.
Examplesrunnable snippets, tests, fixtures, generated outputExample code compiles in isolation but not in this repository.

Review Decision Tree

  1. Is the claim implementation-backed?
    • If yes, cite the file/test/config that proves it.
    • If no, either remove the claim, label it as planned/future work, or ask for the missing source of truth.
  2. Is the claim version-sensitive?
    • Check lock files and manifests before external docs.
    • Use MCP tools when available; otherwise use official docs and stable vendor pages.
    • If source versions conflict, document the version boundary rather than smoothing it over.
  3. Would a future change author copy this as a pattern?
    • If yes, verify architecture and failure modes more strictly than ordinary explanatory prose.
    • Add a constraint or warning if the pattern is valid only in a narrow context.
  4. Can the reader perform the task safely from this text alone?
    • Keep exact commands, file paths, required context, and rollback/verification steps.
    • Remove background explanation that does not change the action.
  5. Is the same fact stated in multiple places?
    • Keep the canonical location.
    • Replace duplicates with links, or delete them if they will drift.

Architecture Decision Consistency

Use this review path automatically when the request supplies an ADR, agreed decision, meeting notes, architecture proposal, or several related documents that must describe the same design. Otherwise, perform the local claim triage above; do not expand a one-file review into a repository-wide scan.

  1. Read the decision source first. Extract the decision, constraints, accepted terms, explicitly deferred work, and any fact-versus-proposal boundary. If no decision source is supplied, state that the review is limited to claims evidenced in the named documents.
  2. Set the review boundary. Review changed documents plus the named related documents. Include additional files only when they are the canonical source or directly contradict a claim; report any necessary expansion before relying on it.
  3. Check representation, not viability. Find contradictions, obsolete terms, unsupported certainty, missing consequences, and a mismatch between diagrams, summaries, ADRs, and detailed design. Keep the decision source canonical rather than reconciling conflicts by averaging them.
  4. Report the smallest correction. Name the decision source and conflicting location, then propose the least invasive wording, deletion, link, or clarification that restores consistency.

Use architecture-compliance-check alongside this skill when it is available and the question is whether the architecture itself is viable, implemented, secure, or correctly bounded. Keep responsibilities separate:

  • This skill: whether documentation represents an agreed decision consistently and is readable, traceable, and safe to act on.
  • architecture-compliance-check: whether the decision is supported by implementation and authoritative evidence, with sound contracts, assumptions, and boundaries.

Never invent a decision to make documents agree. Surface the missing or conflicting decision source as the finding.

Documentation Traps

  • Aspirational docs: text says what the system should do, while code still does something else.
  • Example rot: snippets use old names, missing imports, obsolete CLI flags, or APIs not present in the pinned dependency version.
  • Default drift: prose mentions defaults that have moved into config, feature flags, environment variables, or CDK context.
  • Boundary ambiguity: docs do not say which module, team, stack, tenant, region, or lifecycle owns the behaviour.
  • Decision drift: an ADR, diagram, summary, and detailed design each describe a different version of the agreed architecture.
  • Copy-paste patterns: a documented example is safe for one route/job/stack but unsafe as a general pattern.
  • External-doc overreach: current vendor docs are treated as true even though the repository pins an older version.
  • Noise preservation: historical rationale, obvious definitions, or onboarding filler survives because it sounds helpful.

Anti-Patterns

Never:

  • Rewrite inaccurate docs into vaguer docs instead of making them true.
  • Keep a code comment that merely narrates the next line.
  • Add "currently", "simply", or "just" to avoid proving a claim.
  • Preserve duplicate setup instructions in multiple files.
  • Silently broaden a local documentation review into every document in the repository.
  • Treat a newer summary or diagram as authority over an explicitly named ADR or agreed decision without reporting the conflict.
  • Invent a missing design decision to remove an inconsistency.
  • Let generated output, screenshots, or examples remain after the source behaviour changed.
  • Cite a blog when official docs, pinned dependency metadata, or repository tests can answer the question.
  • Impose a different language or locale variant while editing nearby text; preserve the document or project's existing convention unless the user asks for a conversion.

Output Shape

For each material issue, report:

  • Location: file and line or section.
  • Claim: the specific statement under review.
  • Evidence: implementation, config, tests, official source, or lack of source.
  • Decision source: ADR, meeting note, agreed design, or none supplied for an architecture consistency finding.
  • Verdict: accurate, stale, unsupported, duplicated, unclear, or too verbose.
  • Fix: exact wording change, deletion, link target, or test/example to run.

Integration with Other Skills

Works with:

  • architecture-compliance-check - Verify architecture viability, boundaries, and implementation evidence
  • verification-before-completion - Verify docs before claiming done
  • systematic-debugging - Document fixes accurately

The Bottom Line

Good documentation review deletes confidently wrong or low-value text. It does not merely polish prose.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.