Skills

Kirocrew Prepare PR

LOAD THIS FOR EVERY KIRO CREW PR you open or update (Kiro Crew repo only; not other...

Install

npx skills add kirodotdev/KiroCrew --skill kirocrew-prepare-pr -g -a claude-code -y
Repository
kirodotdev/KiroCrew4.7k
Category
Git and review
Updated
3d ago
License
Apache-2.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

LOAD THIS FOR EVERY KIRO CREW PR you open or update (Kiro Crew repo only; not other repos or CRs). Runs the whole loop, issue + tier, commit, sync, squash, push, drive CI and AI review to green, fix a red main, arm auto-merge and watch it land (24h). 'push my changes' = prepare-only.

Prepare PR

Drive the working tree to a merged PR: open it review-ready, then keep driving until CI and the review bots are satisfied and GitHub lands it. Opening the PR is the midpoint, not the end. Every Kiro Crew author, maintainer or outside contributor, runs this same loop, so it also states the repository's rules. It is for the Kiro Crew repository only: in any other repository, ignore it.

This file carries only what the loop executes: which script to run and what its exit code means. A script's flags live in its usage text, each CI lane's rules in references/ci.md, and the reasons in references/rationale.md (read it before deviating).

Mode, decide once, at the start

Signal in the requestMode
Anything else, including ambiguity and a PR you opened incidentallyFull loop (default): ends by arming auto-merge and watching until it merges
An explicit stop: "update the PR", "push my changes", "sync my branch", "just update the body/description", "don't wait for CI"Prepare-only
An explicit hold: "don't merge", "leave the merge to me", "review only"Full loop without auto-merge

Precedence: a stop signal wins only when it is the whole ask, "push this and make it green" is the full loop. A hold turns off Phase 4's auto-merge, nothing else.

  • Full loop, Phase 0 once, then Phase 1 → 2 → 3 until review-ready, then Phase 4.
  • Prepare-only, Phase 0 once, then ONE pass of Phase 1 → 2 → push → a single pr_status.py snapshot → report → STOP. The Phase 2 gate still runs; a push always goes out locally-green. No server poll, no auto-merge.
  • Say in one line which mode you picked, so the user can redirect.

Never gh pr merge without --auto, and never bypass a required review or check. Auto-merge hands the merge to GitHub, which lands it only once the repo's own required reviews and checks pass.

Kiro Crew CI at a glance

Read the whole SKILL.md on GitHub

More in Git and review