# Docs

> Update documentation to reflect recent code changes. Use when this capability is needed.

- Skill: `tomevault-io/docs-10` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/docs-10`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/docs-10/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/docs-10

---


# /docs

Spawns the `doc-updater` agent to find and update documentation affected by recent changes.

## Steps

1. **Gather context** — detect what changed and what docs may be stale:
   - Run `git diff --name-only HEAD~1..HEAD` (or broader range if specified)
   - Identify changed function signatures, API endpoints, config keys
   - Locate documentation files: README.md, API docs, inline comments, CHANGELOG

2. **Spawn the agent** — use the Task tool:
   ```
   Task tool with subagent_type="doc-updater"
   ```
   Pass in the prompt:
   - The list of changed files and a summary of what changed
   - The commit messages for context
   - Paths to known documentation files in the project

3. **Present findings** — relay the agent's update report:
   - List each documentation file updated with a description of the change
   - Flag docs that may need updating but require human judgment
   - Note any docs that are already up to date

4. **Offer follow-up actions**:
   - "Review changes?" — show the diff of documentation updates
   - "Commit docs separately?" — stage and commit doc changes independently

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/bis-code) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

