원클릭으로
branch-context-merge
Merge origin/main into current branch while preserving branch intent, context, and ownership decisions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Merge origin/main into current branch while preserving branch intent, context, and ownership decisions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create, repair, validate, visually QA, and package Codex-compatible v2 animated pets from character art, generated images, company or prospect brand cues, or visual references. Use for any new Codex pet, custom mascot, non-pixel pet style, brand-inspired pet, existing-pet repair, or 8x11 spritesheet workflow requiring all 9 standard animation rows, 16 look directions, deterministic assembly, QA artifacts, and spriteVersionNumber 2 packaging.
Rewrite current branch into N semantic commits with a legacy backup branch and optional rebase onto origin/main.
Chain branch onboarding, code-health, and non-test analysis into a branch-scoped remediation plan.
Summarize current branch diff from fork point with intent, scope, risks, and context for follow-on work.
Audit codebase architecture: module dependencies, layering, circular imports, ownership, and structural decay.
Assess tech debt and rank refactoring priorities, change pain, maintainability risks, and cleanup roadmap.
| name | branch-context-merge |
| description | Merge origin/main into current branch while preserving branch intent, context, and ownership decisions. |
Integrate origin/main into the current branch without flattening the branch's intent.
This is stricter than a mechanical merge: collect branch context first, understand both sides of each conflict, preserve current-branch ownership/architecture decisions when still valid, absorb main's newer seams/contracts, then verify with evidence.
git rev-parse --is-inside-work-tree
git status --short --branch
git fetch origin main
git merge origin/main
If conflicts occur, resolve them only after reconstructing branch intent and main-side intent.
Do not use blanket --ours / --theirs resolution.
Load context before merging
branch-onboarding-brief first. Use its collector when available: collect_branch_info.py --base origin/main --format json.codebase-recon when the user names it or when the merge touches high-risk/core areas.omx explore for symbols and ownership boundaries.Preflight safety
git status --porcelain is non-empty before merge, stop and ask one targeted question. Do not auto-stash, reset, or discard.origin main immediately before merging.Merge
git merge origin/main.git diff --name-only --diff-filter=U.Resolve conflicts by semantic ownership
AGENTS.md ancestors and local module contracts.:2:path), main (:3:path), and working file.Stage and continue
git merge --continue; use GIT_EDITOR=true git merge --continue in non-interactive shells.Validate smallest sufficient proof
git diff --check before merge commit completion when possible.Post-merge evidence
origin/main is an ancestor of HEAD.HEAD.origin/main add?AGENTS.md boundaries?Put the merge outcome first, then include:
Ask the user only for destructive choices, dirty pre-merge state, or genuinely ambiguous branch intent.