Initial commit
This commit is contained in:
21
commands/resume.md
Normal file
21
commands/resume.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user