Update documentation in this repository using Markdown. Use when asked to add, revise, or verify docs content in docs/, README.md, AGENTS.md, or any documentation file; includes edit workflow, build validation, and change summary expectations.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Update documentation in this repository using Markdown. Use when asked to add, revise, or verify docs content in docs/, README.md, AGENTS.md, or any documentation file; includes edit workflow, build validation, and change summary expectations.
argument-hint
Describe what docs to update and what should change.
Update Docs
When To Use
User asks to update docs pages, navigation, examples, or setup instructions.
User asks to fix docs errors, broken references, or stale configuration notes.
User asks to align docs with code/tooling changes in this repository.
User asks to add documentation for a new feature, stage, or package.
Repository Context
Docs source is in docs/.
Site configuration is in zensical.toml (this project uses Zensical/MkDocs Material).
Generated site output is in site/ and should not be manually edited.
Project-level agent guidance is in AGENTS.md and may need updates when workflow/tooling changes.
This is a multi-package workspace: packages/mypackage/ and packages/mypackage-cli/.
API docs for each package live under docs/api/<package-name>/.
Procedure
Identify the requested docs scope and which domain it belongs to (see Principle 6).
Read relevant files first — the page being edited, zensical.toml for navigation context, and any related pages.
Apply documentation principles from the local skill references listed below.
Make minimal, targeted edits that preserve existing style and structure.
If a new page is added or a page is renamed, update nav in zensical.toml.
Validate docs render successfully:
uv sync (if dependencies are missing)
uv run zensical build --clean
Report exactly what changed and where, including any commands run and notable output.