aipr
v1.1.0
Published
Make your PRs with AI
Maintainers
Readme
aipr
Make your draft PRs with AI.
Install
pnpm install -g aiprLocal Development
Build and run the CLI without publishing:
pnpm run build
node dist/src/index.js --base-branch mainLink it globally to use the aipr command locally:
pnpm link --global
aipr --base-branch mainGitHub Actions Publishing
Publishing is handled from GitHub Actions.
Create a repository secret named NPM_TOKEN in GitHub:
- GitHub repo:
thatbeautifuldream/aipr - Secret name:
NPM_TOKEN - Value: an npm token with permission to publish
aipr
Then run the Publish workflow from the GitHub Actions tab and provide:
channel=latestwith aversionlike1.1.1channel=nextwith a prereleaseversionlike1.1.1-beta.0
The workflow will validate the version, update package.json, build, test, commit the release, tag it, publish to npm, and push the branch and tag back to GitHub.
Published npm versions are not rolled backward or reused.
Usage
aipr --base-branch mainCreate a GitHub draft PR for the current branch against the specified base branch.
Explicit source and target branches:
aipr create --base-branch main --head-branch feature/multi-harnessChoose a harness:
aipr --base-branch main --harness codexDry run:
aipr --base-branch main --dry-runSupported Harnesses
- Claude Code
- Codex CLI
- Gemini CLI
Requirements
- Git repository with commits ahead of the base branch
- GitHub CLI
ghinstalled and authenticated - One supported harness installed and authenticated
Commands
aipr harness list
aipr doctor