Agent skill

Stack Pull Requests

by citypaul in citypaul/.dotfiles

Decide whether planned vertical implementation work should ship as independent pull requests or as a stack of small ordered pull requests, then plan, build, review, update, and merge the stack safely.

Custom licenceAuto-check passedDevelopment

Install Stack Pull Requests

skills CLI
$ npx skills add citypaul/.dotfiles --skill stack-pull-requests -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install citypaul/.dotfiles stack-pull-requests --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/claude/.claude/skills/stack-pull-requests .claude/skills/stack-pull-requests && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
stack-pull-requests
GitHub stars
739
Token cost
~6.2k tokens
SKILL.md length
3,141 words
Files
3 (incl. references)
Skills in repo
44
Repo updated
First seen
Licence
Custom licence

At a glance

Decide whether planned vertical implementation work should ship as independent pull requests or as a stack of small ordered pull requests, then plan, build, review, update, and merge the stack safely.

  • Works in 5 steps: Fix The Story And Stack Scope → Draw The Lineage Graph → Route Verification By Boundary Type → …
  • One slice is too large for effective review
  • SKILL.md covers Keep The Three Units Separate, Decide: Independent PRs Or A…, Design The Stack Before… and Write The Delivery Plan, plus 4 more sections
  • Calls gh

What it does

Stack Pull Requests is an agent skill from citypaul/.dotfiles. Decide whether planned vertical implementation work should ship as independent pull requests or as a stack of small ordered pull requests, then plan, build, review, update, and merge the stack safely. Use when one slice is too large for effective review, when later slices should proceed on the same evolving baseline before earlier pull requests merge, when AI-generated code volume needs deliberate review boundaries, when a plan already defines dependent pull request boundaries or non-trunk bases, or when the user…

Its SKILL.md is about 6.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/source-notes.md`).

It sits in Development, covering Pull requests and User stories.

When your agent uses it

  • One slice is too large for effective review
  • Later slices should proceed on the same evolving baseline before earlier pull requests merge
  • AI-generated code volume needs deliberate review boundaries
  • A plan already defines dependent pull request boundaries

Example prompts

  • “/stack-pull-requests”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Fix The Story And Stack Scope
  2. Draw The Lineage Graph
  3. Route Verification By Boundary Type
  4. Verify CI Topology Before Stacking
  5. Make Intermediate States Safe

What it can do on your machine

Read from SKILL.md and the folder at commit cd4028d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Stack Pull Requests loads about 6.2k tokens when it runs, and up to ~8k if it reads all its reference files. Until then it costs about 191 tokens; SKILL.md has 3,141 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~191
When it runs · the whole SKILL.md, loaded when a task matches
~6.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 3,141 words (~6,191 tokens).

“Use stacked pull requests as an optional branch, review, and integration topology, not as a substitute for vertical story splitting.”

— opening of SKILL.md by citypaul, Custom licence
name
stack-pull-requests

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in claude/.claude/skills/stack-pull-requests of citypaul/.dotfiles.

  • SKILL.md
  • agents/openai.yaml
  • references/source-notes.md

Open the folder on GitHubat commit cd4028d

Compare with similar skills

Stack Pull Requests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Stack Pull Requests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Stack Pull Requests this skillcitypaul/.dotfiles739—~6.2kAutomated safety check: PassCustom licence
Aidd Reviewparalleldrive/aidd384—~945Automated safety check: PassMIT
QAwp-media/wp-rocket767—~552Automated safety check: PassGPL-2.0
Acceptance Criteria Checkshopsys/shopsys350—~1kAutomated safety check: PassCustom licence
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0

Similar skills

  • Aidd Review

    paralleldrive/aidd

    Conduct a thorough code review focusing on code quality, best practices, security, test coverage, and adherence to project standards and functional requirements.

    384 GitHub stars~945 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • QA

    wp-media/wp-rocket

    Run QA validation on a pull request — boots the local environment, tests acceptance criteria, and optionally posts the report as a PR comment.

    767 GitHub stars~552 tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Checks a pull request against the acceptance criteria of its Jira issue by driving the deployed review environment with Playwright.

    350 GitHub stars~1k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed

More from citypaul/.dotfiles

All 44 skills in this repo
  • Find Skills

    citypaul/.dotfiles

    Discover and, with authorization, install agent skills from the open skills ecosystem.

    739 GitHub stars~2.5k tokensUpdated 5 days ago
    Auto-check passed
  • Render Code Shape

    citypaul/.dotfiles

    Render the shape of code — module boundaries, the types that cross them, signatures, and a cited call graph — for code that already exists or a change about to be built.

    739 GitHub stars~2.5k tokensUpdated 5 days ago
    Auto-check passed
  • Structure Codebase

    citypaul/.dotfiles

    Design, audit, and evolve physical source and package structures that expose real architectural boundaries while keeping related behavior together.

    739 GitHub stars~4.4k tokensUpdated 5 days ago
    Auto-check passed
  • Test Design Reviewer

    citypaul/.dotfiles

    Review test quality using Dave Farley's eight properties of good tests.

    739 GitHub stars~1k tokensUpdated 5 days ago
    Auto-check passed
  • Characterisation Tests

    citypaul/.dotfiles

    A skill your agent uses when modifying existing code that lacks tests and you need to document its actual current behavior before making changes -- the legacy code dilemma where you need tests to…

    739 GitHub stars~3.6k tokensUpdated 5 days ago
    Auto-check passed
  • CI Debugging

    citypaul/.dotfiles

    Systematic CI/CD failure diagnosis using hypothesis-first investigation, local reproduction, and environment delta analysis.

    739 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check: notes

Categories

Questions about Stack Pull Requests

What does Stack Pull Requests do?

Decide whether planned vertical implementation work should ship as independent pull requests or as a stack of small ordered pull requests, then plan, build, review, update, and merge the stack safely. dotfiles. Decide whether planned vertical implementation work should ship as independent pull requests or as a stack of small ordered pull requests, then plan, build, review, update, and merge the stack safely.

When should I use Stack Pull Requests?

Stack Pull Requests fits situations like: one slice is too large for effective review; later slices should proceed on the same evolving baseline before earlier pull requests merge; AI-generated code volume needs deliberate review boundaries; A plan already defines dependent pull request boundaries.

How do I install Stack Pull Requests in Claude Code?

Run `npx skills add citypaul/.dotfiles --skill stack-pull-requests -a claude-code`. Or copy the skill folder (claude/.claude/skills/stack-pull-requests in citypaul/.dotfiles) into .claude/skills/stack-pull-requests in your project. Claude Code loads it when a task matches its description.

How do I install Stack Pull Requests in Codex?

Run `npx skills add citypaul/.dotfiles --skill stack-pull-requests -a codex`. Or copy the skill folder (claude/.claude/skills/stack-pull-requests in citypaul/.dotfiles) into .agents/skills/stack-pull-requests in your project. Codex loads it when a task matches its description.

Can I use Stack Pull Requests in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add citypaul/.dotfiles --skill stack-pull-requests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stack-pull-requests, .gemini/skills/stack-pull-requests, .github/skills/stack-pull-requests and .opencode/skills/stack-pull-requests in your project.

What does Stack Pull Requests need to run?

Going by SKILL.md and its folder, Stack Pull Requests needs the command-line tools its instructions call (gh).

Does Stack Pull Requests access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Stack Pull Requests safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Stack Pull Requests use?

Stack Pull Requests has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Stack Pull Requests use?

About 6.2k tokens (SKILL.md is roughly 25k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Stack Pull Requests?

Skills that share tags, products or a category with Stack Pull Requests: Aidd Review (paralleldrive/aidd, 384 stars), QA (wp-media/wp-rocket, 767 stars), Acceptance Criteria Check (shopsys/shopsys, 350 stars) and Finishing a Development Branch (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stack Pull Requests?

citypaul (a GitHub user) maintains it in citypaul/.dotfiles, which has 739 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 2, 2026.

Source: citypaul/.dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.