gt

Manage Git commit stacks with branch navigation, restacking, and PR submission.

1|1|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/luan/agents --skill gt-luan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gt
Source: https://github.com/luan/agents/tree/main/plugins/gt/skills/gt
Command: npx skills add https://github.com/luan/agents --skill gt-luan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates error-prone, low-level Git and PR-tedious workflows by guiding you to push, rebase, branch, and submit changes as a coherent commit stack.

Core Features & Use Cases

  • Graphite stack operations: Create new stack branches, navigate up/down, and jump to top/bottom while preserving parent/child relationships.
  • Safe synchronization & restacking: Restack on updated parents and sync with trunk without using raw push/rebase/checkout commands.
  • Stack-aware PR submission: Push an entire stack and create or update PRs, enabling “ship it” workflows and multi-PR splitting without manual gh/bare git steps.

Use case: You have a multi-step feature that should land as several small PRs; use the stack workflow to keep dependencies ordered and submit everything in the right sequence.

Quick Start

Tell the skill to create a new branch named my-feature, then help me commit and submit the stack as PR(s).

Frequently Asked Questions about gt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage a git commit stack and submit multiple PRs in sequence?

To manage a git commit stack and submit multiple PRs in sequence, you create parent-child branches, sync them onto trunk updates, and push the entire stack to create or update PRs without manual git or gh command juggling.

How do I rebase a branch stack onto an updated trunk without breaking dependencies?

Rebasing a branch stack onto an updated trunk requires restacking each child branch onto its updated parent. This skill performs safe synchronization to preserve parent-child relationships and keep stacked PR dependencies ordered.

What is the best way to split a large feature into small PRs while keeping dependencies ordered?

Splitting a large feature into small PRs while keeping dependencies ordered is done by stacking branches, inserting commits mid-stack, and submitting the resulting changes as multiple sequential PRs through an automated workflow.

Can I insert a new branch in the middle of an existing git branch stack?

Yes, you can insert a new branch in the middle of an existing git branch stack. The skill navigates parent-child relationships and restacks subsequent branches to maintain the correct dependency chain for your PRs.

Why should I avoid direct git push and rebase commands when working with branch stacks?

You should avoid direct git push, rebase, and checkout commands because they break stack-safe operations. The skill enforces branch-name driven stack creation and safe synchronization to prevent error-prone manual git juggling.

Do I need the GitHub CLI to submit stacked pull requests?

You do not need to manually use the GitHub CLI to submit stacked pull requests. The skill handles stack-aware PR submission by pushing an entire stack and creating or updating PRs automatically without manual gh steps.