ワンクリックで
handoff-protocol
Use when transitioning work between agents during multi-agent execution.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when transitioning work between agents during multi-agent execution.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | handoff-protocol |
| description | Use when transitioning work between agents during multi-agent execution. |
| allowed-tools | Read, Write |
This skill guides the Framework Developer Orchestrator on how to properly hand off work between different LLM sessions, ensuring continuity, quality, and traceability across multi-agent workflows.
When multiple agents work on a project:
The handoff protocol ensures each agent knows:
Create handoff files in 05-execution/handoffs/:
# Handoff: [Source Agent] → [Target Agent]
## Handoff ID: HO-001
**Created:** [ISO timestamp]
**Status:** PENDING | IN_PROGRESS | COMPLETED | BLOCKED
---
## Context Summary
### What Was Done
- [Brief summary of completed work]
- [Key decisions made]
- [Files created/modified]
### Current State
- Build status: PASSING | FAILING
- Tests: X passing, Y failing
- Lint: CLEAN | X warnings
---
## Your Tasks
### Primary Objective
[One sentence describing what this agent needs to accomplish]
### Specific Tasks
1. [ ] Task 1 - [Description]
2. [ ] Task 2 - [Description]
3. [ ] Task 3 - [Description]
### Out of Scope
- [Things this agent should NOT do]
- [Changes reserved for other agents]
---
## Contracts to Follow
### API Contracts
Read: `.framework-blueprints/03-api-planning/api-contracts.md`
Relevant endpoints:
| Endpoint | Method | Your Responsibility |
|----------|--------|---------------------|
| /api/users | GET | Implement handler |
| /api/users | POST | Implement validation |
### Code Patterns
- Use [pattern] for [purpose]
- Follow [convention] established in [file]
---
## Critical Details (DON'T FORGET)
### Environment Variables
- `DATABASE_URL` - PostgreSQL connection
- `JWT_SECRET` - For token signing
### Non-Standard Paths
- Auth is at `src/core/auth/`, not `src/auth/`
### API Quirks
- POST returns 201, not 200
- All dates are UTC ISO 8601
---
## Quality Checklist
Before marking handoff complete:
- [ ] All tasks completed
- [ ] No lint errors
- [ ] No type errors
- [ ] Tests pass
- [ ] Matches API contracts
- [ ] Documentation updated
---
## Handoff Notes
### Gotchas I Encountered
- [Issue and how you solved it]
### Recommendations for Next Agent
- [Suggestions based on what you learned]
### Open Questions
- [Questions that need user clarification]
---
## Completion
When done, update this file:
- Change status to COMPLETED
- Fill in completion timestamp
- Summarize what was accomplished
- List any deviations from plan
**Completed At:** [timestamp]
**Completed By:** [Agent/LLM name]
| State | Meaning | Next Action |
|---|---|---|
PENDING | Created, not started | Target agent picks up |
IN_PROGRESS | Target agent working | Monitor progress |
COMPLETED | All tasks done | Orchestrator reviews |
BLOCKED | Cannot proceed | Resolve blocker |
Before creating a handoff:
00-project-state.json for current statusapi-contracts.md for relevant endpointsUse the template above with:
Update the project state file (see project-state-management skill for state file details):
{
"handoffs": [
{
"id": "HO-001",
"from": "Backend Agent",
"to": "Frontend Agent",
"status": "pending",
"artifact": "05-execution/handoffs/HO-001-backend-to-frontend.md",
"initiatedAt": "2025-01-03T10:00:00Z"
}
]
}
git add .
git commit -m "Handoff HO-001: Backend → Frontend"
git tag handoff-HO-001
When picking up a handoff:
Before starting work:
I'm picking up handoff HO-001.
My understanding:
- I need to: [summary]
- I must follow: [contracts]
- Critical details: [list]
Is this correct? [Confirm with orchestrator]
Change handoff status to IN_PROGRESS.
Work through tasks, checking off as you go.
The orchestrator verifies each handoff:
## Handoff Verification: HO-001
### Deliverables Check
- [ ] All files listed exist
- [ ] Tests pass
- [ ] Build succeeds
### Contract Compliance
- [ ] Endpoints match api-contracts.md
- [ ] Schemas match specifications
- [ ] No unauthorized changes
### Documentation
- [ ] Handoff notes helpful
- [ ] Critical details accurate
- [ ] Next steps clear
### Verdict: APPROVED | NEEDS_REVISION
| Failure | Cause | Prevention |
|---|---|---|
| Wrong endpoints | Didn't read contracts | Always read api-contracts.md |
| Missing files | Forgot to commit | Verify with git status |
| Type errors | Different assumptions | Include type definitions |
| Integration fails | Incompatible interfaces | Test integration points |
npm test before marking complete")During Phase 5 (Execution):
If a handoff must be reverted:
# Find the handoff checkpoint
git log --oneline | grep "handoff-HO-001"
# Revert to before the handoff
git revert <commit-hash>
# Update state
# Set handoff status back to PENDING
Document why the rollback was needed in the handoff file.
Enhanced planning system combining UltraPlan's 6-phase pipeline with Clear Thought's 11 structured thinking frameworks. Takes a plain-English idea and produces a complete, AI-executable implementation plan with rigorous thinking at every phase.
Use when defining API endpoints, designing request/response schemas, or establishing API contracts during framework planning.
Use when documenting architectural decisions, comparing technology options, or recording rationale for framework choices.
Use when selecting architecture patterns (MVC, hexagonal, clean, microservices) for a new project.
Use when creating or updating blueprint files in .framework-blueprints/ directory.
Use when designing CI/CD pipelines or creating GitHub Actions / GitLab CI configuration.