Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:03:19 +08:00
commit c4ecaac3b8
10 changed files with 280 additions and 0 deletions

21
commands/resume.md Normal file
View 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.