agentleFS
KemingHeKemingHe/common-devx/.agents/skills/documentation-review/SKILL.md

documentation-review

Skill10 starsChanged 6 months agoMITView on GitHub

Review and correct documentation for consistency, correctness, and drift. Documentation edits only (txt, md, mdx, rst) - no functional code changes. Triggers: "review docs", "check documentation", "doc review", "fix docs".

2 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

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before committing documentation changes

    line 23
  2. Distinctive:

    When linter tooling is available (IDE, markdownlint, etc.):

    line 52
  3. Distinctive:

    Run linter on files in scope

    line 54
  4. Very specific:

    Inline formatting: Use _underscore_ for italics, not *single-star*.

    line 94
  5. Distinctive:

    Prose: Do not insert hard newlines to simulate visual wrapping.

    line 96
  6. Distinctive:

    Consistency: Use the same term for the same concept throughout.

    line 98
  7. Distinctive:

    Structured output: Always use table format for findings

    line 106
  8. Distinctive:

    Linter-aware: Check and report linter errors when tooling is available

    line 108

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Documentation Review

Review and correct documentation files for consistency, correctness, and drift. Documentation edits only - no functional code changes.

Temporary persona: Technical editor with expertise in documentation standards and version control.

When to Use This Skill

  • Before committing documentation changes
  • Auditing docs for staleness or drift
  • Reviewing PRs (GitHub) / MRs (GitLab) with documentation updates
  • Checking consistency across related files

Process

Step 1: Identify Scope

Determine files to review:

  • Single file, directory, or pattern
  • Related files (e.g., SKILL.md + README + assets)

Step 2: Apply Checklist

DimensionCheck For
ConsistencyVersion sync (frontmatter/footer), naming patterns, terminology
CorrectnessValid YAML/markdown, working links, accurate paths
CompletenessRequired sections present, no unfilled placeholders
FreshnessLast Updated date, version numbers, changelog entries
CharactersQWERTY-only everywhere; no smart quotes, emojis, or special Unicode; no em-dashes or em-dash substitutes (--, --) in prose; use - for clause separation (exceptions: ↑; box drawing for tree output)
Inline formatting_underscore_ italics only; colon outside bold label markers (**Topic**:)
LinterCheck IDE/editor linter errors when available
Output qualityHard-wrapped bullets or prose that simulate visual wrapping; sentences broken across hard newlines; orphaned (optional) labels in populated sections; unfilled [placeholder] text; terminology inconsistency; KISS/DRY violations

Step 3: Check Linter Errors

When linter tooling is available (IDE, markdownlint, etc.):

  • Run linter on files in scope
  • Include linter errors in findings table
  • Distinguish between new errors (introduced by changes) and pre-existing

Common markdown linter catches:

  • Missing language specifier on fenced code blocks
  • Inconsistent list indentation
  • Trailing whitespace or missing final newline
  • Invalid link references

Step 4: Report Findings

Present issues in structured table:

| Issue | Location | Current | Fix Needed |
| :--- | :--- | :--- | :--- |
| [issue type] | Line X | `[current]` | [action] |

Summarize with:

  • Total issues found
  • Critical vs minor classification
  • Recommended action order

Common Misses

  • Last Updated: Forgetting to update date after changes
  • Version drift: Frontmatter version differs from footer
  • Stale links: Renamed files but not references
  • Placeholder remnants: [TODO] or [TBD] left in final docs
  • Linter errors: Ignoring IDE warnings on markdown files

General Doc Constraints

Apply to all generated output. If a discovered template deviates from any rule (e.g., uses emojis semantically, uses a different bullet convention), note the deviation explicitly and confirm with the user before treating it as a permitted exception.

  • Characters: QWERTY keyboard typeable only - no smart quotes, emojis, or special Unicode anywhere. In prose, do not use em-dashes or em-dash substitutes (--, --); use - (space-dash-space) for clause separation instead. Exceptions: ↑ for ToC navigation; Unicode box drawing characters for tree-style directory rendering.
  • Inline formatting: Use _underscore_ for italics, not *single-star*. Place colons after bold inline labels outside the markers: **Topic**: not **Topic:**.
  • Bullets: Use - for all unordered lists; one bullet per complete thought; never wrap a bullet's content mid-sentence onto a continuation line - split into separate bullets if too long or multi-thought. Nested sub-bullets for component grouping are permitted. End with a period only when the item is a full sentence; omit the period for concise fragment items (preferred).
  • Prose: Do not insert hard newlines to simulate visual wrapping. Keep each prose paragraph on one continuous physical line and let editors or viewers wrap it visually. Exception: commit message bodies use one sentence per line for git log readability.
  • Template hygiene: Delete (optional) and any parenthetical conditional label (e.g., (if operational)) from a section header the moment the section is populated - treat it as a .gitkeep-style placeholder that exists only until first use, then is removed. Omit the entire section (header and body) when unused. Populate all bracketed placeholders with actual content; never leave [TODO], [TBD], or any [placeholder] in generated output.
  • Consistency: Use the same term for the same concept throughout; match the voice and tense of the template; do not mix header levels for parallel sections.
  • KISS and DRY: Each section and bullet conveys unique information - no redundancy or overlap.

General Doc Constraints v1.2.0 - KemingHe/common-devx

Skill Constraints

  • Documentation only: Edit txt, md, mdx, rst files - no functional code changes
  • Structured output: Always use table format for findings
  • Prioritized: Critical issues (broken links, wrong versions) before style issues
  • Linter-aware: Check and report linter errors when tooling is available

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.