/whats-next
Analyze the current conversation and create a handoff document for continuing this work in a fresh context
$ npx -y skills add alirezarezvani/claude-code-tresor --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/whats-next
Context preview
What this command does when you run it.
Analyze the current conversation and create a handoff document for continuing this work in a fresh context
Command definition
whats-next.mdname: whats-next
description: Analyze the current conversation and create a handoff document for continuing this work in a fresh context
argument-hint: (no arguments)
allowed-tools: [Read, Write, Bash, WebSearch, WebFetch, Glob]
model: inherit
enabled: true
Create a comprehensive, detailed handoff document that captures all context from the current conversation. This allows continuing the work in a fresh context with complete precision.
Claude Code Tresor Integration
This command complements Tresor's memory bank system for comprehensive context management:
**Tresor Memory Bank** (Long-term project context):
- `projectbrief.md` - Project vision, goals, component taxonomy
- `productContext.md` - Tech stack, architectural decisions, conventions
- `activeContext.md` - Current state, priorities, next steps (updated regularly)
**TÂCHES Context Handoff** (Session-specific):
- `whats-next.md` - Detailed session handoff (created by this command)
**Usage Pattern**:
- Use Tresor's `activeContext.md` for ongoing daily/weekly work tracking
- Use `/whats-next` for complex task pauses or when context is full
- Reference both in next session for complete continuity
Instructions
**PRIORITY: Comprehensive detail and precision over brevity.** The goal is to enable someone (or a fresh Claude instance) to pick up exactly where you left off with zero information loss.
Adapt the level of detail to the task type (coding, research, analysis, writing, configuration, etc.) but maintain comprehensive coverage:
1. **Original Task**: Identify what was initially requested (not new scope or side tasks)
2. **Work Completed**: Document everything accomplished in detail
- All artifacts created, modified, or analyzed (files, documents, research findings, etc.)
- Specific changes made (code with line numbers, content written, data analyzed, etc.)
- Actions taken (commands run, APIs called, searches performed, tools used, etc.)
- Findings discovered (insights, patterns, answers, data points, etc.)
- Decisions made and the reasoning behind them
3. **Work Remaining**: Specify exactly what still needs to be done
- Break down remaining work into specific, actionable steps
- Include precise locations, references, or targets (file paths, URLs, data sources, etc.)
- Note dependencies, prerequisites, or ordering requirements
- Specify validation or verification steps needed
4. **Attempted Approaches**: Capture everything tried, including failures
- Approaches that didn't work and why they failed
- Errors encountered, blockers hit, or limitations discovered
- Dead ends to avoid repeating
- Alternative approaches considered but not pursued
5. **Critical Context**: Preserve all essential knowledge
- Key decisions and trade-offs considered
- Constraints, requirements, or boundaries
- Important discoveries, gotchas, edge cases, or non-obvious behaviors
- Relevant environment, configuration, or setup details
- Assumptions made that need validation
- References to documentation, sources, or resources consulted
6. **Current State**: Document the exact current state
- Status of deliverables (complete, in-progress, not started)
- What's committed, saved, or finalized vs. what's temporary or draft
- Any temporary changes, workarounds, or open questions
- Current position in the workflow or process
Write to `whats-next.md` in the current working directory using the format below.
Output Format
<original_task>
[The specific task that was initially requested - be precise about scope]
</original_task>
<work_completed>
[Comprehensive detail of everything accomplished:
- Artifacts created/modified/analyzed (with specific references)
- Specific changes, additions, or findings (with details and locations)
- Actions taken (commands, searches, API calls, tool usage, etc.)
- Key discoveries or insights
- Decisions made and reasoning
- Side tasks completed]
</work_completed>
<work_remaining>
[Detailed breakdown of what needs to be done:
- Specific tasks with precise locations or references
- Exact targets to create, modify, or analyze
- Dependencies and ordering
- Validation or verification steps needed]
</work_remaining>
<attempted_approaches>
[Everything tried, including failures:
- Approaches that didn't work and why
- Errors, blockers, or limitations encountered
- Dead ends to avoid
- Alternative approaches considered but not pursued]
</attempted_approaches>
<critical_context>
[All essential knowledge for continuing:
- Key decisions and trade-offs
- Constraints, requirements, or boundaries
- Important discoveries, gotcas, or edge cases
- Environment, configuration, or setup details
- Assumptions requiring validation
- References to documentation, sources, or resources]
</critical_context>
<current_state>
[Exact state of the work:
- Status of deliverables (complete/in-progress/not started)
- What's finalized vs. what's temporary or draft
- Temporary changes or workarounds in place
- Current position in workflow or process
- Any open questions or pending decisions]
</current_state>
Read more
name: whats-next description: Analyze the current conversation and create a handoff document for continuing this work in a fresh context argument-hint: (no arguments) allowed-tools: [Read, Write, Bash, WebSearch, WebFetch, Glob] model: inherit enabled: true
Create a comprehensive, detailed handoff document that captures all context from the current conversation. This allows continuing the work in a fresh context with complete precision.
Claude Code Tresor Integration
This command complements Tresor's memory bank system for comprehensive context management:
**Tresor Memory Bank** (Long-term project context):
- `projectbrief.md` - Project vision, goals, component taxonomy
- `productContext.md` - Tech stack, architectural decisions, conventions
- `activeContext.md` - Current state, priorities, next steps (updated regularly)
**TÂCHES Context Handoff** (Session-specific):
- `whats-next.md` - Detailed session handoff (created by this command)
**Usage Pattern**:
- Use Tresor's `activeContext.md` for ongoing daily/weekly work tracking
- Use `/whats-next` for complex task pauses or when context is full
- Reference both in next session for complete continuity
Instructions
**PRIORITY: Comprehensive detail and precision over brevity.** The goal is to enable someone (or a fresh Claude instance) to pick up exactly where you left off with zero information loss.
Adapt the level of detail to the task type (coding, research, analysis, writing, configuration, etc.) but maintain comprehensive coverage:
1. **Original Task**: Identify what was initially requested (not new scope or side tasks)
2. **Work Completed**: Document everything accomplished in detail
- All artifacts created, modified, or analyzed (files, documents, research findings, etc.)
- Specific changes made (code with line numbers, content written, data analyzed, etc.)
- Actions taken (commands run, APIs called, searches performed, tools used, etc.)
- Findings discovered (insights, patterns, answers, data points, etc.)
- Decisions made and the reasoning behind them
3. **Work Remaining**: Specify exactly what still needs to be done
- Break down remaining work into specific, actionable steps
- Include precise locations, references, or targets (file paths, URLs, data sources, etc.)
- Note dependencies, prerequisites, or ordering requirements
- Specify validation or verification steps needed
4. **Attempted Approaches**: Capture everything tried, including failures
- Approaches that didn't work and why they failed
- Errors encountered, blockers hit, or limitations discovered
- Dead ends to avoid repeating
- Alternative approaches considered but not pursued
5. **Critical Context**: Preserve all essential knowledge
- Key decisions and trade-offs considered
- Constraints, requirements, or boundaries
- Important discoveries, gotchas, edge cases, or non-obvious behaviors
- Relevant environment, configuration, or setup details
- Assumptions made that need validation
- References to documentation, sources, or resources consulted
6. **Current State**: Document the exact current state
- Status of deliverables (complete, in-progress, not started)
- What's committed, saved, or finalized vs. what's temporary or draft
- Any temporary changes, workarounds, or open questions
- Current position in the workflow or process
Write to `whats-next.md` in the current working directory using the format below.
Output Format
<original_task> [The specific task that was initially requested - be precise about scope] </original_task> <work_completed> [Comprehensive detail of everything accomplished: - Artifacts created/modified/analyzed (with specific references) - Specific changes, additions, or findings (with details and locations) - Actions taken (commands, searches, API calls, tool usage, etc.) - Key discoveries or insights - Decisions made and reasoning - Side tasks completed] </work_completed> <work_remaining> [Detailed breakdown of what needs to be done: - Specific tasks with precise locations or references - Exact targets to create, modify, or analyze - Dependencies and ordering - Validation or verification steps needed] </work_remaining> <attempted_approaches> [Everything tried, including failures: - Approaches that didn't work and why - Errors, blockers, or limitations encountered - Dead ends to avoid - Alternative approaches considered but not pursued] </attempted_approaches> <critical_context> [All essential knowledge for continuing: - Key decisions and trade-offs - Constraints, requirements, or boundaries - Important discoveries, gotcas, or edge cases - Environment, configuration, or setup details - Assumptions requiring validation - References to documentation, sources, or resources] </critical_context> <current_state> [Exact state of the work: - Status of deliverables (complete/in-progress/not started) - What's finalized vs. what's temporary or draft - Temporary changes or workarounds in place - Current position in workflow or process - Any open questions or pending decisions] </current_state>
A world-class collection of Claude Code utilities: autonomous skills, expert agents, slash commands, and prompts that supercharge your development workflow.
Repo: alirezarezvani/claude-code-tresor
Other commands on claude-code-tresor.
- /scaffold
Generate production-ready project structures, components, and boilerplate code with modern best practices and comprehensive tooling
Open command - /docs-gen
Generate comprehensive documentation from code including API docs, user guides, and interactive documentation with deployment automation
Open command - /deploy-validate
Pre-deployment validation with tests, security checks, config safety, and environment readiness verification
Open command - /health-check
Comprehensive system health verification for production monitoring and incident detection
Open command - /incident-response
Production incident coordination with emergency triage, RCA, and postmortem generation
Open command - /benchmark
Load testing and performance benchmarking with intelligent scenario generation
Open command

