auto-pr

AI-powered pull requests from conventional commits

Point auto-pr at your ai/** branches and get a well-structured PR with title, description, and filled template — generated on demand or on a schedule.

Get Started View on GitHub

Why auto-pr?

Zero Config

Convention over configuration. Works with any GitHub project regardless of tech stack.

AI Descriptions

Multi-commit PRs get AI-generated summaries using GitHub Models or local LLMs.

Template Aware

Automatically fills your PR template placeholders from commit metadata.

Secure by Design

Two-phase workflow separates unprivileged generation from trusted PR creation.

Get started in minutes

Add to your repo with a single command

# Initialize auto-pr in your repo
npx -p github:knirski/auto-pr auto-pr-init

Then trigger auto-pr for your branch and watch the magic happen

git checkout -b ai/my-feature
git commit -m "feat: add new feature"
git push -u origin HEAD
gh workflow run auto-pr.yml -f branch=ai/my-feature
➔ PR created for you