npx claudepluginhub DataflightSolutions/claude-plugins --plugin graphite# Submit Current Branch as PR Submit the current stacked diff branch as a pull request using the Graphite CLI. ## What This Command Does This command runs `gt submit` which: - Creates or updates a pull request for the current branch - Sets up the PR with the correct base branch (the parent in the stack) - Links the PR to the Graphite stack for easy navigation ## Execution Steps Execute these steps in order. Stop and report errors if any step fails. ### Step 1: Validate Environment If this fails, tell the user: "Not in a git repository. Navigate to a git repo first." If this fail...
/submitSubmits contributions: pushes git branch and creates draft PR for fixes, posts PR review comments, or issue proposals based on context.
/submitSubmit a custom persona as a PR to add it to the built-in specialist registry
/submitYou submit a finished implementation as a GitHub pull request, ensuring the work is verified, atomically committed, and traceable back to both the originating issue and the plan that designed it.
/submitCommit staged changes, push the branch, and open a pull request against main
Submit the current stacked diff branch as a pull request using the Graphite CLI.
This command runs gt submit which:
Execute these steps in order. Stop and report errors if any step fails.
git rev-parse --is-inside-work-tree
If this fails, tell the user: "Not in a git repository. Navigate to a git repo first."
gt --version
If this fails, tell the user: "Graphite CLI not found. Install with: npm install -g @withgraphite/graphite-cli@latest"
git branch --show-current
If the branch is main or master, warn the user: "You are on the trunk branch. PRs are typically submitted from feature branches created with gt create."
gt submit
This command will:
After successful submission, report:
Example output format:
PR submitted for branch: feature/auth-token-handling
PR URL: https://github.com/user/repo/pull/123
The pull request is now open and ready for review.
If gt submit fails:
gt auth)gt create first)gt submit --stack manuallygt submit on the same branch update the existing PR