tsz-ci-pr

star 443

Drive TSZ GitHub PRs through review, CI, and the merge queue. Use when checking PR status, debugging failing GitHub Actions, deciding whether a PR is WIP, marking draft PRs ready, enqueueing or verifying the queue, landing a PR, or interpreting TSZ CI gates.

mohsen1 By mohsen1 schedule Updated 6/2/2026

name: tsz-ci-pr description: Drive TSZ GitHub PRs through review, CI, and the merge queue. Use when checking PR status, debugging failing GitHub Actions, deciding whether a PR is WIP, marking draft PRs ready, enqueueing or verifying the queue, landing a PR, or interpreting TSZ CI gates.

TSZ CI And PR

Use for PR checks, CI triage, ready state, queue evidence, and landing. Use tsz-pr-coordination for PR body/label contract.

Rules

  • Use gh; sign substantive comments with a provenance line (e.g. Machine: studio or Provenance: studio / claude-code / claude-opus-4-8 / high).
  • The PR author lands their own PR; never idle-wait on CI between pushes.
  • Never merge draft/WIP PRs (draft, WIP, [WIP], or body/branch says WIP).
  • Ready PRs run heavy CI. Draft PRs intentionally run light CI.
  • Ready PRs land through GitHub's native merge queue.
  • If asked to land, verify state: MERGED; an armed queue request alone is not enough.

Inspect

gh pr view <pr> --json state,isDraft,mergeStateStatus,mergeable,autoMergeRequest,mergedAt,labels,title,url,headRefName,headRefOid
gh pr checks <pr> --json name,state,bucket,link,completedAt
gh run view <run-id> --log-failed
gh run view <run-id> --job <job-id> --log

Use gh pr checks <pr> --watch --interval 20 only when the result is needed now.

Landing

  1. Confirm not WIP and head SHA matches inspected checks.
  2. Fix failures in-PR; comment with root cause and verification.
  3. Mark ready only after implementation and verification: gh pr ready <pr>.
  4. Queue with GitHub's native merge queue only when exact-head PR-head checks such as CI Summary pass and policy permits: gh pr merge <pr> --match-head-commit <sha>. Do not pass --auto; with branch protection and passing checks, current gh adds the PR to the native merge queue directly.
  5. Inspect merge_group CI runs if queue validation stalls.
  6. Verify final merge: gh pr view <pr> --json state,mergedAt,mergedBy,url.

Failure Hints

  • CI Summary: umbrella PR-head status.
  • merge_group CI: native queued-merge summary validation.
  • conformance-aggregate: accepted-regression drift can fail aggregate even when shards pass.
  • unit-cloudbuild: often exposes memory, linking, or architecture guard failures.
  • Docs-only and bench-shell-only paths short-circuit most jobs.

Comment shape: provenance line, root cause, files changed, verification/CI URL, remaining risk.

Install via CLI
npx skills add https://github.com/mohsen1/tsz --skill tsz-ci-pr
Repository Details
star Stars 443
call_split Forks 8
navigation Branch main
article Path SKILL.md
More from Creator