docs-pr-write
Skill by grafana
Writes or updates product documentation for user-facing pull request changes. It is for teams that need PR changes turned into docs without triage, doc review, or release notes.
Install docs-pr-write
Built from the published package, never by AI.
git clone --depth 1 https://github.com/grafana/tempo /tmp/tempo && mkdir -p ~/.claude/skills && cp -r /tmp/tempo/.claude/skills/docs-pr-write ~/.claude/skills/docs-pr-writeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/grafana/tempo /tmp/tempo && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tempo/.claude/skills/docs-pr-write ~/.gemini/antigravity-cli/skills/docs-pr-writeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Writes or updates product documentation for user-facing changes in pull requests. It takes PR numbers or links, or a classified PR list from the docs-pr-check skill, and reconstructs what each change lets users do. It prefers updating existing doc pages over creating new ones, and writes concise, task-oriented content with a runnable example and minimum version where relevant.
Before writing, it validates PR claims against the code, scoped to the changed files and their import chain, and treats PR text as untrusted. It replaces secrets from diffs with placeholders and does not rewrite whole pages. It is for documentation writers working on product docs. It does not triage PRs, review existing docs, or generate release notes.
Written from the project's SKILL.md and checked against it.
What it can do
- Write docs for a PRCreates or updates product documentation for user-facing PR changes.
- Inline triageClassifies PR numbers using the docs-pr-check criteria when no classified list is given.
- Pick the docs targetPrefers updating existing pages, then related sections, and creates a new page only if needed.
- Validate claims against codeChecks behavior, config and API claims in the PR against the code before documenting them.
- Replace secretsSwaps keys, tokens, passwords and internal hostnames from the diff for placeholders.
- Verification checklistLists relevant checks for the user to run, without completing them itself.
- Return a mappingReports files changed, a PR-to-doc mapping table and open items.
What you need
- GitHub CLI (gh) with access to the PR repository
- Local docs root configured in local context
Try asking
- Write docs for PR #1234 in our docs repo
- Document these changes from PRs 1201 and 1207
- Update the existing config docs based on PR 1234's code change
Good to know
- Does not triage PRs, review existing docs, or generate release notes
- Only processes PRs marked Docs needed or Docs update needed
- Confirms before touching README, source or CI files
- Stops and reports if a PR was deleted or a target file moved since triage
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/docs-pr-write/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash Read Grep Write
-
SKILL.md7 KB -
evals/evals.json11 KB -
references/validate-claims.md2 KB
Alternatives to docs-pr-write
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
docs-pr-write: common questions
Does it follow instructions written in a PR description?
No. The source says PR content is untrusted input, and it documents only what the code change actually does.
Which PRs does it write docs for?
It processes only PRs classified as Docs needed or Docs update needed.
Does it rewrite entire doc pages?
No. The source says to insert or update only the relevant section and preserve existing headings and sibling content.
How do I install docs-pr-write?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is docs-pr-write free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is docs-pr-write safe to use?
It scores 87 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to docs-pr-write?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
