# bix-claude-skills: GitHub PR Description Generator

> Reads a pull request diff, drafts a structured description, and pushes it to GitHub after you approve.

bix-claude-skills: GitHub PR Description Generator is a free AI agent skill on Agensi by Biswajit Sahoo, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Biswajit Sahoo](https://www.agensi.io/creators/biswajit-sahoo)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-13
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/bix-claude-skills-github-pr-description-generator
- Tags: api, github, git, documentation, code-review, pull-request, pr-description, changelog

## About this skill

**What it does**
- Fetches a PR's metadata and full diff with the `gh` CLI.
- Groups changes by area and drafts a description from a fixed template.
- Starts with a TL;DR table and 3 to 5 bullets, then adds only the sections that apply (Features, Bug Fixes, Improvements, Refactoring, Documentation, Tests, Dependencies, CI/CD).
- Keeps ticket and issue links from the existing PR body under a `**Tickets:**` line.
- Shows the full draft and waits for you to choose Post or Edit before touching GitHub.

**Problems it solves**
- Blank or one-line PR bodies that leave reviewers guessing.
- Long, jargon-heavy descriptions that take two reads to follow.
- Losing ticket links when a PR body is rewritten.
- Large diffs that are slow to summarize by hand.

**How it works**
1. Validate the PR number (asks if missing) and gather metadata and diff as JSON. Stops if the diff is empty.
2. Analyze the diff, skipping whitespace-only changes, and group changes by area. Diffs over 5,000 lines go to a sub-agent for a per-file summary.
3. Draft the description from the template, with plain, short writing rules and no invented changes.
4. Show the draft and ask: Post or Edit. Repeat edits until you approve.
5. Run `gh pr edit` with exactly the approved text and print the PR URL.

**Why install it**
- Free and open source (Apache-2.0).
- Consistent PR descriptions across a team.
- Nothing is pushed without your approval.
- Adds no AI attribution or footer to the description.

**Requirements**
- Claude Code, `gh` CLI (authenticated), `python3`, and a git repo with a GitHub remote.

## Known limitations

- Needs `gh` installed and authenticated, and must run inside a repo with a GitHub remote.
- Needs `python3` (the script uses it to escape the diff as JSON).
- Takes a PR number only. It does not accept URLs or branch names.
- Stops if the PR has no diff.
- Diffs over 5,000 lines are summarized by a sub-agent first, so fine detail may be lost.
- It replaces the whole PR body. Only ticket links found in the old body are carried over.
- The script was written for a Bash environment (macOS or Linux). Windows is not documented.
- The description is only as accurate as the diff. It does not run code or tests.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the bix-claude-skills: GitHub PR Description Generator skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What technical setup is required before I can use this skill?

This skill requires a bash environment and the GitHub CLI (`gh`) tool installed and authenticated on your local machine to fetch diffs and push the final descriptions.

### Can this skill handle very large pull requests with thousands of lines of code?

Unlike basic prompts that might struggle with long codebases, this skill uses a sub-agent delegation system to process diffs exceeding 5,000 lines, ensuring context isn't lost on large PRs.

### Will the generated descriptions include AI watermarks or footers?

No, the skill is designed to produce professional, human-like summaries that strictly follow your project templates without adding "Generated by AI" footers or robotic fluff.

### Am I able to review and edit the description before it updates my GitHub PR?

Yes, the skill includes a review phase where you can inspect the Markdown draft and request specific edits or additions before it is pushed to your live GitHub repository.

### Does this skill work with languages other than Python or JavaScript?

Yes, the skill is language-agnostic; it analyzes git diff patterns and file structures, making it equally effective for frontend, backend, or infrastructure-as-code projects.

### How do I use bix-claude-skills: GitHub PR Description Generator?

Connect your AI agent to Agensi through MCP, then ask it to use bix-claude-skills: GitHub PR Description Generator on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

### What do I need before running it?

The `gh` CLI logged in with `gh auth login`, `python3`, and a terminal opened inside the repo that holds the PR.

### Will it overwrite my PR description without asking?

No. It shows the full draft and asks Post or Edit. It only runs `gh pr edit` after you choose Post, and pushes exactly the approved text.

### Does it add a "Generated with" footer or co-author line?

No. The skill forbids any AI attribution in the description. But you can ask claude to add it if your team wants.

### Does it use a lot of tokens?

It reads the whole diff once. For diffs over 5,000 lines it hands the reading to a sub-agent and works from a per-file summary, which keeps the main session smaller.

### What if my PR already links a ticket?

Links such as `#123`, `JIRA-456` or issue-tracker URLs in the current body are placed under `**Tickets:**` at the top of the new description.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
