auto-pr

AI-powered pull requests from conventional commits

Push to an ai/** branch, get a well-structured PR with title, description, and filled template — automatically.

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 push to an ai/** branch and watch the magic happen

git checkout -b ai/my-feature
git commit -m "feat: add new feature"
git push -u origin HEAD
➔ PR created automatically