跳到正文
cccskills
免费在 GitHub 公开

resume-handoff

Resume work from a handoff document by reviewing linked materials and checking the current code against recorded changes. The skill proposes next steps, creates a prioritized task list, and assigns approved work to specialist agents.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Resume work from handoff document with context analysis and validation

查看安装方法

适用场景

  • Continuing unfinished work from a previous session
  • Resuming from the latest handoff for a ticket
  • Reconciling a handoff with changed code
  • Reassessing an old handoff before restarting

包含的文件(1)

  • SKILL.md10.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Resume work from a handoff document

You are tasked with resuming work from a handoff document through an interactive process. These handoffs contain critical context, learnings, and next steps from previous work sessions that need to be understood and continued.

Initial Response

When this command is invoked:

  1. If the path to a handoff document was provided:

    • If a handoff document path was provided as a parameter, skip the default message
    • Immediately read the handoff document FULLY
    • Immediately read any research or plan documents that it links to under thoughts/shared/plans or thoughts/shared/research. do NOT use a sub-agent to read these critical files.
    • Begin the analysis process by ingesting relevant context from the handoff document, reading additional files it mentions
    • Then propose a course of action to the user and confirm, or ask for clarification on direction.
  2. If a ticket number (like ENG-XXXX) was provided:

    • locate the most recent handoff document for the ticket. Tickets will be located in thoughts/shared/handoffs/ENG-XXXX where ENG-XXXX is the ticket number. e.g. for ENG-2124 the handoffs would be in thoughts/shared/handoffs/ENG-2124/. List this directory's contents.
    • There may be zero, one or multiple files in the directory.
    • If there are zero files in the directory, or the directory does not exist: tell the user: "I'm sorry, I can't seem to find that handoff document. Can you please provide me with a path to it?"
    • If there is only one file in the directory: proceed with that handoff
    • If there are multiple files in the directory: using the date and time specified in the file name (it will be in the format YYYY-MM-DD_HH-MM-SS in 24-hour time format), proceed with the most recent handoff document.
    • Immediately read the handoff document FULLY
    • Immediately read any research or plan documents that it links to under thoughts/shared/plans or thoughts/shared/research; do NOT use a sub-agent to read these critical files.
    • Begin the analysis process by ingesting relevant context from the handoff document, reading additional files it mentions
    • Then propose a course of action to the user and confirm, or ask for clarification on direction.
  3. If no parameters provided, respond with:

I'll help you resume work from a handoff document. Let me find the available handoffs.

Which handoff would you like to resume from?

Tip: You can invoke this command directly with a handoff path: `/resume_handoff `thoughts/shared/handoffs/ENG-XXXX/YYYY-MM-DD_HH-MM-SS_ENG-XXXX_description.md`

or using a ticket number to resume from the most recent handoff for that ticket: `/resume_handoff ENG-XXXX`

Then wait for the user's input.

Process Steps

Step 1: Read and Analyze Handoff

  1. Read handoff document completely:

    • Use the Read tool WITHOUT limit/offset parameters
    • Extract all sections:
      • Task(s) and their statuses
      • Recent changes
      • Learnings
      • Artifacts
      • Action items and next steps
      • Other notes
  2. Spawn focused research tasks: Based on the handoff content, spawn parallel research tasks to verify current state:

    Task 1 - Gather artifact context:
    Read all artifacts mentioned in the handoff.
    1. Read feature documents listed in "Artifacts"
    2. Read implementation plans referenced
    3. Read any research documents mentioned
    4. Extract key requirements and decisions
    Use tools: Read
    Return: Summary of artifact contents and key decisions
    
  3. Wait for ALL sub-tasks to complete before proceeding

  4. Read critical files identified:

    • Read files from "Learnings" section completely
    • Read files from "Recent changes" to understand modifications
    • Read any new related files discovered during research

Step 2: Synthesize and Present Analysis

  1. Present comprehensive analysis:

    I've analyzed the handoff from [date] by [researcher]. Here's the current situation:
    
    **Original Tasks:**
    - [Task 1]: [Status from handoff] → [Current verification]
    - [Task 2]: [Status from handoff] → [Current verification]
    
    **Key Learnings Validated:**
    - [Learning with file:line reference] - [Still valid/Changed]
    - [Pattern discovered] - [Still applicable/Modified]
    
    **Recent Changes Status:**
    - [Change 1] - [Verified present/Missing/Modified]
    - [Change 2] - [Verified present/Missing/Modified]
    
    **Artifacts Reviewed:**
    - [Document 1]: [Key takeaway]
    - [Document 2]: [Key takeaway]
    
    **Recommended Next Actions:**
    Based on the handoff's action items and current state:
    1. [Most logical next step based on handoff]
    2. [Second priority action]
    3. [Additional tasks discovered]
    
    **Potential Issues Identified:**
    - [Any conflicts or regressions found]
    - [Missing dependencies or broken code]
    
    Shall I proceed with [recommended action 1], or would you like to adjust the approach?
    
  2. Get confirmation before proceeding

Step 3: Create Action Plan

  1. Use TodoWrite to create task list:

    • Convert action items from handoff into todos
    • Add any new tasks discovered during analysis
    • Prioritize based on dependencies and handoff guidance
  2. Present the plan:

    I've created a task list based on the handoff and current analysis:
    
    [Show todo list]
    
    Ready to begin with the first task: [task description]?
    

Step 4: Route to Specialist Agent

CRITICAL: Do NOT implement directly. Always spawn via Task tool.

  1. Analyze task type and select specialist agent:

    Leads (can spawn workers):

    AgentDomainUse For
    krakenimplementLarge features, new systems, major components
    architectplanFeature design, system architecture, implementation planning
    phoenixplanRefactoring plans, migrations, codebase restructuring
    heralddeployReleases, deployments, publishing
    maestroorchestrateComplex multi-agent workflows

    Workers (focused specialists):

    AgentDomainUse For
    sparkimplementQuick fixes, patches, minor tweaks
    scribedocumentDocumentation, guides, explanations
    sleuthdebugBug investigation, tracing, root cause analysis
    aegisdebugSecurity audits, vulnerability scanning
    profilerdebugPerformance optimization, bottleneck analysis
    arbitervalidateUnit tests
    atlasvalidateE2E/integration tests
    oracleresearchExternal docs, best practices, how-to
    scoutresearchCodebase exploration, finding existing code
    pathfinderresearchRepository structure analysis
    plan-reviewerreviewFeature plan review, design validation
    plan-reviewerreviewMigration review, refactoring validation
    chroniclersessionSession analysis, history summaries
  2. Spawn the specialist via Task tool:

    Use Task tool with:
    - subagent_type: [selected agent from above]
    - prompt: [task description + relevant handoff context + learnings]
    
  3. Include handoff context in the prompt:

    • Key learnings from the handoff
    • File references with line numbers
    • Patterns to follow
    • Pitfalls to avoid
  4. Wait for agent completion, then proceed to next task

Guidelines

  1. Be Thorough in Analysis:

    • Read the entire handoff document first
    • Verify ALL mentioned changes still exist
    • Check for any regressions or conflicts
    • Read all referenced artifacts
  2. Be Interactive:

    • Present findings before starting work
    • Get buy-in on the approach
    • Allow for course corrections
    • Adapt based on current state vs handoff state
  3. Leverage Handoff Wisdom:

    • Pay special attention to "Learnings" section
    • Apply documented patterns and approaches
    • Avoid repeating mistakes mentioned
    • Build on discovered solutions
  4. Track Continuity:

    • Use TodoWrite to maintain task continuity
    • Reference the handoff document in commits
    • Document any deviations from original plan
    • Consider creating a new handoff when done
  5. Validate Before Acting:

    • Never assume handoff state matches current state
    • Verify all file references still exist
    • Check for breaking changes since handoff
    • Confirm patterns are still valid

Common Scenarios

Scenario 1: Clean Continuation

  • All changes from handoff are present
  • No conflicts or regressions
  • Clear next steps in action items
  • Proceed with recommended actions

Scenario 2: Diverged Codebase

  • Some changes missing or modified
  • New related code added since handoff
  • Need to reconcile differences
  • Adapt plan based on current state

Scenario 3: Incomplete Handoff Work

  • Tasks marked as "in_progress" in handoff
  • Need to complete unfinished work first
  • May need to re-understand partial implementations
  • Focus on completing before new work

Scenario 4: Stale Handoff

  • Significant time has passed
  • Major refactoring has occurred
  • Original approach may no longer apply
  • Need to re-evaluate strategy

Example Interaction Flow

User: /resume_handoff specification/feature/handoffs/handoff-0.md
Assistant: Let me read and analyze that handoff document...

[Reads handoff completely]
[Spawns research tasks]
[Waits for completion]
[Reads identified files]

I've analyzed the handoff from [date]. Here's the current situation...

[Presents analysis]

Shall I proceed with implementing the webhook validation fix, or would you like to adjust the approach?

User: Yes, proceed with the webhook validation
Assistant: This is a bugfix task, so I'll route to the `spark` agent.

[Uses Task tool with subagent_type="spark" and prompt containing:
 - The webhook validation fix task
 - Key learnings from handoff
 - Relevant file:line references
 - Patterns to follow]

[Waits for spark agent to complete]

The spark agent has completed the webhook validation fix. Moving to the next task...

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Coordinate background agents through saved files, keeping lengthy work transcripts out of the main conversation. It defines how to pass results between agents, monitor progress, and verify completed work with tests.

中文简介正在准备中。当前显示英语简介。

  • Keeping long agent transcripts out of the main conversation
  • Passing research and plans between agents through files
  • Checking for stalled background agents
parcadei/Continuous-Claude-v339462026年1月27日 更新

Delegate implementation, file reading, and testing to separate agents, then bring concise summaries back to the main conversation. The rules explain when delegation helps and when a small edit is better handled directly.

中文简介正在准备中。当前显示英语简介。

  • Implementing a feature across multiple files
  • Completing a specific phase of an implementation plan
  • Delegating feature development and testing
parcadei/Continuous-Claude-v339462026年1月27日 更新

Organize implementation work across research, planning, validation, implementation, and review agents. Each stage passes files to the next, while implementation starts with failing tests and the main conversation coordinates the workflow.

中文简介正在准备中。当前显示英语简介。

  • Dividing implementation work among specialized agents
  • Checking a plan against research before implementation
  • Writing failing tests before implementing changes
parcadei/Continuous-Claude-v339462026年1月27日 更新

Connect Agentica SDK agents to Claude Code CLI through a proxy, an intermediary server. Use setup and debugging guidance to address file permissions, streamed responses, result formatting, and agents reporting success without performing the requested operations.

中文简介正在准备中。当前显示英语简介。

  • Connecting Agentica agents to Claude Code tools
  • Investigating file write and edit permission errors
  • Debugging streaming and REPL response formats
parcadei/Continuous-Claude-v339462026年1月27日 更新

Consult Agentica APIs when building workflows where multiple AI agents cooperate. This reference covers eleven coordination patterns, agent tracking, shared state, handoffs, and ways to combine results, with pointers to detailed API specifications.

中文简介正在准备中。当前显示英语简介。

  • Choose a coordination pattern for multiple agents
  • Check pattern constructors and methods
  • Implement custom coordination patterns
parcadei/Continuous-Claude-v339462026年1月27日 更新

Write clearer instructions for Agentica and REPL agents by specifying roles, file operations, and output formats. Includes templates for dividing research, coordinating specialists, reviewing solutions, and passing results between agents through files.

中文简介正在准备中。当前显示英语简介。

  • Clarifying instructions for reading and editing files
  • Dividing research among multiple agents
  • Passing findings and plans between agents
parcadei/Continuous-Claude-v339462026年1月27日 更新

查看 parcadei 的全部技能

报告此技能的问题