Pr summary

From divinevideo/divine-mobile · View interactive version

Pr summary is an AI agent skill from the GitHub repository divinevideo/divine-mobile. Generate a PR description following the project's pull_request_template.md. Analyzes all commits on the current branch vs main, summarizes changes, and outputs a ready-to-paste PR body. Invoke with /pr-summary.

How to use this skill

Skill file

PR Summary Skill

Purpose

Generate a pull request description that follows the project's

.github/pull_request_template.md format. Analyzes all changes on the

current branch compared to main and produces a concise, ready-to-paste

PR body.

Workflow

Step 1: Gather Context

# Current branch name
git branch --show-current

# Commits on this branch vs main
git log main..HEAD --oneline

# Files changed with stats
git diff main...HEAD --stat

# Full diff for analysis
git diff main...HEAD

Step 2: Detect Issue Number

Look for the related issue number from (in priority order):

  1. Argument passed to the skill
  2. Branch name (e.g., fix/explore-hashtags-empty-view -> search issues)
  3. Commit messages (e.g., Closes #1461)

Step 3: Analyze Changes

Read the diff and identify:

Step 4: Output

Output the PR body as a raw markdown code block so the user can copy-paste

it directly into the GitHub PR description field.

Wrap the entire output in a fenced code block with the markdown language tag:

<the PR body here>

Output Template

The content inside the code block must follow this structure exactly:

## Description

[1-3 sentence summary of what changed and why]

**Related Issue:** Closes #[number]

## Type of Change

- [ ] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Code refactor
- [ ] Build configuration change
- [ ] Documentation
- [ ] Chore

Only check the applicable type ([x]). Keep the description short and focused

on the "what" and "why", not implementation details. Reviewers can read

the diff for the "how".

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.