Skip to content
Back to skills

Update Graphite Stack

ASecurity

Update Graphite PR stacks by addressing review comments and syncing PRs. Use when user says "update my graphite stack", "address the review comments on my stack", "sync my PR stack after these changes", "submit my entire stack to Graphite", or "I need to update all the PRs in my stack".

  • 42 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
toolsbashgitperformance

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add Uniswap/ai-toolkit --skill update-graphite-stack --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Update Graphite Stack?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Update Graphite Stack
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/uniswap-update-graphite-stack/badge)](https://www.skillsdirectory.com/skills/uniswap-update-graphite-stack)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Update Graphite PR stacks by addressing review comments and syncing PRs. Use when user says "update my graphite stack", "address the review comments on my stack", "sync my PR stack after these changes", "submit my entire stack to Graphite", or "I need to update all the PRs in my stack".
allowed-tools: Bash(gt:*), Bash(gh:*), Bash(git:*), Read, Write, Edit, Task(subagent_type:review-executor)
model: opus
---

# Graphite Stack Updater

Automate Graphite PR stack updates by resolving comments and syncing PRs.

> **Note:** This skill requires Graphite CLI (`gt`) as PR stacking is a Graphite-specific concept. For standard Git workflows, use the `pr-issue-resolver` skill to address PR comments on individual PRs.

## When to Activate

- User has a Graphite stack with comments
- Multiple PRs need updating
- Stack sync needed after changes
- Review comments to address
- User mentions "gt stack" or "update stack"

## Prerequisites

- **Graphite CLI** installed: `npm install -g @withgraphite/graphite-cli@latest`
- **Repository initialized** with Graphite: `gt repo init`
- **Existing Graphite stack** with PRs to update

> **Why Graphite-only?** This skill manages PR stacks, which is a Graphite-specific workflow. For standard Git workflows, use `pr-issue-resolver` to address comments on individual PRs.

## What It Does

1. **Analyze Stack**: Check structure with `gt stack`
2. **Find Comments**: Identify PRs with unresolved feedback
3. **Address Feedback**: Help resolve comments
4. **Update Stack**: Use Graphite commands to sync
5. **Verify**: Ensure all upstack PRs remain in sync

## Execution Flow

For each PR with comments (bottom to top):

1. Review the feedback
2. Make necessary changes
3. Run `gt modify --no-verify` to amend
4. Execute `gt submit --stack --update-only` to sync upstack
5. Continue until all PRs updated

## Key Graphite Commands Used

```bash
gt stack           # View current stack
gt modify          # Amend current commit
gt submit --stack  # Update all PRs in stack
```

## Options

- Process entire stack or specific PR range
- Filter by comment type (style, logic, performance)
- Dry-run mode to preview changes
- Auto-commit vs manual review mode

## Output

Progress summary with:

- Number of PRs updated
- Comments resolved per PR
- Remaining unresolved items
- Stack synchronization status

## Optional Follow-up

After updates, can invoke **refactorer** to verify changes maintain quality.

## Examples

```
"Update my graphite stack"
"Address the review comments on my stack"
"Sync the stack starting from PR #123"
```

Files in this skill

  • SKILL.md24 B
  • update-graphite-stack.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…