# Pr Summary

> Generate a PR title and description from the branch diff vs main. Use when asked for a PR summary or PR description.

- Skill: `majiayu000/pr-summary-6` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/pr-summary-6`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/pr-summary-6/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/majiayu000/pr-summary-6

---


# PR Summary

## Workflow
- Fetch origin if needed and compute merge base: `base=$(git merge-base HEAD origin/main)`.
- Review `git diff --stat $base` and key file diffs.
- Draft a PR title and short body that explain what changed and why.
- Include tests run or targeted test recommendations and any risks.

