本文へ移動
cccskills
無料GitHub で公開

stacked-prs

Use only when the user explicitly asks to implement with stacked PRs, branch-on-branch PRs, or `gh stack`. For ordinary implementation, use vanilla branches, worktrees, and pull requests.

日本語の概要は準備中です。原文の説明を表示しています。

インストール方法を見る

含まれるファイル(2)

  • SKILL.md1.9 KB
  • agents/openai.yaml214 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Stacked PRs

Use GitHub's official github/gh-stack extension to create a linear series of branches where each pull request targets the branch below it.

When to Use

Use this skill only when the user specifically requests a stack. Otherwise use vanilla branches, worktrees, and PRs, even when a change is large or could be split.

Usage

Inspect the current branch and working tree, preserve unrelated changes, and confirm gh stack --help works. If needed, install the extension:

gh extension install github/gh-stack

Plan a few reviewable layers from foundational to dependent, then implement and commit them bottom to top:

gh stack init --base <trunk> <first-branch>
# implement, verify, and commit
gh stack add <next-branch>
# implement, verify, and commit
gh stack view --json
gh stack submit --auto

submit --auto creates draft PRs. Add --open only when the user wants them ready for review.

To update a lower layer:

gh stack checkout <branch>
# edit, verify, and commit
gh stack rebase --upstack
gh stack push

Use gh stack sync after lower layers merge.

Rules

  • Keep layers linear, focused, and independently reviewable, with their own tests and documentation.
  • Follow repository branch conventions; in this repository, default to agent/ names.
  • Use explicit arguments and non-interactive forms such as view --json and submit --auto.
  • With multiple remotes, identify the correct one and pass --remote <name> where supported.
  • Publish, merge, prune, unstack, or restructure only when authorized by the user's request.
  • Consult the GitHub command reference for less common operations and recovery.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

flue

無料

Use when building, debugging, reviewing, migrating, or documenting Flue projects, including agents, hooks, tools, skills, subagents, sandboxes, routing, channels, persistence, schedules, observability, React clients, deployment targets, and CLI usage. Find and read version-matched Flue documentation before relying on API details.

日本語の概要は準備中です。原文の説明を表示しています。

pandemicsyn/neondeck82026年10月22日 更新

github-gh

無料

Choose between deterministic GitHub API tools, local git facts, and approved gh CLI workflows in Neondeck.

日本語の概要は準備中です。原文の説明を表示しています。

pandemicsyn/neondeck82026年10月22日 更新

Guidance for Neondeck's /fix-ci operation when repairing failing PR checks in a managed worktree.

日本語の概要は準備中です。原文の説明を表示しています。

pandemicsyn/neondeck82026年10月22日 更新

Guidance for Neondeck docs-drift fix handoffs when updating documentation from drift reports.

日本語の概要は準備中です。原文の説明を表示しています。

pandemicsyn/neondeck82026年10月22日 更新

Guidance for Neondeck issue-triage digests and human-owned drafted issue replies.

日本語の概要は準備中です。原文の説明を表示しています。

pandemicsyn/neondeck82026年10月22日 更新

Guidance for Neondeck's /review-pr agent when preparing a human-owned review briefing and draft comments.

日本語の概要は準備中です。原文の説明を表示しています。

pandemicsyn/neondeck82026年10月22日 更新

pandemicsyn のスキルをすべて見る

このスキルの問題を報告する