← ClaudeAtlas

kookr-pr-lifecyclelisted

Full PR lifecycle — creation, checklist tracking, CI monitoring, review resolution, body updates, and post-merge cleanup. Use together with post-push to finish PR follow-through.
kookr-ai/kookr · ★ 2 · Code & Development · score 78
Install: claude install-skill kookr-ai/kookr
# PR Lifecycle End-to-end workflow for managing a pull request from creation through merge. Consolidates all known patterns and workarounds. ## 1. Pre-Creation Checks Before creating a PR, run these checks (see also [[pre-pr-review]] and [[kookr-pre-push]]): ```bash pnpm build:server # must be clean pnpm check:e2e # must be clean pnpm test # must be green git diff --stat # review — no accidental files, no secrets ``` ## 2. Create the PR Target `staging` for feature/fix PRs. Target `main` only for hotfixes or docs-only changes. ```bash gh pr create --base staging --title "feat: short description" --body "$(cat <<'EOF' ## Summary - What was done ## Test plan - [ ] `pnpm test` passes - [ ] `pnpm build:server` clean - [ ] `pnpm check:e2e` clean - [ ] Manual verification (describe what to check) Closes #N 🤖 Generated with [Claude Code](https://claude.com/claude-code) EOF )" ``` ## 3. Checklist Management **Check off items immediately after completing them.** Do not wait to be asked. After each validation step (tests pass, typecheck clean, manual verification done), update the PR body right away: ```bash # IMPORTANT: gh pr edit is BROKEN (Projects Classic deprecation error). # Always use the REST API: gh api repos/{owner}/{repo}/pulls/{number} -X PATCH -f body="updated body with [x] items" ``` For title changes: ```bash gh api repos/{owner}/{repo}/pulls/{number} -X PATCH -f title="new title" ``` ## 4. Post-Creation Verification After `gh pr create`, sc