DO

Reviews diffs to identify missing or outdated documentation based on content guidelines.

Install

mkdir -p .claude/skills/doc-check && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1051" && unzip -o skill.zip -d .claude/skills/doc-check && rm skill.zip

Installs to .claude/skills/doc-check

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Checks if code changes require documentation updates
52 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Triage code diffs for documentation impact
  • Cross-references code changes with content guidelines
  • Identifies undocumented CLI flags
  • Checks existing documentation for accuracy

How it works

Processes code differences through a rule-based checklist to determine if user-facing behavior has deviated from documented states.

Inputs & outputs

You give it
Git diff or PR reference
You get back
List of required documentation updates or status confirmation

When to use doc-check

  • Review documentation after changing CLI flags
  • Verify if new API endpoints require doc updates
  • Check if internal code changes impact public-facing documentation

About this skill

Documentation Check Skill

Review code changes and determine if documentation updates or new documentation is needed. This skill decides whether a change needs docs; its counterpart, the write-docs skill, covers writing them.

[!IMPORTANT] The canonical rules for what belongs in the Coder docs (and what doesn't) live in docs/.style/content-guidelines.md. Read that first. When this skill conflicts with the content guidelines, the content guidelines govern.

Workflow

  1. Get the code changes. Use the method provided in the prompt, or if none specified:

    • For a PR: gh pr diff <PR_NUMBER> --repo coder/coder
    • For local changes: git diff main or git diff --staged
    • For a branch: git diff main...<branch>
  2. Triage the diff. Walk the quick decision checklist in the content guidelines. Most non-user-facing diffs route out of the docs entirely; see What not to comment on.

  3. Understand the scope. Consider what changed:

    • Is this user-facing or internal?
    • Does it change behavior, APIs, CLI flags, or configuration?
    • Even for "internal" or "chore" changes, always verify the actual diff.
  4. Search the docs. Find related content in docs/.

  5. Decide what's needed. Consider:

    • Do existing docs need updates to match the code?
    • Is new documentation needed for undocumented features?
    • Or is everything already covered?
  6. Report findings. Use the method provided in the prompt, or if none specified, summarize findings directly.

What to Check

  • Accuracy: Does documentation match current code behavior?
  • Completeness: Are new features or options documented?
  • Examples: Do code examples still work?
  • CLI/API changes: Are new flags, endpoints, or options documented?
  • Configuration: Are new environment variables or settings documented?
  • Breaking changes: Are migration steps documented if needed?
  • Premium features: See Premium feature signaling below.
  • Renames or moves: See Renames and moves require redirects below.
  • Terminology and the glossary: Does the change introduce, rename, or deprecate a Coder product or feature name? If so, docs/reference/glossary.md needs a matching entry. See Glossary and terminology below.

What not to comment on

Do not produce sticky-comment suggestions for these classes of change. They have no user-visible documentation surface.

  • Auto-generated CLI docs under docs/reference/cli/. These are generated from Go code under cli/; suggest edits to the CLI definitions instead.
  • Internal-only refactors with no user-visible behavior change.
  • Test-only changes (new tests, refactored tests, fixtures).
  • CI, release, or tooling commits that don't change user-facing surfaces. This includes workflow YAML, Makefile internals, formatter configs, and lint configs.
  • Dependency bumps without behavior changes.
  • Pure code reorganizations (moves, renames, package restructuring with no API or behavior change).
  • Features guarded by an unsafe experiment flag. Features behind an unsafe experiment are not designed for users yet and may be reverted. See Experiments versus feature stages in the content guidelines for the experiment-vs-stage distinction. A safe experiment or an Early Access feature does need at least a single-page doc, so don't apply this rule to those.

If a diff is a mix of one of the above with a user-facing change, comment only on the user-facing portion.

Key Documentation Info

  • docs/manifest.json is the navigation structure; new pages MUST be added here.
  • docs/reference/cli/*.md is auto-generated from Go code. Don't edit directly.
  • docs/.style/content-guidelines.md is the canonical source for what belongs in the docs.

Premium feature signaling

A page documenting a Premium feature requires both of the following. Missing either one is a defect:

  1. The H1 title takes a (Premium) suffix. Example: # Template Insights (Premium).
  2. The page's docs/manifest.json entry includes "state": ["premium"].

No emdash, endash, or -- as punctuation

This applies in docs prose, code blocks, comments, and string literals. Use commas, semicolons, or periods, or restructure the sentence. For numeric ranges, use a plain hyphen (e.g., 0-100). The rule is enforced by make lint/emdash, but the doc-check skill should also flag violations it generates or suggests.

Renames and moves require redirects

Redirects for coder.com/docs are configured in a separate repo, not in this one. When a doc page is renamed or moved:

  1. Update every link that relies on the old location.
  2. Add an entry to coder/coder.com:redirects.json that maps the old path to the new one. Open that PR alongside the coder/coder rename PR.

Do not create a docs/_redirects file in this repo; that format isn't processed by coder.com.

Glossary and terminology

The glossary defines Coder-specific product and feature names, including collisions like the several senses of "agent". It drifts when the product's vocabulary changes and the page doesn't. Flag a glossary update when a change:

  • Adds a Coder product or feature name that isn't in the glossary yet.
  • Renames one. The entry should keep the former name (for example, "previously named ...").
  • Deprecates one. The entry should say so and name the replacement.

This is the canonical rule in Structural rules; the content guidelines govern. Don't flag generic lowercase concepts or internal-only identifiers with no user-facing surface; they don't earn a glossary entry.

Coder-specific patterns

Callouts

Use GitHub-Flavored Markdown alerts:

> [!NOTE]
> Additional helpful information.

> [!WARNING]
> Important warning about potential issues.

> [!TIP]
> Helpful tip for users.

CLI Documentation

CLI docs in docs/reference/cli/ are auto-generated. Don't suggest editing them directly. Changes should be made in the Go code that defines the CLI commands (typically the cli/ directory).

Code Examples

Use sh for shell commands:

coder server --flag-name value

When not to use it

  • On purely cosmetic documentation commits
  • When code changes are strictly local non-functional tweaks

Prerequisites

Access to git/gh CLIPath to docs/.style/content-guidelines.md

Limitations

  • Does not auto-generate documentation text
  • Governed by external content guideline documents

How it compares

It focuses on procedural consistency by enforcing canonical content guidelines against the actual code changes.

Compared to similar skills

doc-check side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
doc-check (this skill)42moReviewIntermediate
workthrough108moReviewBeginner
pr-draft-summary34moNo flagsBeginner
create-pr-description25moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

workthrough

bear2u

Automatically document all development work and code modifications in a structured workthrough format. Use this skill after completing any development task, bug fix, feature implementation, or code refactoring to create comprehensive documentation.

1085

pr-draft-summary

openai

Create a PR title and draft description after substantive code changes are finished. Trigger when wrapping up a moderate-or-larger change (runtime code, tests, build config, docs with behavior impact) and you need the PR-ready summary block with change summary plus PR draft text.

326

create-pr-description

antinomyhq

Generate and create pull request descriptions automatically using GitHub CLI. Use when the user asks to create a PR, generate a PR description, make a pull request, or submit changes for review. Analyzes git diff and commit history to create comprehensive, meaningful PR descriptions that explain what changed, why it matters, and how to test it.

213

github-contributor

daymade

Strategic guide for becoming an effective GitHub contributor. Covers opportunity discovery, project selection, high-quality PR creation, and reputation building. Use when looking to contribute to open-source projects, building GitHub presence, or learning contribution best practices.

17

session-wrap

team-attention

This skill should be used when the user asks to "wrap up session", "end session", "session wrap", "/wrap", "document learnings", "what should I commit", or wants to analyze completed work before ending a coding session.

14

open-source-maintainer

numman-ali

End-to-end GitHub repository maintenance for open-source projects. Use when asked to triage issues, review PRs, analyze contributor activity, generate maintenance reports, or maintain a repository. Triggers include "triage", "maintain", "review PRs", "analyze issues", "repo maintenance", "what needs attention", "open source maintenance", or any request to understand and act on GitHub issues/PRs. Supports human-in-the-loop workflows with persistent memory across sessions.

12

Search skills

Search the agent skills registry