AGENT SKILL

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
所属仓库
nelantone/cognivia
最近更新
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

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

  1. Inspect current Git state and relevant diffs before describing them.
  2. Separate completed work, remaining work, known issues, and open decisions.
  3. Record validation by command and result; identify failed, skipped, and unavailable checks.
  4. Distinguish automated, manual, browser, provider, and documentation evidence.
  5. State prior authorization only as historical context; require the receiving session to obtain its own authorization for state-changing work.
  6. End with one exact next action.
  7. 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

04 同仓库更多 Skills

nelantone
nelantone/cognivia

cxp

Run the explicitly requested project-owned Cognivia Codex Prompt orchestration workflow.

★ 1
nelantone
nelantone/cognivia

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.

★ 1
nelantone
nelantone/cognivia

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.

★ 1
nelantone
nelantone/cognivia

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.

★ 1
nelantone
nelantone/cognivia

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.

★ 1
nelantone
nelantone/cognivia

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.

★ 1