Files
gh-cadrianmae-claude-market…/commands/resume.md
2025-11-29 18:03:19 +08:00

22 lines
829 B
Markdown

---
description: Resume a previous development session
argument-hint: <filename>
allowed-tools: Bash, Read, Write
---
Resume a previous development session by:
1. Check if $ARGUMENTS contains a session filename
2. If no filename provided, list available sessions and ask user to specify one
3. Verify the session file exists in `.claude/sessions/`
4. If session file exists:
- Display the session filename and title
- Show the session overview (start time, initial goals)
- Calculate and show elapsed time since session started
- Show last few updates from the session file
- Update `.claude/sessions/.current-session` to contain this filename
- Confirm the session has been resumed
5. If session file doesn't exist, show error and list available sessions
Present the information in a clear, concise format.