v1-io

pr-description

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

v1-io 5 2 Updated 4mo ago

Resources

1
GitHub

Install

npx skillscat add v1-io/v1tamins/pr-description

Install via the SkillsCat registry.

SKILL.md

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