Skip to content
Skills Library
Programming · Writing

pr-generator

/pr-generator

Use this skill when creating a pull request — generate the title, structured description, and review checklist from the branch's actual commits and diff. Don't use it for commit messages (git-commit skill) or changelogs.

Repository
swarmery ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use this skill when creating a pull request — generate the title, structured description, and review checklist from the branch's actual commits and diff. Don't use it for commit messages (git-commit skill) or changelogs.

Triggers from the description

s actual commits and diff. Don
Original author description

Use this skill when creating a pull request — generate the title, structured description, and review checklist from the branch's actual commits and diff. Don't use it for commit messages (git-commit skill) or changelogs.

How it works

  1. What it does
  2. When to use it
  3. How to invoke
  4. Worked example
Original SKILL.md headings · 41 lines, 298 words
SKILL.md preview
---
name: pr-generator
version: "1.0.0"
owner: "swarmery-core"
description: "Use this skill when creating a pull request — generate the title, structured description, and review checklist from the branch's actual commits and diff. Don't use it for commit messages (git-commit skill) or changelogs."
disable-model-invocation: true
color: cyan
docs:
  status: draft
  updated: 2026-09-01
---

# Purpose

A PR description assembled from the real diff and commit history — not from
memory of what you meant to do.

# Method

1. Gather evidence: `git log <base>..HEAD --oneline`, `git diff <base>...HEAD --stat`,
   and read the diff for anything the summary will claim.
2. Title: conventional-commit style, ≤72 chars, states the change not the
   activity ("feat(orders): bulk line-item editing", not "worked on orders").
3. Description sections: **What** (the change in 2-4 sentences), **Why**
   (the problem/ticket), **How** (notable decisions, anything a reviewer
   would ask about), **Testing** (what was actually run — never claim
   untested checks), **Breaking changes / rollout** (or "None").
4. Review checklist: 3-7 items specific to THIS diff (the risky hunks, the
   contract edges, the migration), not generic boilerplate.
5. Respect the project's PR template when the repo has one
   (`.github/PULL_REQUEST_TEMPLATE.md` wins over this structure).

Never include Claude/AI attribution lines. Never invent test results.

# How to use

## What it does

Generates a PR title, a structured description grounded in the branch's real commits and diff, and a diff-specific review checklist — following the repo's own PR template when one exists.

## When to use it

After a branch is ready to push: the work is done, checks ran, and the PR needs a description a reviewer can trust.

## How to invoke

Load the skill and name the branch and base, e.g. "generate the PR for feature/bulk-edit against main" — or let an orchestrator load it at delivery time.

## Worked example

For a 4-commit branch touching an API route and a migration, it produces: title `feat(orders): bulk line-item editing`, a What/Why/How description citing the expand-migrate design, Testing listing the actual `npm test` output, and a checklist item "verify migration backfill on a copy of staging data — new NOT NULL column".

Versions

The database has no other skills named pr-generator.

Database snapshot: 13.11.2026 · package version 8cbc34d973c8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100pr
    Use when drafting a pull request description from the current branch's diff, optionally creating the PR with gh.
  • 100pr
    Use when drafting a pull request description from the current branch's diff, optionally creating the PR with gh.
  • 100pr-describe
    Write a pull request title and description from the actual diff and commits, including a risk line and how to test. Use when the user asks to write, draft, fill in or improve a PR description, open a PR, or summarise a branch for reviewers.
  • 100pr-describe
    Generate a structured PR description from the current branch's changes. Use when the user says "generate PR description", "describe PR", "PR summary", "pr-describe", "describe my changes", or "write PR description".
  • 100pr-description
    Use when writing a pull request title or body, when about to run gh pr create, when about to git push on a branch that already has an open PR, or when the user says /pr-description, "write the PR description", or "update the PR title". Don't use for commit messages, changelogs, or review comments.
  • 100pr-description
    Use when the user asks to open a pull request, write a PR description, or summarise a branch for review. Builds the description from the full branch diff against the base and from commit messages, and includes a test plan with real commands.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.