원클릭으로
build-test-branch
Test every commit in the current branch, fix failures, create fixup commits, and repeat until all commits pass.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Test every commit in the current branch, fix failures, create fixup commits, and repeat until all commits pass.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Restore claude/codex agents from a tmux-reboot snapshot after tmux-resurrect reopens their windows.
Snapshot running tmux claude/codex agents immediately before a reboot so their sessions can be restored afterward.
Commit changes, run git-test precommit checks, and fix failures. Use when asked to fix build, test, lint, typecheck, or precommit failures.
Running precommit checks and build validation. ALWAYS use after ANY code changes.
This skill should be used after completing any task, before returning control to the user. Always run this skill — it handles the case where there's nothing to do.
Coordination guidelines for leading a team of task-executing agents
| name | build-test-branch |
| description | Test every commit in the current branch, fix failures, create fixup commits, and repeat until all commits pass. |
Test each commit in the current branch against the upstream branch. Keep the main thread focused on the loop; use a subagent for failure fixing only when the user explicitly asks for subagents.
Create a temp work directory:
WORKDIR=$(mktemp -d)
Create ${WORKDIR}/report.md and record the start timestamp. Use iteration = 0 and max_iterations = 10.
Increment the iteration and run:
just --global-justfile test-branch > "${WORKDIR}/build.log" 2>&1; echo $?
Use a 30-minute timeout.
Check for auto-formatted changes:
git status --porcelain
If files changed, continue to test-fix. If there are no changes, identify the failing commit with:
git log --oneline -1
If the same commit failed in the previous iteration, stop and show the report.
Fix the error near the end of ${WORKDIR}/build.log using the build-fix skill. Do not create commits manually.
Run:
just --global-justfile test-fix > "${WORKDIR}/test-fix.log" 2>&1; echo $?
Use a 30-minute timeout.
Never run git test forget-results. Never rebase manually; test-fix owns the rebase/autosquash step.
Show the failing commit, error summary, fix summary, changed files, and final result.