pr-doc-generator

pr-doc-generator is a skill for Claude Code, Codex from srinidhis05/agentura. It costs 3 tokens per session (813 once invoked), scanned A, original, Apache-2.0.

A pull-request documentation checker and generator. A pull request is a proposed set of code changes for review; this tool compares those changes with documentation and prepares updates where needed.

In plain words
What is it for?
Use it to inspect changed files, classify the change as a feature, fix, refactor, or breaking change, and draft concrete documentation updates.
Why use it?
It finds user-facing code changes that have no matching explanation in the README, changelog, or API documentation. This reduces the chance that documentation falls behind the code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter; positional $N argument.

Good fit Use it to inspect changed files, classify the change as a feature, fix, refactor, or breaking change, and draft concrete documentation updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/srinidhis05/agentura/pr-doc-generator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add srinidhis05/agentura --skill pr-doc-generator
Clone the repo
git clone --depth 1 https://github.com/srinidhis05/agentura

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-doc-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/srinidhis05/agentura/pr-doc-generator/github.svg)](https://agentmods.dev/skills/srinidhis05/agentura/pr-doc-generator)
Your own site
<a href="https://agentmods.dev/skills/srinidhis05/agentura/pr-doc-generator"><img src="https://agentmods.dev/badge/skills/srinidhis05/agentura/pr-doc-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-doc-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/srinidhis05/agentura/pr-doc-generator"><img src="https://agentmods.dev/badge/skills/srinidhis05/agentura/pr-doc-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 813 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00003 $0.00813
Opus 5 $0.00002 $0.00407
Sonnet 5 $0.00001 $0.00163
Haiku 4.5 $0.00000 $0.00081

Measured 9d ago against content hash 482067d0591f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

pr-doc-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dev/pr-doc-generator/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PR Doc Generator

Task

You analyze a pull request's changed files, classify the change type, detect documentation gaps, and generate concrete documentation updates including CHANGELOG entries, README patches, and API doc stubs.

Input

You receive:

  • diff — unified diff of the PR
  • changed_files — list of changed file objects
  • repo — repository full name
  • pr_number — PR number

Execution Protocol

Phase 1: Documentation Inventory

Scan changed files to identify:

  1. Which documentation files were changed (README, docs/, CHANGELOG)
  2. Which code files have doc-relevant changes (new public APIs, changed signatures)
  3. Whether doc changes match code changes

Phase 2: Gap Detection

For each code change without matching doc update:

  1. Is the change user-facing?
  2. Does it add/modify a public API?
  3. Does it change configuration or behavior?

Phase 2.5: Classification

Categorize the overall change:

  • breaking — Removes or changes existing public API, config format, or behavior
  • feature — Adds new functionality, endpoints, commands, or options
  • fix — Corrects a bug or incorrect behavior
  • refactor — Internal restructuring with no user-facing change
  • docs — Documentation-only change

Use the diff content and commit messages as evidence. A single PR may have multiple change types — pick the dominant one.

Phase 3: Generate

Produce concrete documentation artifacts:

  1. CHANGELOG entryKeep a Changelog format under the appropriate section (Added/Changed/Fixed/Removed)
  2. README patches — Specific sections to add/update/remove with exact content
  3. API doc stubs — JSDoc/docstring/godoc for new public functions lacking documentation
  4. Generated docstrings — For new public functions/methods that lack inline docs

Output Format

{
  "summary": "Feature PR — 2 doc updates needed, 1 README section stale",
  "change_type": "feature",
  "changelog_entry": "### Added\n- User authentication middleware with JWT validation (`src/auth/middleware.go`)",
  "doc_files_changed": ["README.md"],
  "doc_gaps": [
    {"file": "src/api.ts", "function": "createUser", "issue": "New endpoint not documented in API.md"}
  ],
  "readme_patches": [
    {"section": "API Reference", "action": "add", "content": "### POST /api/users\nCreates a new user account.\n\n**Body**: `{email, password, name}`\n**Response**: `201 Created`"}
  ],
  "generated_docstrings": [
    {"file": "src/auth/middleware.go", "function": "ValidateToken", "docstring": "// ValidateToken checks the Authorization header for a valid JWT and populates the request context with user claims."}
  ],
  "suggestions": [
    {"file": "README.md", "section": "API Reference", "action": "Add createUser endpoint"}
  ]
}

Read the full file on GitHub · 91 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 91 lines · 3 tokens per session scan A 482067d0591f

Subscribe to this mod's changes

pr-doc-generator is a skill published in the GitHub repository srinidhis05/agentura (9 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 3 tokens to every session and 813 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens

nvca-chart-release

Release NVCA Operator chart changes from the native monorepo source to the vendored Helm chart. Use when updating the vendored NVCA Operator chart, changing NVCA image refs, publishing helm-nvca-operator, or validating the chart against a self-managed control plane.

NVIDIA/nvcf · 61 tokens