본문으로 건너뛰기
cccskills
무료GitHub에 공개

gh-stack-reconcile

remote の rebase や force-push 後に diverge した gh-stack を診断し、local state を退避して remote に合わせて再構築する。履歴書き換えが疑われる non-fast-forward の調査と復旧に使う。通常の sync や一般の Git branch 管理には使わない。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yaakaito/env스타 3(GitHub 3 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(3)

  • SKILL.md2.6 KB
  • references/audit.md3.9 KB
  • references/rebuild.md5.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

gh-stack reconcile

remote を正として local stack を再構築する。 remote を一切更新せず、純粋な rebase と内容の乖離を layer ごとに区別し、失われ得る local state を先に退避する。

安全条件

  • 実行前に gh stack --version と使う subcommand の --help を確認する。 CLI の挙動は変わり得るため、古い手順を無条件に適用しない。
  • この手順では gh stack sync、gh stack push、gh stack submit、force-push を実行しない。 stack 構成の divergence と Git branch 履歴の divergence は別物である。
  • 再構築はユーザーが依頼した場合だけ行う。 診断だけなら audit と退避案を報告し、stash、backup branch 作成、local branch の ref 更新、stack metadata 変更を行わない。
  • remote は引数で指定されたものを使う。 未指定なら remote.pushDefault、単一 remote の順に解決する。 複数候補が残る場合は推測しない。
  • コマンドはすべて非対話で実行する。 gh stack view には必ず --json、gh stack checkout には stack number、PR number、または PR URL を渡す。
  • rebase、merge、cherry-pick、revert、gh stack modify の recovery が進行中なら何も変更せず止める。
  • 対象 stack に queued PR があれば、merge queue が branch を更新し得るため止める。 queue から外れた後に最初から audit する。

診断と再構築

  1. audit.md を読み、local state、remote 構成、layer ごとの内容差を記録する。 診断だけの依頼は、その結果と退避案を報告して完了とする。
  2. 再構築を依頼されている場合は、audit 後に rebuild.md を読む。 未 commit 変更と元の全 branch を退避し、remote chain が有効な場合だけ ref と local metadata を再構築する。
  3. 再構築の完了は、branch 順と SHA、working tree、remote に途中変更がないことを検証して判断する。 backup と stash は保持し、未解決事項と復元に必要な情報を報告する。

診断結果があっても、別の作業を挟んだ場合は状態を取り直す。 競合や前提の変化を検出したら、古い記録で ref を更新しない。

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Create, update, or review Architecture Decision Records (ADRs) using the project's conventions. Use when asked to record an architecture decision or work on an ADR; not for general design discussion without a requested record.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yaakaito/env32026년 10월 27일 업데이트

agents-md

무료

Create, edit, or review AGENTS.md and CLAUDE.md repository instructions. Use for agent instruction setup and structure advice, not ordinary code changes that merely read those files.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yaakaito/env32026년 10월 27일 업데이트

dig

무료

Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking or requests an in-depth interview with dig.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yaakaito/env32026년 10월 27일 업데이트

discuss

무료

Discuss ideas and design choices before implementation, without editing files.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yaakaito/env32026년 10월 27일 업데이트

Clone 済みのこの環境リポジトリのルートで実行し、setup.yaml(唯一の真実)と dotfiles/、skills/ を基準に端末上の dotfiles、Claude/Codex skills、関連 CLI 設定を安全に同期・更新・整理する。Use when the user asks to set up, reconcile, migrate, update, clean, prune, or merge this repository's dotfiles or skills with an existing terminal, especially when existing local files must be inspected before applying repository versions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yaakaito/env32026년 10월 27일 업데이트

PR 作成を依頼されたときに、依頼範囲の変更を確認し、リポジトリのテンプレートに沿ったタイトルと本文で GitHub PR を作る。本文の下書きだけを求められた場合は公開しない。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

yaakaito/env32026년 10월 27일 업데이트

yaakaito의 스킬 모두 보기

이 스킬의 문제 신고