pr-summary
The pr-summary command analyzes git differences between the current branch and main, then generates a formatted pull request description including a summary of changes, modified files list, breaking changes identification, and testing notes. Use this command to quickly create PR documentation when preparing to merge feature branches or bug fixes.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ChrisWiles/claude-code-showcase/HEAD/.claude/commands/pr-summary.md -o ~/.claude/commands/pr-summary.mdpr-summary.md
# PR Summary Generate a pull request summary for the current branch. ## Instructions 1. **Analyze changes**: ```bash git log main..HEAD --oneline git diff main...HEAD --stat ``` 2. **Generate summary** with: - Brief description of what changed - List of files modified - Breaking changes (if any) - Testing notes 3. **Format as PR body**: ```markdown ## Summary [1-3 bullet points describing the changes] ## Changes - [List of significant changes] ## Test Plan - [ ] [Testing checklist items] ```
MUST BE USED PROACTIVELY after writing or modifying any code. Reviews against project standards, TypeScript strict mode, and coding conventions. Checks for anti-patterns, security issues, and performance problems.
Git workflow agent for commits, branches, and PRs. Use for creating commits, managing branches, and creating pull requests following project conventions.
Run code quality checks on a directory
Check if documentation is in sync with code
Review a pull request using project standards
Work on a JIRA/Linear ticket end-to-end
Core component library and design system patterns. Use when building UI, using design tokens, or working with the component library.
Formik form handling with validation patterns. Use when building forms, implementing validation, or handling form submission.