원클릭으로
multi-agent-coordination
Rules for sub-agents, Agent Teams, worktree agents, central commit pattern, and parallel work coordination.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Rules for sub-agents, Agent Teams, worktree agents, central commit pattern, and parallel work coordination.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Push accountability, CI monitoring after push, background agent CI verification, verification command sequencing.
Production deployment rules, rollback-first recovery, dependency batching, CI cost awareness, and framework upgrade verification.
Always use when user asks to create, generate, draw, or design a diagram, flowchart, architecture diagram, ER diagram, sequence diagram, class diagram, network diagram, mockup, wireframe, or UI sketch, or mentions draw.io, drawio, drawoi, .drawio files, or diagram export to PNG/SVG/PDF.
Known agent error patterns -- debugging reference for tool failures, git errors, CI issues, and common mistakes. Consult when encountering unexpected behavior, tool errors, or CI failures.
Git recipes, worktree management, push sequences, branch verification, and conflict resolution patterns.
gh CLI patterns, JSON field discovery, PR check interpretation, label management, merge settings verification.
| name | Multi-Agent Coordination |
| description | Rules for sub-agents, Agent Teams, worktree agents, central commit pattern, and parallel work coordination. |
Wrong -- sub-agent pushes directly, causes wrong-branch push:
# In sub-agent worktree:
git add . && git commit -m "fix" && git push origin feature-branch
Right -- sub-agent commits locally, main agent pushes:
# Sub-agent (worktree): commit only
git add . && git commit -m "fix"
# Main agent: review, then batch-push all branches
git push origin branch-1 branch-2 branch-3
Wrong -- N agents push independently, triggering N x M CI runs:
# Agent 1 pushes -> 9 CI workflows
# Agent 2 pushes -> 9 CI workflows
# Agent 3 pushes -> 9 CI workflows
# Total: 27 workflow runs
Right -- main agent batch-pushes, monitors CI centrally:
# All agents commit locally in their worktrees
# Main agent pushes all at once:
git push origin branch-1 branch-2 branch-3
# One background agent monitors all CI runs
Wrong -- spawn sub-agent for write operation, it fails silently:
# Sub-agent: "I don't have permission to edit files"
Right -- verify permissions before spawning, take over if blocked:
1. Check tool permissions before spawning sub-agents for write ops
2. If a sub-agent fails due to permissions, take over manually immediately
3. Don't retry the sub-agent -- do the work yourself
Wrong -- teammate has no context, makes wrong assumptions:
"Fix the login bug"
Right -- include full context since teammates don't inherit history:
"Fix the login bug in /absolute/path/src/auth/login.ts:42.
The session token is not being refreshed on 401 responses.
The fix: add a retry with token refresh in the catch block.
Run 'cd /absolute/path && pnpm test src/auth/' to verify."
Wrong -- two teammates edit the same file, merge conflict:
Teammate A: edit src/api/routes.ts
Teammate B: edit src/api/routes.ts
Right -- break work so each teammate owns different files:
Teammate A: edit src/api/auth-routes.ts
Teammate B: edit src/api/user-routes.ts
Wrong -- open-ended task, no stop condition: the agent keeps investigating long after its real work is done (a fork agent ran 2+ hours past completion).
"Look into the Chapa failures and fix what you find."
Right -- one-sentence scope with an explicit terminal condition:
"Fix the failing applyRateLimit test in src/rate-limit.test.ts so the suite
is green. STOP the moment that test passes -- do not investigate other
failures, refactor, or open new threads. Report back with the diff."
Rules for the orchestrator:
Wrong -- an agent resumes work a sibling already committed, producing a
duplicate (e.g. a second applyRateLimit test block already on the branch).
Agent B keeps adding tests without checking what Agent A committed.
Right -- check the actual repo state before doing or continuing work:
git log --oneline -10 # has a sibling already landed this?
git status # is the change already staged/committed?
grep -rn "applyRateLimit" test/ # does the artifact already exist?
If the work is already done, stop and report -- do not redo it.