원클릭으로
reviewable-commit-split
Split a large dirty working tree into reviewable semantic local commits without rewriting existing history.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Split a large dirty working tree into reviewable semantic local commits without rewriting existing history.
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.
Merge origin/main into current branch while preserving branch intent, context, and ownership decisions.
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.
| name | reviewable-commit-split |
| description | Split a large dirty working tree into reviewable semantic local commits without rewriting existing history. |
Run from the target repository root:
git rev-parse --is-inside-work-tree
git status --short
git diff --stat
git diff --cached --stat
Goal: convert current staged, unstaged, and relevant untracked changes into a small stack of local commits, each with one reviewable intent. Do not push, open PRs, amend old commits, reset away work, or rewrite existing history unless explicitly asked.
Capture evidence before changing the index:
ts=$(date +%Y%m%d-%H%M%S)
out=".codex_tmp/reviewable-commit-split/$ts"
mkdir -p "$out"
git status --short > "$out/status.txt"
git diff > "$out/unstaged.patch"
git diff --cached > "$out/staged.patch"
git ls-files --others --exclude-standard > "$out/untracked.txt"
git diff --stat > "$out/unstaged.stat"
git diff --cached --stat > "$out/staged.stat"
Rules:
HEAD, upstream/base if relevant, and full dirty state.git reset --hard, git clean, git checkout -- ., or broad worktree git restore.AGENTS.md contracts.git reset
git add path/to/whole_file
git add -p path/to/mixed_file
git add path/to/read_untracked_file
Before each commit:
git diff --cached --stat
git diff --cached --check
git diff --cached
Commit only when the staged diff has one coherent review unit. Use the repository commit-message contract; if Lore is in scope, write an intent-first message with useful Constraint, Rejected, Confidence, Scope-risk, Directive, Tested, and Not-tested trailers.
A commit is reviewable when:
git add -p when they belong to different intents;If staged content violates the rules, unstage without touching the worktree:
git restore --staged path/to/file
# or reset staging only
git reset
After the final planned commit:
git status --short
git log --oneline --decorate -n <commit-count>
Run the smallest fresh validation that proves the stack is safe: targeted tests first, then lint/typecheck/docs checks when touched files or repo contracts require them. If validation cannot run or fails for a known unrelated reason, report the exact command, exit status, and residual risk.
Stop when the dirty working state is fully converted into planned local commits or only intentionally deferred files remain. Final report: commit SHAs, intent boundaries, changed-file coverage, validation evidence, and remaining risks.