session-handoff
Create a concise factual handoff for work continuing in another session, tool, or agent. Use when the user requests a handoff, work pauses with useful state, or a blocked task needs an exact next action. Do not use automatically for trivial completed work, as an implementation plan, or to transfer edit or Git authorization.
- License 许可
- MIT
- 最近更新
- 2026-10-06
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- session-handoff
- description
- Create a concise factual handoff for work continuing in another session, tool, or agent. Use when the user requests a handoff, work pauses with useful state, or a blocked task needs an exact next action. Do not use automatically for trivial completed work, as an implementation plan, or to transfer edit or Git authorization.
02 资源文件 2
- 参考文档agents/openai.yaml212 B
- 参考文档references/session-handoff-format.md619 B
03 SKILL.md 正文
Session Handoff
Purpose
Transfer verified project state without forcing the next session to reconstruct completed work or trust unsupported claims.
Trigger
Use when the user asks for a handoff or when paused or blocked work has verified state worth preserving for a later session.
Do not trigger
Do not generate a handoff automatically for every task. Do not use it as a task brief, commit review, architecture audit, or authorization mechanism.
Inputs
- Objective and current status.
- Current branch, staged, unstaged, and untracked state.
- Completed work and files changed.
- Validation actually run and manual evidence actually collected.
- Known issues, risks, assumptions, and remaining work.
- Exact next action and prior authorization state.
Workflow
- Inspect current Git state and relevant diffs before describing them.
- Separate completed work, remaining work, known issues, and open decisions.
- Record validation by command and result; identify failed, skipped, and unavailable checks.
- Distinguish automated, manual, browser, provider, and documentation evidence.
- State prior authorization only as historical context; require the receiving session to obtain its own authorization for state-changing work.
- End with one exact next action.
- Write a handoff file only when the user authorizes a specific path.
Outputs
Return a handoff using the session handoff format. Keep it compact enough to paste into a new session.
Safety
- Never include secrets, environment values, private URLs, large logs, command transcripts, or full diffs.
- Never claim a file, commit, test, browser check, merge, or push exists without current evidence.
- Never imply that a handoff transfers edit, commit, push, merge, deletion, or provider-call authorization.
- Do not modify product files while generating a handoff.
Validation
- Recheck branch and status immediately before finalizing the handoff.
- Verify named files, commits, and paths exist.
- Match validation claims to captured results from the current session.
- Ensure known failures and unverified assumptions are visible.
- Confirm the next action is specific and within remaining scope.
References
AGENTS.md— evidence, security, and authorization rules.docs/AGENT_HANDOFF.md— temporary legacy compatibility guidance.- Session handoff format — canonical output structure.
04 同仓库更多 Skills
cxp
Run the explicitly requested project-owned Cognivia Codex Prompt orchestration workflow.
task-brief
Turn an implementation, debugging, audit, or migration request into a precise scope, objective, constraint, file, validation, and reporting brief before work begins. Use for multi-file, ambiguous, architectural, or staged work and explicit requests for a task brief. Do not use for architecture inventory, refactor execution, commit review, session handoffs, or trivial requests with complete acceptance criteria.
safe-refactor
Plan and execute one small behavior-preserving refactor phase with local dependency mapping, compatibility, rollback, validation, and commit boundaries. Use for approved extractions, module splits, dependency untangling, or test migration. Do not use to generate a broad architecture inventory, redesign UX or behavior, add features, update docs only, or create commits.
docs-update
Update Cognivia documentation from verified implementation and current-session evidence. Use for README, architecture, validation, status, reviewer, or future-work documentation after implementation changes. Do not use for product prompt edits, speculative roadmap writing, code changes, generated handoffs, or claims that cannot be verified.
cxp
Project-owned Codex Prompt orchestration workflow for generating or executing a structured repository task. Use only when the user explicitly invokes `$cxp`, writes `CXP`, or asks for the Cognivia CXP workflow; never select it implicitly.
commit-review
Review working-tree and staged scope, validation evidence, sensitive files, unrelated changes, commit grouping, and readiness before an authorized commit. Use when the user asks for commit preparation, staged-diff review, commit splitting, or messages. Do not use to implement fixes or automatically stage, commit, amend, push, merge, reset, rebase, squash, or clean.