askill
submit

submitSafety 60Repository

Sync branches and create/update PRs via Graphite. Triggers: /submit, "submit PR", "push branch", "create PR".

5 stars
1.2k downloads
Updated 2/17/2026

Package Files

Loading files...
SKILL.md

Submit

Sync branches and create/update PRs via Graphite.

Arguments

  • --stack — submit entire stack, not just current branch
  • --sync-only — restack only, skip PR creation
  • --ready — mark PR as ready (not draft)

Steps

  1. Verify clean working tree

    • Run git status --porcelain
    • If output is non-empty → warn user about uncommitted changes and stop
  2. Restack branches

    • Run gt restack --only
    • If exit code is non-zero → show error and stop
  3. Check for sync-only mode

    • If $ARGUMENTS contains --sync-only → stop here (restack complete)
  4. Build submit command

    • Base: gt submit
    • If $ARGUMENTS contains --stack → add --stack
    • If $ARGUMENTS contains --ready → add --no-draft
    • Default: creates draft PR (no additional flags)
  5. Execute submit

    • Run the constructed command
    • Capture and display output
  6. Show PR URLs

    • Extract and display PR URLs prominently from output

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

70/100Analyzed 2/22/2026

Solid skill for submitting PRs via Graphite with clear step-by-step instructions and argument handling. Missing prerequisites, usage examples, and a 'when to use' trigger section. Located in proper skills folder with good structure and tags. Safety could be improved with confirmation prompts."

60
80
60
60
75

Metadata

Licenseunknown
Version-
Updated2/17/2026
Publisherjfmyers9

Tags

ci-cd