Slash Command132 estrellas del repoactualizado 1mo ago
handoff
Create a handoff file for another session to pick up
Instalar en Claude Code
Copiarmkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/HelloRuru/claude-memory-engine/HEAD/commands/handoff.md -o ~/.claude/commands/handoff.mdDespués abre una sesión nueva de Claude Code; el slash command carga automáticamente.
Definición
handoff.md
# Session Handoff
Generate a handoff file so another Claude Code session can continue where this one left off.
## Steps
1. **Analyze current session** — What are you working on right now? What files have been modified? What decisions were made?
2. **Write handoff file** — Save to the project's memory directory as `handoff-{topic}.md` with this format:
```markdown
---
name: handoff-{topic}
description: {one-line summary of what needs to be handed off}
type: project
---
# {Title} Handoff
**Status:** {what's done / what's pending}
**Date:** {today}
## What was done
{bullet list of completed work}
## What's left to do
- [ ] {pending task 1}
- [ ] {pending task 2}
## Key decisions
{any decisions the next session needs to know about}
## Files modified
{list of files changed in this session}
```
3. **Confirm** — Tell the user the handoff file has been saved and will be automatically detected by the next session.
## How it works
- **SessionStart hook** automatically reads all unread `handoff-*.md` files when a new conversation starts
- **memory-sync hook** detects new handoff files appearing mid-conversation and alerts immediately
- Handoff files are tracked in `.handoff-read.json` so they're only shown onceDel mismo repositorio
analyzeSlash Command
Analyze user corrections and log them into the error notebook
correctSlash Command
Review the error notebook — flip through past corrections before working
訂正Slash Command
翻錯題本 — 複習之前被改過的地方
memory-engineSkill
Memory management system for Claude Code — Student Loop, Smart Context, Auto Learn, Session Handoff, Correction Cycle. Triggered by memory commands (/save, /reflect, /handoff, /check) or memory-related questions. Not for general programming tasks.