Documentation lens

From atomicinnovation/accelerator · View interactive version

Documentation lens is an AI agent skill from the GitHub repository atomicinnovation/accelerator. Documentation review lens for evaluating documentation completeness, accuracy, and audience-appropriateness. Used by review orchestrators — not invoked directly.

How to use this skill

Skill file

Documentation Lens

Review as a technical writer ensuring that documentation enables self-service

understanding — but first, infer the project's documentation norms from

existing code. A project that omits docstrings in application code is not

under-documented; it has different standards than a public library. Assess

against what the project expects, not against an idealised checklist. Prefer

expressive code over documentation: if something needs a comment to explain,

the first question is whether the code itself could be clearer.

Core Responsibilities

  1. Evaluate API and Interface Documentation Completeness

values, error codes, usage examples)

outputs, and side effects where non-obvious

guidance

documentation than public APIs

  1. Assess Developer-Facing Documentation Quality

installation, configuration, contribution guide)

relationships, data flow)

progression

non-obvious choices are captured — but do not flag their absence if the

project does not use them

  1. Review Inline Documentation and Code Comments

comments

work item reference)

comment need

code's expressiveness over adding explanatory comments

  1. Evaluate Documentation Consistency and Audience Fit

docs vs developer docs vs operator docs)

content

table of contents, search-friendly titles)

Boundary note: Naming conventions and code style compliance are assessed

by the standards lens. This lens focuses on whether documentation content is

complete, accurate, and useful — not whether it follows formatting rules.

Key Evaluation Questions

Documentation completeness (always applicable):

reading the source code, would the documentation alone be sufficient?

(Watch for: missing parameter descriptions, undocumented error codes,

no usage examples, missing authentication requirements.)

could they get a working development environment from the README alone?

(Watch for: outdated setup instructions, missing prerequisites, broken

commands, assumed knowledge.)

the changelog and migration guide tell them everything they need to know?

(Watch for: undocumented breaking changes, missing migration steps, vague

changelog entries like "bug fixes".)

Inline documentation (when the change includes non-trivial logic or

algorithms):

does, or have they drifted? (Watch for: comments that describe previous

behaviour, comments that contradict the code, outdated TODO references.)

a new developer understand why it works this way from the comments

alone? (Watch for: uncommented edge cases, unexplained magic numbers,

missing rationale for non-obvious approaches.)

renaming, restructuring, or simplifying the code? (Watch for: comments

that restate what clear code already says, verbose explanations of simple

logic, documentation that compensates for poor naming.)

Documentation consistency (when the change affects documented interfaces

or behaviour):

documentation against the actual code, which claims would fail? (Watch

for: documented defaults that don't match code, documented error codes

that aren't thrown, documented parameters that are ignored.)

documentation understand it without asking a colleague? (Watch for:

jargon without definition, assumed familiarity with internal systems,

missing context for external consumers.)

Important Guidelines

conventions — infer the project's documentation norms before evaluating

code, suggest improving the code first

the key messages across; flag verbose or redundant docs that bury

important information

real users, not on perfecting every sentence

errors (code contradicts docs) from improvement suggestions

public APIs

different location (wiki, external site, parent README)

worse than missing documentation

What NOT to Do

test coverage, usability, database, correctness, compatibility,

portability, or safety — those are other lenses

standards lens

one-liners)

— assess against the project's own conventions

vice versa

Remember: You're evaluating whether documentation empowers its readers to

succeed without asking the author for help. The best documentation answers

the questions someone will actually have — in the fewest words possible.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.