Agent Skills: Generate PR Description

Use when writing or updating a PR description on GitHub. Triggers on "write PR description", "update PR body", "describe this PR".

UncategorizedID: v1-io/v1tamins/pr-description

Install this agent skill to your local

pnpm dlx add-skill https://github.com/v1-io/v1tamins/tree/HEAD/claude/skills/pr-description

Skill Files

Browse the full folder contents for pr-description.

Download Skill

Loading file tree…

claude/skills/pr-description/SKILL.md

Skill Metadata

Name
pr-description
Description
Use when writing or updating a PR description on GitHub. Triggers on "write PR description", "update PR body", "describe this PR".

Generate PR Description

Create a comprehensive pull request description based on the changes in this branch relative to main, then update the PR on GitHub.

Usage

/pr-description <PR_URL_or_NUMBER>

Examples:

/pr-description https://github.com/your-org/your-repo/pull/123
/pr-description 123

What It Does

  1. Analyzes Changes

    • Runs git diff main HEAD to understand modifications
    • Reviews commit messages with git log main..HEAD --oneline
  2. Generates Content

    • Title: Concise descriptive title (max 72 chars)
    • Summary: Clear summary of what the PR accomplishes
    • Changes Made: Key changes, highlights breaking changes
    • Testing: How changes were tested, new test cases
    • Related Issues: Links to related issues or tickets
  3. Updates GitHub

    • Uses gh pr edit to update the PR title and body
    • Falls back to manual copy/paste if gh CLI unavailable

Notes

  • Requires gh CLI to be installed and authenticated
  • Automatically detects PR number from URL
  • Highlights breaking changes prominently
  • Formats output as proper markdown