MCPInstall

docs-update

Update user-facing documentation when code changes. Use when asked to update docs, review docs, handle documentation changes, run scheduled documentation tasks, or analyze recent commits for documentation needs.

Installs
206
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/warpdotdev/oz-skills --skill docs-update
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads docs-update automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Documentation Bot

Automatically review code changes and update user-facing documentation to keep it synchronized with the codebase. Works across documentation platforms (Mintlify, Docusaurus, GitBook, Fumadocs, etc.) and supports both monorepo and multi-repo setups.

Workflow

1. Identify Significant Code Changes

Determine which commits need documentation updates:

  • Find the default branch
  • Get recent commits (default: last 24 hours, or accept user-specified timeframe)
  • Examine each commit's changes to understand what was modified

Filter for significant changes:

  • New features or capabilities
  • API changes (new endpoints, parameters, return values)
  • Breaking changes
  • New configuration options
  • New CLI commands or flags
  • Changes to user-facing behavior

Skip documentation for:

  • Internal refactoring
  • Test-only changes
  • Minor bug fixes
  • Typo corrections in code
  • Performance optimizations without user impact

Be conservative: quality over quantity. When in doubt about significance, skip the update.

2. Analyze Documentation Context

Locate documentation:

  • Check for documentation directory in current repo (monorepo pattern)
  • Look for separate documentation repository in environment

Identify documentation platform: Determine the platform by examining configuration files and directory structure (e.g., Mintlify, Docusaurus, GitBook, Fumadocs, or generic markdown).

Understand documentation style: Read several existing documentation files to identify tone, voice, structure, code example patterns, terminology, and formatting conventions. Check for style guides or contribution documentation.

3. Determine Documentation Updates

Map code changes to documentation needs (new content, modifications, or additions to existing content).

Guidelines:

  • Prioritize user-facing changes over implementation details
  • Match existing documentation verbosity (some docs are comprehensive, others minimal)
  • Preserve existing accurate content—be strictly additive when possible
  • Keep content focused and avoid generic advice

4. Generate Documentation Changes

Match existing style:

  • Use the same tone, voice, and formality level identified in step 2
  • Follow the same heading structure and hierarchy
  • Use consistent terminology
  • Match code block formatting (language tags, highlighting)
  • Follow platform conventions (frontmatter, special syntax, custom components)

5. Execute or Report

Testing mode (when user asks to "see what would change"):

Output a text summary describing:

  • What changes were detected in commits
  • Which documentation files would be modified
  • What content would be added or changed
  • Rationale for why these updates are needed

Execution mode (when running as automation):

  1. Create a descriptive branch name (e.g., docs/auto-update-YYYYMMDD)

  2. Make documentation changes to appropriate files

  3. Commit with descriptive message listing the changes

    • Include co-author line: Co-Authored-By: Warp <agent@warp.dev>
  4. Push branch and create PR with description linking to relevant commits:

    • List which code changes triggered which documentation updates
    • Include commit references or URLs from source repository
    • Request review for accuracy and completeness

Multi-Repository Setup

When source code and documentation are in separate repositories, identify changes in the source repo, then switch to the docs repo and follow the workflow above. Reference source commits in the PR description.

Edge Cases

  • If no significant changes found, report that no documentation updates are needed
  • If documentation platform is unclear, default to standard markdown syntax
  • If conflicting with existing content, preserve existing information and note conflicts for human review

Key Principles

  • Conservative: Better to skip than clutter documentation
  • Consistent: Match existing style, tone, and structure exactly
  • Contextual: Consider the full documentation landscape, not just individual files
  • Clear: Explain significance of changes and rationale for updates
  • Practical: Focus on helping users accomplish tasks, not describing implementation

FAQ

What does the docs-update skill do?

Update user-facing documentation when code changes. Use when asked to update docs, review docs, handle documentation changes, run scheduled documentation tasks, or analyze recent commits for documentation needs.

How do I install docs-update?

Run npx skills add https://github.com/warpdotdev/oz-skills --skill docs-update in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/docs-update/ (personal) or .claude/skills/docs-update/ (project).

Which AI agents can use docs-update?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is docs-update safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains docs-update?

It is published by warpdotdev in warpdotdev/oz-skills. It has 206 recorded installs.

More from warpdotdev/oz-skills

View all →

seo-aeo-audit

warpdotdev/oz-skills

Optimize for search engine visibility, ranking, and AI citations. Use when asked to improve SEO, optimize for search, fix meta tags, add structured data, or improve AEO and AI visibility.

Marketing & SEO625 installs

github-bug-report-triage

warpdotdev/oz-skills

Open the skill to read its SKILL.md instructions.

scheduler

warpdotdev/oz-skills

Schedule on-device reminders and local actions only. Use this skill to set personal reminders or run lightweight, local tasks at a specific time or interval (e.g., notifications, local scripts), on the user's computer or with platforms like Slack. Do NOT use for scheduling cloud agents, background agentic jobs, or Oz-managed workflows.

AI & Agents293 installs

ci-fix

warpdotdev/oz-skills

Open the skill to read its SKILL.md instructions.

DevOps & Cloud207 installs

web-accessibility-audit

warpdotdev/oz-skills

Audit web applications for WCAG accessibility compliance. Use when asked to run accessibility checks, identify common violations, and provide remediation guidance.

Frontend & Design205 installs

web-performance-audit

warpdotdev/oz-skills

Open the skill to read its SKILL.md instructions.

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs