pr-workflow

A PRIME example of how to do it.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/zoeyzou/friend-sync --skill pr-workflow-zoeyzou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-workflow
Source: https://github.com/zoeyzou/friend-sync/tree/main/.cursor/skills/pr-workflow
Command: npx skills add https://github.com/zoeyzou/friend-sync --skill pr-workflow-zoeyzou

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill turns messy local changes and uncertain PR descriptions into clear, review-ready pull requests by analyzing diffs, grouping related changes, and producing concise titles and templated bodies so reviewers can understand intent quickly.

Core Features & Use Cases

  • Diff analysis & summarization: Inspect git status and diffs to produce 1–3 high-level bullets that describe features, refactors, and fixes.
  • PR drafting: Generate standardized PR titles and bodies with Summary, Details, Screenshots, and Checklist sections that match repo conventions.
  • PR updates & maintenance: Refine PR descriptions when new commits arrive or when only the body needs improvement; suggest rebase/merge guidance if the branch is behind main.
  • Real-world example: Create a PR for a feature branch that adds a dashboard, adjusts auth, and includes database migrations, with a checklist for testing and migration steps.

Quick Start

Draft a PR title and a templated body summarizing the current branch changes for review against main.

Frequently Asked Questions about pr-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a pull request description from a git diff?

To generate a pull request description from a git diff, inspect the repository diffs and branch names to produce 1-3 high-level summary bullets, standardized titles, and templated bodies for review.

What is the best way to create a reviewer checklist for a GitHub pull request?

Creating a reviewer checklist for a GitHub pull request involves analyzing local changes and database migrations to group related commits, producing a templated body with testing and migration steps for reviewers.

Can I use gh CLI to automatically open a PR with a generated title and body?

Yes, you can use gh CLI to automatically open a PR by inspecting git status, generating a standardized title and body from diffs, and optionally invoking the gh CLI to open the pull request directly.

How do I update an existing PR description when new commits arrive?

To update an existing PR description when new commits arrive, inspect the updated diffs to refine the summary, details, and checklist sections, and suggest rebase or merge guidance if the branch is behind main.

Does this PR drafting tool work with feature branches targeting main?

Yes, this PR drafting tool works with feature branches targeting main, analyzing git status and diffs to group changes like features, refactors, and fixes into clear, review-ready pull request summaries.