docs/gh-cli-workflow.md
Use this checklist whenever you create or land a slice. It keeps gh commands predictable and avoids redo steps.
git checkout main && git fetch origin && git reset --hard origin/maingit checkout -b <feature|bugfix>/<description>git commit -am "scope: summary"bin/test-coveragebin/check-diff-coveragebin/update-coverage-baseline and commit the updated config/coverage_baseline.json.git push -u origin <branch>gh pr create --base main --head <branch> --title "scope: summary" --body "## Summary\n..." --draftgh pr view --json url,isDraft (confirm association & draft status)git pushgh pr status shows open PRs for the current branch.gh pr view <number> --json isDraftgh pr ready <number>.gh pr ready <number> --reviewer user1,user2gh pr checks <number>gh pr merge <number> --squash --delete-branch --auto
--auto queues the merge once requirements are satisfied. Drop --auto only if you intend to merge immediately and have maintainer privileges.git checkout maingit pull --ff-only origin maingit branch -d <branch>git remote prune origingh pr status – current branch PR stategh pr view <number> --json url,state,isDraft – PR summarygh pr checks <number> – CI stategh pr list --author @me – open PRs authored by youKeep this document in docs/gh-cli-workflow.md and update it as our process evolves.