/gitbook:docs-change-radarfrom gitbook
Given one docs change (ticket, PR, thread, or draft), finds every GitBook page, block, variable, and screenshot affected, proposes edits in the team's style guide, and drafts a PR or change request.
Ships in gitbook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Autocomplete for a docs change. Someone has one thing to change; this skill finds everything else on the GitBook site that has to change with it, and then makes those edits.
One product change is rarely one page of docs. Given a description of a change (the source) and a GitBook site, update the pages it obviously calls for, sweep the rest of the site for everything else it affects, and finish the job in the same pass.
It works with the GitBook MCP server and GitHub alone; references/gitbook-and-github.md maps every step to those two. A tracker and a chat tool are optional extras. Page syntax is in write-docs.
Nothing in this skill is specific to one team. The site, the style guide, the reviewers, and the templates all come from the team's own setup, read at run time.
| The request | Do |
|---|---|
| "Document this change" | Steps 1 to 7, then stop. Step 8 is a later run. |
| "What else does this affect?", "run a radar" | Steps 1 to 4, and stop at the plan. |
| An existing draft (a change request or pull request) | Steps 1 to 4 against it. Findings go into that draft; if someone else wrote it, post each proposed change as a comment on the page it belongs to, with the proposed text, unless asked to push. |
| "Check on it", "publish it" | Step 8. |
Size the output to the change, and write it for the person who asked. A one-line fix still gets a full sweep, but its plan is a few lines, not a page.
Read docs-flow.yaml if the repository has one (template: references/docs-flow.example.yaml). It pins the site, style guide, follow-up destination, reviewers, and templates. Otherwise find what you can in the repository and through connected tools, and ask for the rest at the plan.
Everything team-specific is discovered, not assumed: where follow-ups go, where to report, who reviews, which style guide applies. Use what is connected in the session; references/adapters.md covers each and what to do when one is missing.
Find it in this order: style_guide: in docs-flow.yaml; the site's GitBook style guide (a space attached to the site, read through the MCP server); a guide elsewhere (STYLE.md, a writing-rules section of AGENTS.md, a URL, a pasted document). Rules about where pages go are house rules, not a style guide. The first guide you can read governs, and a guide the requester hands you always does; it is not provisional because another location went unchecked. If what you were given calls itself an excerpt, note that in the record. Read all of it before planning.
write-docs, and any template. Where it is silent, match the surrounding pages; do not import a convention the team never adopted.If a location could not be checked (GitBook unreachable, no access, dead link), say which one. Still run the sweep and present the plan, mark any plan line whose wording or placement the guide could change as provisional, and do not draft until the guide is read or pasted, or the requester says to proceed without it. Say "no style guide" only when the team has confirmed there is none; then match existing pages and state that in the draft.
Read the source in whatever form it arrives. For a ticket, include comments and linked pull requests. For a thread, read all of it. Pasted context needs no ticket; whether there is something to link is a question for the plan. For an existing draft, its diff is the main edit, and the brief comes from the engineering change behind it, not from the draft's own wording. Read the comments and reviews already on it first, and do not raise what someone has already raised.
Corroborate before planning:
Write the change brief:
Ask now only if "What changed" cannot be written. Everything else waits for the plan.
gitbook-docs.yaml maps spaces to directories in a site-synced repository; otherwise list the site structure. Translated variants are out of scope; name them as not swept.AGENTS.md, CLAUDE.md, contributing guides, and page templates.Sweep every in-scope space with the brief's terms. Method, search commands, screenshot handling, and exclusions are in references/radar.md; read it before the first sweep.
| Kind | Meaning | Goes |
|---|---|---|
| Must change | States something now false, gives a step that no longer works, or walks through a task whose prerequisite changed, and the source says what it should now say | In the draft |
| Link to add | An existing page that should point to the new content | In the draft |
| Probably affected | Same area, likely incomplete now, but the right wording depends on a judgment call or an unanswered question. Includes older tutorials | Follow-up |
| Worth a look | A mention that may be fine | Report only |
Let the sweep move the main edit: the page that already holds the claims the change breaks is usually where the topic lives, whatever page the source named. A clean sweep is a valid result; say what you searched, and do not promote weak hits.
The plan is what the requester reads, so it has to be usable by someone who is not a docs specialist. Write it in three parts: the TL;DR, the proposed changes, and the record.
1. The TL;DR. Start with it, every time. Someone who reads nothing else should know what you checked, which pages are affected, and what you need from them.
TL;DR: I scanned your docs for <the change, in plain words>. <N> pages need an update and <M> need a decision from you.
Needs an update
- <Page title>: <what is wrong, in a few words>
Needs a decision
- <Page title>: <the question, in a few words>
<The one thing you need from them, or "Nothing needed from you. Say go and I'll open the draft.">
2. The changes, each with the proposed text. A finding says what is wrong; a suggestion says what to put there. For every edit, show the current sentence and the sentence you propose, already written to the style guide.
Proposed changes for <reference>: <title>
1. <Page title>
Now: "<current sentence>"
Proposed: "<replacement sentence>"
Why: <one line; cite the style rule if the wording depends on it>
2. <Page title>: new section "<heading>"
Proposed: <the outline, or the full text if it is short>
3. <Page title>, after "<the sentence it follows>"
Add: "<new sentence>"
Same fix on: <Page title>, <Page title>
Needs a decision (I'll record these as follow-ups)
- <Page title>: "<current sentence>". <the decision it needs>
Questions
- Blocking: <question>. Held until answered: <what>
- <question>. Unless you say otherwise: <assumption>
For the reviewer to confirm: <what the source did not establish and the text leaves out>
Written to: <style guide name | no style guide read yet>
Next: <one pull request to owner/repo | one change request in space | comments on the existing draft>, reviewed by <names | no reviewer found yet>. <Hold, if the change is not live.>
3. The record, on request. Keep these but do not show them unless asked, or unless the requester is clearly the docs owner. Always put them in the draft description, where reviewers look:
Source: <link or "pasted context">, plus <changelog entry | linked PR> if found
State: <state>, <date>, <evidence>
Style guide: <name, read from where | not checked: location | none, confirmed by whom>
Worth a look: <Page title> (<link>); <Page title> (<link>)
Screenshots to re-capture: <page>: <image>, <what changed>
Clean: <terms and areas that came back with nothing>
Not checked: <translated spaces, header, and footer, screenshots with nothing to compare, generated copies>
Reviewers: <name (where it came from) | none found>
Search log: available
End the plan with one line offering the record ("I can show what I searched and what I ruled out").
On content:
references/doc-templates.md.Write the main edit, the must-change fixes, and the links as one pull request, or one change request per space. Use write-docs for syntax and the style guide for everything else.
Title it with the reference. In the description put the brief, the numbered changes, the record from the plan, the hold if any, and the source link. Leave it as a draft until the requester has seen it. Report the links: the draft itself and the rendered preview. references/gitbook-and-github.md says where each comes from.
Post a short update where the request came from: what is in the draft, the links, and the follow-ups with their identifiers. Record each probably-affected finding, grouping what one person would fix in one sitting: a ticket where a tracker is connected (search for an existing one first), otherwise a checklist in the draft description. Each carries the brief, the page, the quote, and links to the source and the draft. When the source is a ticket, link the draft from it.
Propose reviewers from the reviewer map, CODEOWNERS, or the source: the person who built the change for accuracy, the product owner for intent. Never propose the requester as their own accuracy reviewer; when the source is a docs ticket, follow it to the engineering change. Resolve each person to a real account, confirm, then request. Post one message in the thread: what changed, the links, who is reviewing, what is open. End the run and say how to trigger Step 8.
Read the review state. If changes were requested or a human comment is open, fix it in the draft, reply saying what changed, and wait; resolve a comment only after replying. If approved, and any hold is cleared, confirm with the requester and merge; merging publishes, so it always gets its own yes. Then check the live page, post the published link in the thread and on the source ticket, and close the source ticket only if its work is fully shipped. Follow-ups stay open. "Not approved yet" is a normal result: say who it is waiting on and stop.
references/gitbook-and-github.md: each step with the GitBook MCP server and GitHub, and what goes wrong. Read before the first GitBook or GitHub call.references/radar.md: how to sweep. Read before Step 3.references/adapters.md: optional trackers and chat, reviewers, and style guide locations, and what to do when one is missing.references/doc-templates.md: default shapes for a section, a deprecation notice, and page types, for sites with no templates.references/docs-flow.example.yaml: optional per-repository settings.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gitbookio/gitbook-skills --plugin gitbook7 skills in this plugin
/build-integrationBuild, develop, and publish GitBook integrations — apps that run inside GitBook to add custom blocks, react to events, connect external services via OAuth, and extend the editor. Use this skill whenever a task involves the GitBook integrations platform: scaffolding an integration with the GitBook CLI (`gitbook integration new`), writing or editing an integration's code (`createIntegration`, `createComponent`, ContentKit TSX), configuring `gitbook-manifest.yaml` (scopes, blocks, configurations, secrets), building custom editor blocks or link unfurlers, handling GitBook events like `space_content_updated`, setting up an integration's OAuth flow, running `gitbook integration dev`, or publishing an integration (private/unlisted/public, marketplace submission). Trigger this even if the user just says they want to 'build an app for GitBook', 'add a custom block', or 'connect <some tool> to GitBook' without saying the word 'integration'./configure-siteCreate and maintain GitBook documentation sites end-to-end — design structure from source content, scaffold a Git monorepo, set up the GitHub/GitLab remote, drive the GitBook API (REST or MCP) to create the site/sections/spaces, apply branding, and hand off the one UI step (Git Sync) that GitBook does not expose programmatically. Prefer site-level Git Sync (gitbook-docs.yaml mapping every space) over per-space sync unless a space needs its own repo or branch. Use when spinning up a new docs site, restructuring or extending one, linking a site or spaces to Git, changing branding (logo, colors, fonts, header/footer), or programmatically managing spaces, sections, or site-spaces. Defers page authoring to the companion `write-docs` skill./cr-createDrive an end-to-end GitBook docs review flow from the agent through the GitBook MCP server — create a change request, push content (update an existing page AND create a new page), request reviewers, notify Slack, then pull review comments back in, fix them, re-push, and resolve. This is the authoring-side companion to cr-review (the reviewer side over the same operations). Use this whenever someone wants to run a "docs review in GitBook" loop from the terminal/agent, mentions creating a change request via the API, pushing content into a CR, "pull in the latest comments and fix them," requesting review on docs, or showing engineers how to collaborate on GitBook docs from Claude + Slack without leaving the agent./cr-reviewReview GitBook change requests from the agent through the GitBook MCP server — the reviewer-side companion to cr-create (the authoring side over the same operations). Discover the change requests that need review (filter by who opened them, by space, or across a whole org), get the GitBook app link to review the diff, summarize what actually changed in a CR, then leave comments and optionally submit a review verdict (approve / request changes). Use this whenever someone wants to review docs change requests from the agent, asks "what CRs are open / waiting on me / opened by <person>", "show me the change requests in <space>/<org>", "summarize what changed in this CR", "review this change request", "leave a comment on a CR", or "approve / request changes on a CR". For the authoring side (create a CR, push content, request reviewers, fix comments), use cr-create instead./write-docsWrite, author, edit, and format GitBook documentation pages in Git-synced repos, IDEs, or any text editor. Use whenever a task involves creating or editing a GitBook markdown page, writing or updating a README.md or SUMMARY.md, inserting a hint, tab, stepper, card, or other GitBook block, configuring page frontmatter or layout options, setting up variables or expressions, or formatting content for GitBook outside the GitBook UI./write-openapiAuthor, configure, structure, and troubleshoot OpenAPI/Swagger API reference documentation in GitBook. Use this whenever a task involves a GitBook OpenAPI block or `{% openapi %}` block, adding or updating an OpenAPI/Swagger spec in GitBook (by file or URL, via the API, MCP, CLI, or app UI), generating API reference pages from a spec, configuring the interactive "Test it" runner (auth, servers, CORS, proxy), customizing pages with GitBook `x-*` extensions (icons, titles, navigation hierarchy, code samples, enum descriptions), marking operations experimental/deprecated/hidden, or automating spec updates in CI/CD. Trigger even when the user only mentions GitBook plus OpenAPI, puts an `x-` extension on a spec destined for GitBook, or asks "why isn't my spec loading" or "why doesn't Test it work", without naming this skill.Other plugins' skills for the same job