cyberneticlibrary

Create and update GitHub PRs

gwt-prcommandsetup L27
akiojin/llmlb
What it does

Draft or update GitHub PRs with gh CLI

Best for

Automating PR creation workflow with conflict-aware branch syncing and merge validation.

Inputs
  • · optional context
  • · branch state
Outputs
  • · PR draft or edit confirmation
Requires
  • · gh CLI
  • · git
Preconditions
  • · gh auth status succeeds
  • · git working tree
  • · branch synced with base
Failure modes
  • · gh auth fails
  • · merge conflicts during sync
  • · rate limit exceeded
Trust signals
  • · Handles rate limits with REST endpoint fallback
  • · Validates merge commit ancestry
  • · Branch sync preflight