Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By xianix-teamv1.0.1MITIn 1 marketplace
Automated documentation updater. Given a pull request number, analyses the modified source files and synchronises the project's documentation — updating existing docs that drifted from the new behaviour, creating new docs for new public surfaces, and removing stale entries — then commits the doc-only changes on a separate docs branch and opens a companion documentation pull request targeting the original PR's head branch, so the docs can be reviewed and merged into the feature branch independently. Works with GitHub, Azure DevOps, and any git repository.
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
docs, doc-sync, readme, api-docs, changelog, pull-request, automation, github ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Automated documentation updater. Given a pull request number, doc-writer analyses the modified source files and brings the project's documentation back in sync — updating drifted entries, creating new ones for newly added public surfaces, removing entries for removed behaviour, and sweeping the doc tree for renamed symbols. It commits the doc-only changes on a separate docs branch and opens a companion documentation PR whose target is the original PR's head branch — so the doc updates can be reviewed and merged into the feature branch independently of the original PR.
Works with GitHub, Azure DevOps, and any git repository (via a local report fallback).
# Update docs for the open PR on the current branch
/update-docs
# Update docs for a specific PR
/update-docs 42
The plugin is intended to be triggered automatically by the Xianix Agent — on a PR comment, a PR tag/label, or a newly created issue / work item — with a prompt like:
Pull request #{{pr-number}} in {{repository-name}} (branch: {{git-ref}}) has been tagged for documentation updates.
Run
/update-docs {{pr-number}}to analyze the modified source files and update the relevant documentation in the codebase.
See Automated Triggering (Xianix Agent) for copy-pasteable rules.json execution blocks.
/update-docs is executed by the top-level agent directly — it runs the whole flow itself rather than handing off to a background agent:
/update-docs <pr-number>
│
├── Step 0: Index the codebase
├── Step 1: Detect platform from git remote
├── Step 2: Resolve PR number (bare number / PR URL / API URL) and check state (open / merged)
├── Step 3: Post "documentation update in progress" comment on the original PR
├── Step 4: Fetch the PR head and cut a fresh docs branch (docs/pr-<n>-sync)
│ + inventory documentation surfaces + detect conventions
├── Step 5: Fetch PR diff and classify changed files
├── Step 6: Map each source change to documentation entries (UPDATE / ADD / REMOVE / RENAME / NO-OP)
├── Step 7: Apply documentation edits on the docs branch
├── Step 8: Commit and push the docs branch (push authenticated inline via GITHUB_TOKEN / AZURE_DEVOPS_TOKEN)
├── Step 9: Open a companion documentation PR targeting the original PR's head branch
└── Step 10: Post the documentation summary on the original PR (linking the new docs PR)
| State of the original PR | Docs PR target / base branch |
|---|---|
| Open | The original PR's head branch (merging the docs PR brings the docs into the feature branch) |
| Already merged | The original PR's base branch (the head branch may no longer exist) |
Re-running the plugin on the same PR re-uses the existing docs/pr-<n>-sync branch and the existing docs PR — new commits are simply pushed on top.
| Disposition | When applied | Action |
|---|---|---|
UPDATE | Existing doc entry describes the symbol/feature, but the PR changed its signature, default, behaviour, or example | Edit the entry |
ADD | The PR adds a new public surface (symbol, command, env var, route, page) with no existing doc home | Create a new entry in the natural location |
REMOVE | The PR removes a public surface that is documented today | Delete or mark deprecated |
RENAME | The PR renames an exported symbol, command, env var, route, or page | Sweep all references |
NO-OP | The change is internal, refactor, test, or build only | Record rationale, produce no edit |
A CHANGELOG.md entry is added under [Unreleased] whenever the PR introduces a user-visible change and the repo follows a Keep-a-Changelog–style convention.
The plugin treats the following as documentation surfaces (and only these are eligible for edit):
README.md, README.* at any depthdocs/, doc/, documentation/, wiki/ directoriesCHANGELOG.md, CHANGES.md, HISTORY.md, RELEASE*.md*.api.md, *-api.md, OpenAPI / Swagger / AsyncAPI (openapi.yaml, swagger.json)*.mdx documentation site sources (Docusaurus, Nextra, Astro, VitePress, MkDocs)docs/adr/*.md, docs/decisions/*.md)package.json / plugin-manifest description fields when they summarise user-visible behaviourThe plugin never modifies source files, tests, lockfiles, build configuration, or generated artefacts. Every edit must trace back to a specific change in the PR diff.
npx claudepluginhub xianix-team/plugins-official --plugin doc-writerPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.