update-docs — Claude Code skill: what it does, how to install
Updates project documentation based on uncommitted git changes or the latest commit. Keeps README files, docs/, and JSDoc comments synchronized with your codebase.
npx skills add NeoLabHQ/context-engineering-kit --skill update-docs -a claude-codeWhat update-docs does
The skill inspects local edits using git status -u or inspects the latest commit via git show. It begins by reading the root README.md and project manifests such as package.json or pyproject.toml to capture formatting conventions and API structures.
Complexity determines the execution strategy. For minor changes across one or two files, the primary agent writes updates directly. When three or more files change or public APIs undergo significant modifications, the skill switches to a multi-agent pipeline. Haiku subagents parse diffs across documentation areas in parallel, while Sonnet or Opus subagents draft the updated text. Working inside an initialized git repository is strictly required, because the analysis pipeline relies directly on git diffs.
What it helps with
- synchronize project
README.mdanddocs/files with recent code edits - refresh public API signatures and JSDoc comments after refactoring
- analyze git diffs to generate prioritized documentation task lists
- delegate documentation updates across parallel specialized subagents
Example prompts for the agent
- Update project documentation for all uncommitted changes
- Inspect the latest commit and refresh README.md
- Focus on public API changes and update docs/
How to install update-docs
1Skills CLI (Vercel)
npx skills add NeoLabHQ/context-engineering-kit --skill update-docs -a claude-code2Manually: put the files in place
~/.claude/skills/update-docs/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/update-docs/
1Skills CLI (Vercel)
npx skills add NeoLabHQ/context-engineering-kit --skill update-docs -a codex2Manually: put the files in place
.agents/skills/update-docs/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add NeoLabHQ/context-engineering-kit --skill update-docs -a cursor2Manually: put the files in place
.cursor/skills/update-docs/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install NeoLabHQ/context-engineering-kit update-docs2Manually: put the files in place
.github/skills/update-docs/SKILL.md1Skills CLI (Vercel)
npx skills add NeoLabHQ/context-engineering-kit --skill update-docs -a gemini-cli2Platform CLI
gemini skills install https://github.com/NeoLabHQ/context-engineering-kit --path skills/update-docsManually: put the files in place
.devin/skills/update-docs/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add NeoLabHQ/context-engineering-kit --skill update-docs -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about update-docs
How to install update-docs in Claude Code?
Run npx skills add NeoLabHQ/context-engineering-kit --skill update-docs -a claude-code in your terminal. This downloads and registers the skill in Claude Code.
What does update-docs do?
It tracks code changes through git and generates or updates documentation across project README files, markdown guides, and inline code comments.
When does update-docs trigger a multi-agent workflow?
The skill launches multiple subagents if there are three or more modified files affecting documentation or if major API updates occurred. For one or two simple file edits, it generates documentation directly.