AGENT SKILL

pr-writer

Generate PR titles and descriptions from your branch diff. Use when you need to write pull request descriptions quickly.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

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

02 资源文件 2

03 SKILL.md 正文

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.

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

内容创作者
★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

Skill与智能体开发
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

律师与法务Skill与智能体开发
★ 1