К основному содержанию
скилл CX Codex

resume-handoff — скилл для Claude Code: возобновление работы по хендоффу

Читает хендофф-документ, сверяет его с текущим состоянием репозитория и предлагает план продолжения. Пригодится, когда сессия оборвалась и нужно быстро вернуть контекст.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add parcadei/Continuous-Claude-v3 --skill resume-handoff -a claude-code
npx skills add parcadei/Continuous-Claude-v3 --skill resume_handoff -a claude-code
Открыть на GitHub

Что делает resume-handoff

Скилл подхватывает работу с того места, где остановилась предыдущая сессия. Он читает хендофф-документ целиком, затем подтягивает связанные файлы из thoughts/shared/plans и thoughts/shared/research — без субагентов, напрямую, чтобы не потерять контекст.

Дальше идёт анализ: скилл сверяет задачи, изменения и выводы из хендоффа с реальным состоянием кода. На основе этого он предлагает план действий и спрашивает подтверждение. После подтверждения план превращается в todo-список через TodoWrite, а выполнение задач маршрутизируется на специализированных агентов — kraken для крупных фич, spark для быстрых правок, sleuth для отладки, oracle для внешней документации.

Запустить можно тремя способами: с путём к документу, с номером тикета вроде ENG-2124 или без аргументов — тогда скилл сам покажет доступные хендоффы. Файлы хендоффов лежат в thoughts/shared/handoffs/ENG-XXXX, имя содержит дату и время в формате YYYY-MM-DD_HH-MM-SS, так что выбор последнего документа идёт по имени файла. Скилл требует структуру папок с thoughts/shared — без неё искать будет нечего.

Какие задачи решает

  • вернуть контекст после обрыва сессии
  • найти последний хендофф по номеру тикета
  • сверить выводы из хендоффа с текущим кодом
  • составить todo-список из action items
  • передать задачу подходящему агенту вместо прямой реализации

Примеры запросов агенту

  • Продолжи работу по хендоффу thoughts/shared/handoffs/ENG-2124/2025-03-14_10-30-00_ENG-2124_description.md
  • Возобнови работу по тикету ENG-2124
  • Покажи доступные хендоффы и помоги выбрать, с какого продолжить

Как установить resume-handoff

1Через Skills CLI (Vercel)

npx skills add parcadei/Continuous-Claude-v3 --skill resume-handoff -a claude-code
npx skills add parcadei/Continuous-Claude-v3 --skill resume_handoff -a claude-code

2Вручную: положить файлы

~/.claude/skills/resume_handoff/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/resume_handoff/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о resume-handoff

Как установить resume-handoff в Claude Code?

Выполни npx skills add parcadei/Continuous-Claude-v3 --skill resume-handoff -a claude-code либо npx skills add parcadei/Continuous-Claude-v3 --skill resume_handoff -a claude-code. Скилл попадёт в ~/.claude/skills/resume_handoff/SKILL.md.

Что делает resume-handoff?

Читает хендофф-документ и связанные файлы, сверяет описанное с текущим состоянием репозитория, предлагает план действий. После подтверждения создаёт todo-список и передаёт задачи специализированным агентам.

Что нужно для работы скилла?

Нужна структура папок thoughts/shared/handoffs/ для хендоффов и thoughts/shared/plans или thoughts/shared/research для связанных документов. Скилл полагается на имена файлов с датой и временем, чтобы выбрать самый свежий хендофф.

Исходный текст

SKILL.md · MIT
---
name: resume-handoff
description: Resume work from handoff document with context analysis and validation
---

# 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):**
   | Agent | Domain | Use For |
   |-------|--------|---------|
   | `kraken` | implement | Large features, new systems, major components |
   | `architect` | plan | Feature design, system architecture, implementation planning |
   | `phoenix` | plan | Refactoring plans, migrations, codebase restructuring |
   | `herald` | deploy | Releases, deployments, publishing |
   | `maestro` | orchestrate | Complex multi-agent workflows |

   **Workers (focused specialists):**
   | Agent | Domain | Use For |
   |-------|--------|---------|
   | `spark` | implement | Quick fixes, patches, minor tweaks |
   | `scribe` | document | Documentation, guides, explanations |
   | `sleuth` | debug | Bug investigation, tracing, root cause analysis |
   | `aegis` | debug | Security audits, vulnerability scanning |
   | `profiler` | debug | Performance optimization, bottleneck analysis |
   | `arbiter` | validate | Unit tests |
   | `atlas` | validate | E2E/integration tests |
   | `oracle` | research | External docs, best practices, how-to |
   | `scout` | research | Codebase exploration, finding existing code |
   | `pathfinder` | research | Repository structure analysis |
   | `plan-reviewer` | review | Feature plan review, design validation |
   | `plan-reviewer` | review | Migration review, refactoring validation |
   | `chronicler` | session | Session 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...
```

© parcadei · MIT · parcadei/Continuous-Claude-v3

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок ask-matt Matt Pocock Помогает выбрать подходящий скилл или рабочий поток из набора Matt Pocock. Пригодится, когда непонятно, с чего начать задачу: от идеи до разбора бага. 766 587установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. 711 230установок writing-plans Jesse Vincent Скилл превращает требования к многошаговой задаче в подробный план реализации до начала работы с кодом. Пригодится, когда исполнителю нужно зафиксировать файлы, интерфейсы и проверки. CX Codex 282 859установок caveman-review JuliusBrussee Пишет замечания к коду одной строкой: место, проблема, исправление. Пригодится, когда ревью диффа или PR надо пройти быстро и без воды. CX Codex +1 411 800установок caveman-compress JuliusBrussee Сжимает CLAUDE.md, списки задач и другие текстовые файлы в краткий формат, сохраняя читаемую резервную копию. CX Codex +1 411 500установок

Из того же набора77

tldr-deep Скилл разбирает отдельную функцию по пяти аналитическим слоям через утилиту tldr. Помогает при отладке и рефакторинге запутанного кода. CX Codex +1 481установок migrate Ведёт миграцию от исследования цели до проверки изменений. Пригодится при обновлении фреймворка, языка, базы данных или инфраструктуры. CX Codex +1 481установок reference-sdk Скилл находит примеры реализации в эталонных SDK через утилиту btca. Он подсказывает агенту, как устроены стриминг, вызовы инструментов и валидация у других библиотек. CX Codex +1 480установок tour Показывает дружелюбный обзор возможностей агента, когда пользователь спрашивает, с чего начать или что доступно. Пригодится для первого знакомства с проектом. CX Codex +1 480установок agentica-prompts Скилл задаёт шаблоны и правила промптов для агентов Agentica и REPL. Убирает двусмысленность инструкций и организует обмен данными через файлы. CX Codex +1 478установок tldr-router Подсказывает агенту, какую команду tldr запустить под конкретный вопрос: дерево файлов, вызовы, сложность, поток данных. CX Codex +1 477установок tdd-migrate Оркестрирует миграции через TDD: агенты анализируют код, пишут тесты, реализуют изменения и проверяют результат. Нужен для серии похожих переносов по образцу. CX Codex +1 476установок validate-agent Субагент читает план, выписывает библиотеки и архитектурные решения и проверяет их по актуальным практикам. Пригодится перед тем, как начинать реализацию. CX Codex +1 476установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой