ワンクリックで
git-integrate-branch
{{ 𝚫𝚫𝚫 }} Integrate a target branch into the current one by merge, rebase or squash
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
{{ 𝚫𝚫𝚫 }} Integrate a target branch into the current one by merge, rebase or squash
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
{{ 𝚫𝚫𝚫 }} Rebuild roadmap-system.zip, the distributable snapshot of the roadmap tooling (scripts, HTML template, conventions reference, and every roadmap-touching skill, including this one).
{{ 𝛀𝛀𝛀 }} Create a project roadmap in the rich phase-array format — roadmaps.json as source of truth plus a PHASE task list and prose overview
{{ 𝛀𝛀𝛀 }} Recompute and synchronise roadmap task statuses across roadmaps.json and its projections, with optional codebase reconciliation
{{ 𝛀𝛀𝛀 }} Add a task to a rich-format project roadmap with correct ID, dependency wiring, and graph integrity — ID assignment, status computation, dependency edges in both directions, and no unconnected islands.
Git workflow: branch management, commit conventions, PR patterns, conflict resolution.
{{ 𝛀𝛀𝛀 }} Review a pull request and post it as a GitHub review
| name | Git: Integrate Branch |
| description | {{ 𝚫𝚫𝚫 }} Integrate a target branch into the current one by merge, rebase or squash |
| when_to_use | When main (or another branch) has moved on and needs folding into the current branch — picks merge/rebase/squash and handles conflicts. |
| model | haiku |
| disable-model-invocation | true |
| allowed-tools | ["Bash(git:*)","Bash(~/.claude/library/scripts/git-integrate.sh:*)","Read","Glob","Grep","Edit"] |
| arguments | ["strategy","target"] |
| argument-hint | [merge|rebase|squash] [target branch, default main] |
$target into the current branchReplaces the former git-branch-merge / git-branch-rebase / git-branch-squash trio. The mechanical flow (fetch, integrate, state checks) lives in the script; you handle conflicts, the squash commit message, tests and the push.
$strategy is required (merge, rebase or squash); $target defaults to main when empty.
"$HOME"/.claude/library/scripts/git-integrate.sh $strategy $target (bare $strategy when $target is empty). Its exit codes:
squash the branch's changes are staged as one unit: write a single descriptive commit message (conventional commits) and commit.git commit (merge) or git rebase --continue after each (rebase/squash). Never resolve by discarding our changes wholesale.git push after a merge; git push --force-with-lease after a rebase or squash. Never plain --force.Never: push with failing tests; force-push without --with-lease; run the script on a dirty tree ("stash it yourself" is the user's call, not yours).
Always: confirm the branch first; keep conflict resolutions minimal and intent-preserving.