skills/dbx-agent-handoff/SKILL.md
Use only when the user wants to hand off the current AI agent session state to another AI agent or a future AI session, including context compaction, restart packets, resume notes, or "下个 session/agent 继续". For ambiguous "handoff/交接文档" requests, use only to ask one clarification question and stop. Do not use for human-facing workplace handoff documents, onboarding docs, project transition memos, status reports, meeting summaries, or general summaries.
npx skillsauth add dbvc/skills dbx-agent-handoffInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a compact restart packet so a fresh AI agent can continue the same work without rediscovering context.
This skill is for AI-session continuity, not human workplace documentation.
Use this skill only when the target recipient is clearly one of:
Typical triggers:
Do not use this skill for:
If the user only says "write a handoff document", "handoff", "写交接文档", or "写个交接文档" without saying it is for another AI agent/session, ask exactly one clarification question and stop:
这是给另一个 AI agent/session 继续当前任务用,还是给人看的工作交接文档?
If the user says it is for humans, do not use this skill. Handle it as a normal writing task.
.env files, or credential-bearing logs.mktemp -t handoff-XXXXXX.md
When carrying forward file paths, module owners, or implementation locations:
Decisions Made.Open Questions And Blockers as candidates, explicitly marked as not approved.Use this internal shape while collecting context:
handoff_context:
focus: ""
current_state:
done: []
in_progress: []
not_done: []
key_context:
workspace: ""
git_state: ""
files: []
commands: []
artifacts: []
decisions: []
blockers: []
next_steps: []
start_prompt: ""
suggested_skills: []
excluded_sensitive_material: []
# Handoff
## Focus
What the next AI session should accomplish. If the user supplied a focus, reflect it here.
## Current State
- Done:
- In progress:
- Not done:
## Key Context
- Workspace/repo:
- Git state:
- Relevant files:
- Important commands and outcomes:
- Existing artifacts to read instead of duplicating:
## Decisions Made
- Decision:
Reason:
## Open Questions And Blockers
- Question/blocker:
Why it matters:
## Recommended Next Steps
1. First concrete action.
2. Next action.
3. Validation or stopping condition.
## Start Prompt For Next Session
```text
Read this handoff file first: <absolute handoff path>
Continue the task described in Focus. Follow Recommended Next Steps, respect Decisions Made, and do not redo completed work. If the file references artifacts, inspect only the ones needed for the next action. Verify any unresolved path or owner before treating a candidate location as approved.
Replace `<absolute handoff path>` with the actual temporary file path.
Omit `Suggested Skills` if no skill is relevant. Keep empty sections only when they communicate that nothing is known; otherwise remove empty bullets.
## Quality Bar
A good handoff lets the next AI agent answer these in under one minute:
- What is the user trying to achieve?
- What has already been done?
- Where should I start?
- What must I avoid redoing?
- Which files, commands, and artifacts matter?
- What risks or blockers are known?
- What is the next concrete action?
- What prompt should the user paste into the next AI session?
Revise before completion if the handoff cannot answer those questions.
## Reporting
Final response should be brief:
```text
Handoff written: <absolute path>
Start next session with:
<copy-pasteable prompt that tells the next AI session to read the handoff path and continue>
Add one short note only if there is a blocker, missing context, or important caveat for the user.
development
Evidence-grounded technical implementation planning before code changes. Use when the user asks to plan a software feature, refactor, migration, bug-fix strategy, infrastructure change, validation strategy, rollout, or codebase modification before implementation. Produces a scoped plan contract with goal, non-goals, evidence boundary, source of truth, invariants, implementation slices, validation model, risks, and handoff. Do not use for direct implementation, concrete diff review, strict critique of an existing plan, product/design judgment, generic brainstorming, commit/PR writing, or the stateful dbx-software-plan-first phase chain unless explicitly requested.
development
Codex 专用的 subagent 上下文策略辅助技能。Use when 用户要求使用 Codex subagent delegation、Codex worker/explorer delegation、并行 review、独立 reviewer、隔离上下文、不要带上下文、fork_context=false,或把 review/dbx-linus-review/waza-check/plan-eng-review 等技能交给 Codex subagent 执行时。默认新开 Codex subagent 不继承父线程历史,只传最小任务摘要;只有用户明确要求继承父线程时才使用 fork_context=true。不要因为用户讨论业务代码里的 worker、browser worker、架构 explorer 概念而触发。
development
Use when the user asks to judge whether a product, feature, PRD, information architecture, content, interaction, UI flow, live product, implementation, roadmap, or competitor position is right, good, usable, valuable, coherent, worth building, or product-ready. Grounds judgment in target user, job/context, evidence, alternatives, critical path, trust, and implementation alignment. Ask blocking questions or collect evidence before judging when background is missing. Do not use for pure implementation, generic UI inspiration, ordinary code review without product judgment, generic market summaries, or unsupported guesses.
development
High-signal code change review workflow for PRs, patches, staged/index changes, working-tree diffs, commit ranges, and file-scoped review. Use when the user asks to review concrete code changes for functional/user-impact risks, data model correctness, state ownership, compatibility, or maintainability. Handles partial staged hunks and user-selected files/commits by selecting the exact review target before reading the diff. Do not use for implementation-only requests, generic code explanation, release publishing, issue triage, or plan-only Linus-style strict-pragmatic critique; for strict critique of a concrete diff, use this skill only to establish the target before dbx-linus-review.