Skip to content
Back to skills

Create Pr Description

ASecurity

Generates a PR description by reading docs/pull_request_template.md and filling it with bulleted points derived from the git diff, commit log, and changed files on the current branch. ALWAYS use this skill whenever the user asks to create a PR, push a PR, open a pull request, or make a PR — in any form. This skill MUST run before `gh pr create` is called, every single time.

  • 225 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 4, 2026
code-qualitybashgit

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill create-pr-description --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create Pr Description?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Create Pr Description
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-create-pr-description/badge)](https://www.skillsdirectory.com/skills/neversight-create-pr-description)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: create-pr-description
description: Generates a PR description by reading docs/pull_request_template.md and filling it with bulleted points derived from the git diff, commit log, and changed files on the current branch. ALWAYS use this skill whenever the user asks to create a PR, push a PR, open a pull request, or make a PR — in any form. This skill MUST run before `gh pr create` is called, every single time.
---

# Create PR Description

To generate a PR description that matches the project template, follow this workflow.

## Step 1: Read the PR Template

Read `docs/pull_request_template.md` to get the exact section headings and format required. Do not invent sections — use only what the template defines.

## Step 2: Gather What Changed

Run the following git commands to understand the work done on this branch:

```bash
# Commits on this branch not yet on main
git log main..HEAD --oneline

# Files changed vs main
git diff main..HEAD --stat

# Full diff for detail
git diff main..HEAD
```

If `main` does not exist or the branch has no upstream, fall back to recent commits:

```bash
git log --oneline -10
git diff HEAD~1..HEAD --stat
```

Read the .gitignore file to not include files which have been ignored, these will not be a part of the commit anyway.

## Step 3: Fill the Template

Map the gathered information to each section from `docs/pull_request_template.md`, keeping things super simple for other devs and not too many little details:

### Summary

One or two sentences describing the overall purpose of the PR. Focus on the **why** — what problem it solves or what value it adds — not a file list.

### Details

A bulleted list of the specific things that were built or changed. Each bullet describes one logical change in plain language.

**Bullet writing rules:**

- Start each bullet with a past-tense verb: "Added", "Removed", "Fixed", "Replaced", "Updated", "Extracted"
- Be specific but concise — one sentence per bullet
- Mention component or feature names, not file paths
- Group related file changes into one meaningful bullet
- Skip noise (import reordering, linter auto-fixes) unless that is the point of the PR
- Aim for 3–8 bullets

## Step 4: Output

Print the completed PR description as a fenced markdown code block so the user can review it.

Then ask for confirmation. Once confirmed:
1. Push the branch if not already pushed: `git push -u origin HEAD`
2. Run `gh pr create` using the generated description as the body

## Example Output

```markdown
### Summary

Added a design md file to control new component ui designs.

### Details

- Added `DESIGN.md` in the project root.
- Added a templte PR description in docs.
- Created a new skill `create-pr-description` to make human-readable descriptions for PRs.
- Added a command to 
```

Files in this skill

  • SKILL.md2.7 KB
  • description_ar.txt578 B
  • description_cn.txt349 B
  • description_de.txt508 B
  • description_en.txt379 B
  • description_es.txt434 B
  • description_fr.txt489 B
  • description_it.txt425 B
  • description_ja.txt574 B
  • description_ko.txt415 B
  • description_ru.txt691 B
  • description_tw.txt352 B
  • stats.json68 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.