Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

pr-stacks

/pr-stacks

Wysyła i śledzi zależne, ułożone w stos pull requesty.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

96/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność21 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Wysyła i śledzi zależne, ułożone w stos pull requesty.

Oryginalny opis (EN)

Use to submit and track dependent stacked pull requests.

Jak działa

  1. Provisioning — Nix, never gh extension install
  2. Pre-GitHub workflow
  3. Rules that matter
  4. Related Skills
Sekcje z nagłówków SKILL.md, w oryginale · 70 linii, 463 słów
Podgląd SKILL.md
---
name: pr-stacks
description: Use to submit and track dependent stacked pull requests.
---

# PR Stacks

**Stacked pull requests** break one large change into an ordered chain of small,
dependent PRs that are reviewed and merged independently — so you can keep
building instead of waiting for each layer to merge.

```text
feat/frontend        → PR #3   (base: feat/api)
feat/api             → PR #2   (base: feat/auth)
feat/auth            → PR #1   (base: main)     ← bottom
main / develop                                  ← trunk
```

For branch creation, PR targets, and PR-branch sync, follow the
[Git Town rule](https://github.com/dryvist/ai-llm-prompts/blob/main/auto-ai-agent/instructions/agentsmd/rules/on-demand/git-flow.md).
For Git-flow promotion, use `/promote-release`.

> [!IMPORTANT]
> All branches must live in the same repository — cross-fork stacks are not
> supported. The feature is in public preview, so a repository must opt in.

## Provisioning — Nix, never `gh extension install`

`gh` and the `gh stack` extension are provisioned by the Nix configuration
(`nix-home` provides the source-built extension via `programs.gh.extensions`;
`nix-ai` carries the upstream agent skill). **Never** run
`gh extension install github/gh-stack` — ad-hoc tool installs are banned (see
`nix-tool-policy`). If `gh stack` is missing, the fix is a change in the Nix
repository, not an install command here.

## Pre-GitHub workflow

Build **bottom-up**: foundational changes (types, schema, shared helpers) in the
lowest layer; consumers and UI above. One focused, reviewable change per layer.
Create and sync branches according to the Git Town rule above. Once the branches
exist, manage the stack with:

```bash
gh stack push                 # push the layers
gh stack submit --open        # create the PRs ready for review; never leave them as drafts
gh stack view                 # inspect layers, PR links, and status
```

Full command/flag reference: `gh stack --help` and GitHub's *Stacked pull
requests CLI commands* docs; the upstream `gh-stack` skill covers it in depth.

## Rules that matter

- **Keep layers linear.** Do not merge one PR branch into another. Follow the
  Git Town rule above for branch and target conventions.
- **Merging is stack-aware.** Landing any PR lands every unmerged layer below it
  atomically (merge commit, squash, and rebase all supported; merge-queue aware).
  A partial merge auto-retargets the layers above — those branches are **not**
  orphans, so leave them alone (`/prune-branches` already protects `--base` refs).
- **Stacks are not exempt from standards.** Apply `pr-standards` (issue linking,
  conventional titles) to every layer; `gh stack submit`
  creates the PRs, so edit their bodies afterward as needed.
- **API merges** of a stacked PR must use GitHub's asynchronous merge endpoint —
  the legacy synchronous merge endpoints cannot merge a stack.

## Related Skills

- gh-cli-patterns (github-workflows) — default-branch (trunk vs git-flow) detection
- pr-standards (github-workflows) — PR creation guards, issue linking
- git-workflow-standards (git-workflows) — branch hygiene and worktree cleanup
- merge-pr (github-workflows) — merges the stack-aware way
- rebase-pr (github-workflows) — local rebase-merge for individual PRs
- prune-branches (github-workflows) — protects `--base` refs, so stack layers are safe

Wersje

RepozytoriumWynikLicencja
Ta strona · JacobPEvans/claude-code-plugins96Apache-2.0
dryvist/claude-code-plugins96Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki b7a9c40f9138 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 86stacked-branches
    Buduje, wysyła, synchronizuje i scala stos zależnych pull requestów na GitHubie lub Giteie.
  • 100stacked-delivery
    Planuje i prowadzi zależne pull requesty z jasnymi bazami gałęzi i dowodami dla każdej warstwy.
  • 90stacked-pr
    Obsługuje zależne pull requesty i ten sam kod na kilku gałęziach bazowych, na przykład główną i wydaniową.
  • 100stack-pull-requests
    Pomaga zdecydować, czy planowaną pracę wysłać jako niezależne pull requesty, czy stos małych uporządkowanych PR, a następnie planować, budować, recenzować i bezpiecznie scalać stos.
  • 100gh-stack
    Pomaga pracować w pobranym stosie PR, obsługiwać zależne pull requesty i warstwy gałęzi oraz planować podział pracy na stos PR.
  • 95gh-stack
    Zarządza stosami zależnych gałęzi i pull requestów rozszerzeniem gh-stack: tworzy, wypycha, rebaseuje i synchronizuje.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.