AgentSkillsCN

meta-generate-handoff-prompt

为Claude Code代理的交接过程生成最优提示词,确保关键上下文得以完整保留。

SKILL.md
--- frontmatter
name: meta-generate-handoff-prompt
description: Generate an optimal handoff prompt for Claude Code agent transitions preserving critical context.
disable-model-invocation: true

Generate an optimal handoff prompt for Claude Code agent transitions.

Look for handoff context in:

  • Current conversation thread and progress
  • Project documentation and specifications
  • Work completed and next steps
  • Relevant code and reference materials

Create a prompt that:

  1. Summarizes current thread progress and decisions
  2. Incorporates agent mode context if applicable
  3. Provides paths to current worktree, virtualenv, files, directories, or any other relevant paths to optimally prime the new agent's context
  4. Establishes clear continuation objectives
  5. Includes all necessary context for seamless transition
  6. Accounts for the details of this particular scenario (if provided):

$ARGUMENTS

The generated prompt should enable effective agent handoffs with full context preservation.