Agent skill
doc-check
Checks if code changes require documentation updates
Install this agent skill to your Project
npx add-skill https://github.com/coder/coder/tree/main/.claude/skills/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/ -
Decide what's needed:
- Do existing docs need updates to match the code?
- Is new documentation needed for undocumented features?
- Or is everything already covered?
-
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/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: Should docs indicate
(Premium)in the title?
Key Documentation Info
docs/manifest.json- Navigation structure; new pages MUST be added heredocs/reference/cli/*.md- Auto-generated from Go code, don't edit directly- Premium features - H1 title should include
(Premium)suffix
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. Instead, changes should be made in the Go code that defines the CLI
commands (typically in cli/ directory).
Code Examples
Use sh for shell commands:
coder server --flag-name value
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
refine-plan
Iteratively refine development plans using TDD methodology. Ensures plans are clear, actionable, and include red-green-refactor cycles with proper test coverage.
pull-requests
Guide for creating, updating, and following up on pull requests in the Coder repository. Use when asked to open a PR, update a PR, rewrite a PR description, or follow up on CI/check failures.
deep-review
Multi-reviewer code review. Spawns domain-specific reviewers in parallel, cross-checks findings, posts a single structured GitHub review.
code-review
Reviews code changes for bugs, security issues, and quality problems
mobile-dev-server-sandbox
Connects Mux mobile (Expo web/native) to an isolated dev-server sandbox with deterministic port setup, backend pairing, and Chrome MCP interaction. Use when implementing or validating mobile features against a sandboxed Mux backend.
dev-desktop-sandbox
Run isolated mux desktop (Electron) instances (temp MUX_ROOT + free ports)
Didn't find tool you were looking for?