# Master Graphite CLI Stacked Pull Request Workflows

Stacked pull requests are difficult to create, reorder, synchronize, and submit with confidence. This skill provides Graphite CLI guidance from setup through collaboration.

## Install

```bash
npx skillstore add calel33/graphite-cli
```

## Metadata

- Status: approved
- Slug: calel33-graphite-cli
- Skillstore revision: r2
- Version status: missing
- Tree hash: 9d413f5f06de314ded25221dc106e091b03e2bc23c5c26d01427a83419055b89
- Author: Calel33
- GitHub username: Calel33
- License: Complete terms in LICENSE.txt
- Repository: https://github.com/Calel33/my-flash-ui-app--1-/tree/main/skills/graphite-cli
- Ref: a39a91716eadede5f4cdefd78178fed4e837a128
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands
- Quality score: 75
- Public page: https://skillstore.pages.dev/skills/calel33-graphite-cli
- Manifest: https://skillstore.pages.dev/api/skills/calel33-graphite-cli/manifest

## Capabilities

- Explains Graphite authentication, repository initialization, and trunk selection.
- Guides branch creation, commit updates, draft submission, and full-stack submission.
- Maps common Graphite commands to aliases and expected effects.
- Covers stack visualization, branch navigation, synchronization, and conflict continuation.
- Explains stack restructuring with move, fold, split, insert, and absorb operations.
- Describes shared-stack workflows, branch tracking, freezing, merging, and cleanup.

## Use Cases

- Create a first stacked pull request: Learn the setup, branch creation, and submission sequence for a small dependent change.
- Update a stack after review: Apply feedback, amend the correct branch, restack dependent work, and resubmit pull requests.
- Restructure a complex branch stack: Choose commands for moving, folding, splitting, inserting, or absorbing changes across dependent branches.

## Prompt Templates

### Initialize Graphite

```
Explain how to authenticate Graphite and initialize my Git repository with main as the trunk branch.
```

### Create and submit a stack

```
Plan Graphite commands for three dependent changes, with each pull request submitted as a draft.
```

### Handle review changes

```
Show the workflow for updating the middle branch of my stack, resolving conflicts, and resubmitting every affected pull request.
```

### Redesign a stack

```
Compare move, fold, split, insert, and absorb for reorganizing my stack, then recommend a sequence based on my branch relationships.
```

## Limitations

- Provides documentation and guidance but does not install Graphite or execute commands.
- Cannot inspect repository state, verify branch relationships, or resolve merge conflicts automatically.
- Some commands amend, rebase, delete, or force-push branches and require careful review.
- Bundled command details may differ from the latest Graphite CLI release.

## Best Practices

- Inspect the current branch and stack structure before running history-changing commands.
- Keep each branch focused on one reviewable change and submit dependent branches in order.
- Synchronize with trunk regularly and resolve conflicts before modifying stack structure.

## Anti Patterns

- Do not force-push or fold branches without confirming the affected remote work.
- Do not run broad staging commands when unrelated working-tree changes are present.
- Do not reorder dependencies without first reviewing the complete branch stack.

## Security Audit

- Audited at: 2026-07-23T12:27:55.2\+00:00
- Summary: All 43 external-command findings are false positives caused by Markdown backticks around documented Graphite and Git terms; the skill contains no executable script. The network-reconnaissance finding is false because the cited line documents submitting branches to GitHub. No prompt injection, credential collection, data exfiltration, or malicious intent was found.

## Stats

- Views: 506
- Downloads: 9
- Favorites: 0
- Popularity score: 0
