Resume handoff

From juicesharp/rpiv-pi · View interactive version

Resume handoff is an AI agent skill from the GitHub repository juicesharp/rpiv-pi. Resume work from a handoff document. Reads handoff, verifies current state, and continues implementation. Use at the start of a new session to pick up where you left off.

How to use this skill

Skill file

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:
  1. 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: `/skill:resume-handoff thoughts/shared/handoffs/YYYY-MM-DD_HH-MM-SS_description.md`

Then wait for the user's input.

Process Steps

Step 1: Read and Analyze Handoff

  1. Read handoff document completely:
  1. Spawn focused research agents:

After reading all critical handoff/plan/research documents directly, spawn parallel general-purpose agents via the Agent tool to verify current codebase state and gather additional context:

```

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

```

  1. Wait for ALL agents to complete before proceeding
  1. Verify current state:

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:

Key Learnings Validated:

Recent Changes Status:

Artifacts Reviewed:

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:

```

Use the ask_user_question tool to confirm the approach. Question: "[Summary of recommended next action]. Proceed?". Header: "Resume". Options: "Proceed (Recommended)" (Begin with [recommended action 1]); "Adjust approach" (Change the order or scope of next steps); "Re-analyze" (The codebase has changed — re-verify state first).

Step 3: Create Action Plan

  1. Create a task list:
  1. 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: Begin Implementation

  1. Start with the first approved task
  2. Reference learnings from handoff throughout implementation
  3. Apply patterns and approaches documented in the handoff
  4. Update progress as tasks are completed

Guidelines

  1. Be Thorough in Analysis:
  1. Be Interactive:
  1. Leverage Handoff Wisdom:
  1. Track Continuity:
  1. Validate Before Acting:

Common Scenarios

Scenario 1: Clean Continuation

Scenario 2: Diverged Codebase

Scenario 3: Incomplete Handoff Work

Scenario 4: Stale Handoff

Example Interaction Flow

User: /skill:resume-handoff thoughts/shared/handoffs/2025-01-08_14-30-15_webhook-validation.md
Assistant: Let me read and analyze that handoff document...

[Reads handoff completely]
[Spawns research agents]
[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: [Creates todo list and begins implementation]
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.