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

resume — команда для Claude Code: что делает и как установить

Восстанавливает контекст оркестровки задач в Claude Code после разрыва сессии или переключения между проектами.

Установить в Claude Code · Через claude-code-templates Все способы и платформы ↓
npx claude-code-templates@latest --command orchestration/resume
Открыть на GitHub

Что делает resume

Команда /orchestration/resume возвращает агента к незавершённым задачам. Она выводит текущий прогресс, список заблокированных шагов, недавние коммиты и файлы, которые нужно отредактировать следующими.

Данные считываются напрямую из EXECUTION-TRACKER.md, TASK-STATUS-TRACKER.yaml и рабочего дерева Git. Без этих файлов отслеживания в репозитории команде негде взять структуру задач и статусы исполнителей.

С помощью параметров можно продолжить последнюю оркестровку через --latest, взять готовый тикет флагом --pickup или сгенерировать сводку для передачи коллеге через --handoff.

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

  • восстановить контекст незавершённых задач после потери сессии
  • проверить блокировки и зависимости перед продолжением работы
  • взять следующую задачу в работу флагом --pickup
  • составить сводку статуса для утреннего дейли

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

  • /orchestration/resume --latest
  • /orchestration/resume --pickup TASK-013
  • /orchestration/resume --date 03_15_2024 --project auth_system

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

1Через claude-code-templates

npx claude-code-templates@latest --command orchestration/resume

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

.claude/commands/orchestration-resume.md

Встроенная /resume перекрывает файл с тем же именем, поэтому файл назван иначе. Вызов — /orchestration-resume. Для всех проектов — ~/.claude/commands/

Вопросы о resume

Как установить команду resume в Claude Code?

Выполните в терминале npx claude-code-templates@latest --command orchestration/resume либо сохраните файл команды по пути .claude/commands/orchestration-resume.md.

Что делает команда resume?

Она проверяет файлы трекинга и статус Git, а затем формирует отчёт: процент выполнения, зависшие задачи, активные ветки и план следующих действий.

Откуда команда берёт данные о ходе работы?

Сведения читаются из файлов EXECUTION-TRACKER.md, TASK-STATUS-TRACKER.yaml, описаний отдельных задач и локальной истории Git.

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

resume.md · MIT
---
description: "Resume work on existing task orchestrations after session loss or context switch."
---

# Orchestration Resume Command

Resume work on existing task orchestrations after session loss or context switch.

## Usage

```
/orchestration/resume [options]
```

## Description

Restores full context for active orchestrations, showing current progress, identifying next actions, and providing all necessary information to continue work seamlessly.

## Basic Commands

### List Active Orchestrations
```
/orchestration/resume
```
Shows all orchestrations with active (non-completed) tasks.

### Resume Specific Orchestration
```
/orchestration/resume --date 03_15_2024 --project auth_system
```
Loads complete context for a specific orchestration.

### Resume Most Recent
```
/orchestration/resume --latest
```
Automatically resumes the most recently active orchestration.

## Output Format

### Orchestration List View
```
Active Task Orchestrations
==========================

1. 03_15_2024/authentication_system
   Started: 3 days ago | Progress: 65% | Active Tasks: 3
   └─ Focus: JWT implementation, OAuth integration

2. 03_14_2024/payment_processing  
   Started: 4 days ago | Progress: 40% | Active Tasks: 2
   └─ Focus: Stripe webhooks, refund handling

3. 03_12_2024/admin_dashboard
   Started: 1 week ago | Progress: 85% | Active Tasks: 1
   └─ Focus: Final testing and deployment

Select orchestration to resume: [1-3] or use --date and --project
```

### Detailed Resume View
```
Resuming: authentication_system (03_15_2024)
============================================

## Current Status Summary
- Total Tasks: 24 (12 completed, 3 in progress, 2 on hold, 7 todos)
- Time Elapsed: 3 days
- Estimated Remaining: 2 days

## Tasks In Progress
┌──────────┬────────────────────────────┬───────────────┬──────────────┐
│ Task ID  │ Title                      │ Agent         │ Duration     │
├──────────┼────────────────────────────┼───────────────┼──────────────┤
│ TASK-003 │ JWT token validation       │ dev-backend   │ 2.5h         │
│ TASK-007 │ OAuth provider setup       │ dev-frontend  │ 1h           │
│ TASK-011 │ Integration tests          │ test-dev      │ 30m          │
└──────────┴────────────────────────────┴───────────────┴──────────────┘

## Blocked Tasks (Require Attention)
- TASK-005: User profile API - Blocked by TASK-003 (JWT validation)
- TASK-009: OAuth callback handling - Waiting for provider credentials

## Next Available Tasks (Ready to Start)
1. TASK-013: Password reset flow (4h, frontend)
   Files: src/auth/reset.tsx, src/api/auth.ts
   
2. TASK-014: Session management (3h, backend)
   Files: src/services/session.ts, src/middleware/auth.ts

## Recent Git Activity
- feature/jwt-auth: 2 commits behind, last commit 2h ago
- feature/oauth-setup: clean, last commit 1h ago

## Quick Actions
[1] Show TASK-003 details (current focus)
[2] Pick up TASK-013 (password reset)
[3] View dependency graph
[4] Show recent commits
[5] Generate status report
```

## Context Recovery Features

### Task Context
```
/orchestration/resume --task TASK-003
```
Shows:
- Full task description and requirements
- Implementation progress and notes
- Related files with recent changes
- Test requirements and status
- Dependencies and blockers

### File Context
```
/orchestration/resume --show-files
```
Lists all files mentioned in active tasks with:
- Last modified time
- Current git status
- Which tasks reference them

### Dependency Context
```
/orchestration/resume --deps
```
Shows dependency graph focused on active tasks.

## Working State Recovery

### Git State Summary
```
## Git Working State
Current Branch: feature/jwt-auth
Status: 2 files modified, 1 untracked

Modified Files:
- src/auth/jwt.ts (related to TASK-003)
- tests/auth.test.ts (related to TASK-003)

Untracked:
- src/auth/jwt.config.ts (new file for TASK-003)

Recommendation: Commit current changes before switching tasks
```

### Last Session Summary
```
## Last Session (2 hours ago)
- Completed: TASK-002 (Database schema)
- Started: TASK-003 (JWT validation)
- Commits: 2 (feat: add user auth schema, test: auth unit tests)
- Next planned: Continue TASK-003, then TASK-005
```

## Filtering Options

### By Status
```
/orchestration/resume --show in_progress,on_hold
```

### By Date Range
```
/orchestration/resume --since "last week"
```

### By Completion
```
/orchestration/resume --incomplete  # < 50% done
/orchestration/resume --nearly-done  # > 80% done
```

## Integration Features

### Direct Task Pickup
```
/orchestration/resume --pickup TASK-013
```
Automatically:
1. Shows task details
2. Moves to in_progress
3. Shows relevant files
4. Creates feature branch if needed

### Status Check Integration
```
/orchestration/resume --with-status
```
Includes full status report with resume context.

### Commit History
```
/orchestration/resume --commits 5
```
Shows last 5 commits related to the orchestration.

## Quick Resume Patterns

### Morning Standup
```
/orchestration/resume --latest --with-status
```
Perfect for daily standups - shows what you were working on and current state.

### Context Switch
```
/orchestration/resume --save-state
```
Saves current working state before switching to another orchestration.

### Team Handoff
```
/orchestration/resume --handoff
```
Generates detailed handoff notes for another developer.

## Examples

### Example 1: Quick Continue
```
/orchestration/resume --latest --pickup-where-left-off
```
Resumes exactly where you stopped, showing the in-progress task.

### Example 2: Monday Morning
```
/orchestration/resume --since friday --show-completed
```
Shows what was done Friday and what's next for Monday.

### Example 3: Multiple Projects
```
/orchestration/resume --all --summary
```
Quick overview of all active orchestrations.

## State Persistence

The command reads from:
- EXECUTION-TRACKER.md for progress metrics
- TASK-STATUS-TRACKER.yaml for current state
- Task files for detailed context
- Git for working directory state

## Best Practices

1. **Use at Session Start**: Run `/orchestration/resume` when starting work
2. **Save State**: Use `--save-state` before extended breaks
3. **Check Dependencies**: Review blocked tasks that may now be unblocked
4. **Commit Regularly**: Keep git state aligned with task progress

## Notes

- Automatically detects uncommitted changes related to tasks
- Suggests next actions based on dependencies and priorities
- Integrates with git worktrees if in use
- Preserves task history for full context

© davila7 · MIT · davila7/claude-code-templates

Похожие слэш-команды

Все слэш-команды по теме «Настройка агента: память, контекст, субагенты» →

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

Весь набор →
performance-audit Запускает аудит быстродействия кодовой базы: ищет медленные запросы к базе данных, оценивает сложность циклов и проверяет сборку. Помогает составить план оптимизаций. 661установок dependency-audit Команда проверяет зависимости проекта на уязвимости, лицензионные ограничения и устаревшие версии через пакетные менеджеры. 658установок setup-development-environment Слэш-команда разворачивает окружение разработки: рантаймы, инструменты, сборку, линтеры и конфиги. Пригодится, когда проект только разворачивают на новой машине. 651установок test-coverage Слэш-команда для Claude, которая измеряет покрытие тестами, находит непокрытые ветки и предлагает, что дописать. 637установок secrets-scanner Команда ищет в репозитории ключи API, пароли, сертификаты и другие чувствительные данные. Укажите область проверки или запустите полный поиск. 612установок pr-review Команда проверяет pull request с шести сторон: от продукта и качества кода до безопасности, DevOps и интерфейса. Она также требует сразу вносить найденные улучшения. 562установок nextjs-bundle-analyzer Слэш-команда для Claude, которая разбирает размер бандла Next.js и подсказывает, что урезать. 560установок design-rest-api Проектирует архитектуру REST API с эндпоинтами, аутентификацией и документацией OpenAPI с учётом текущего кода проекта. 559установок

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

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