name: ready-pr description: Run readiness checks, fix issues, and create a PR disable-model-invocation: true
Ready PR
Run bun ready to validate the project, fix any issues, and create a pull request.
Steps
- Run
bun ready - If it fails:
- Read the error output to identify what failed (format, typecheck, lint, or tests)
- Fix the issues
- Run
bun readyagain - Repeat until it passes (max 3 attempts, then stop and report)
- Stage and commit any files changed during fixes (use Conventional Commits)
- Analyze all commits on the current branch vs
masterusinggit log master..HEADandgit diff master...HEAD - Draft a PR title (under 70 chars) and body with a Summary section and Test plan
- Push the branch and create the PR:
git push -u origin HEAD gh pr create --base master --title "<title>" --body "<body>" - Return the PR URL