doc-check
SKILL.md
Documentation Check Skill
Review code changes and determine if documentation updates or new documentation is needed.
Workflow
-
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 mainorgit diff --staged - For a branch:
git diff main...<branch>
- For a PR:
-
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
-
Search the docs for related content in
docs/