skills$openclaw/pr-writer
lxgicstudios6.5k

by lxgicstudios

pr-writer – OpenClaw Skill

pr-writer is an OpenClaw Skills integration for coding workflows. Generate PR titles and descriptions from your branch diff. Use when you need to write pull request descriptions quickly.

6.5k stars1.8k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namepr-writer
descriptionGenerate PR titles and descriptions from your branch diff. Use when you need to write pull request descriptions quickly. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/pr-writer
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/pr-writer
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains pr-writer in the OpenClaw Skills directory.

View GitHub profile
File Explorer
3 files
.
_meta.json
276 B
README.md
339 B
SKILL.md
2.7 KB
SKILL.md

name: pr-writer description: Generate PR titles and descriptions from your branch diff. Use when you need to write pull request descriptions quickly.

PR Writer

Writing PR descriptions is one of those things nobody wants to do but everybody benefits from. You finish a feature branch, you know exactly what changed, but translating that into a clear PR title and description feels like busywork. This tool reads your git diff and writes the whole thing for you.

One command. Zero config. Just works.

Quick Start

npx ai-pr-desc

What It Does

  • Reads the diff between your current branch and the base branch (defaults to main)
  • Generates a clear, descriptive PR title that actually summarizes the change
  • Writes a full PR description covering what changed and why
  • Supports custom base branches with the --base flag
  • Works in any git repo without any setup

Usage Examples

# Generate PR description against main branch
npx ai-pr-desc

# Generate against a different base branch
npx ai-pr-desc --base develop

# Generate against a release branch
npx ai-pr-desc --base release/v2.0

Best Practices

  • Commit before running - The tool diffs committed changes, so make sure your work is committed first
  • Keep branches focused - Smaller, focused branches produce better descriptions than massive multi-feature branches
  • Review the output - AI gets you 90% there. Spend 30 seconds tweaking the result for your team's style
  • Use with CI - Pipe the output into your GitHub CLI or API calls to automate PR creation entirely

When to Use This

  • You just finished a feature and need to open a PR fast
  • You are working on multiple PRs and don't want to write descriptions for each one
  • Your team requires detailed PR descriptions but you'd rather ship code
  • You want consistent, well-structured PR descriptions across your team

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended.

npx ai-pr-desc --help

How It Works

The tool uses simple-git to grab the diff between your current branch and the base branch. It sends that diff to OpenAI, which analyzes the changes and generates a title and description that actually reflects what you built. The output prints straight to your terminal so you can copy it into your PR.

License

MIT. Free forever. Use it however you want.

README.md

PR Writer

Generate PR titles and descriptions from your branch diff. One command, no setup.

Quick Start

npx ai-pr-desc

Options

  • --base <branch> - Base branch to diff against (default: main)

Links

MIT License

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. ```bash npx ai-pr-desc --help ```

FAQ

How do I install pr-writer?

Run openclaw add @lxgicstudios/pr-writer in your terminal. This installs pr-writer into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/pr-writer. Review commits and README documentation before installing.