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

43
commands/help.md Normal file
View File

@@ -0,0 +1,43 @@
---
description: Display help for the session management system
disable-model-invocation: true
---
Show help for the session management system:
## Session Management Commands
The session system helps document development work for future reference.
### Available Commands:
- `/session-start [name]` - Start a new session with optional name
- `/session-update [notes]` - Add notes to current session
- `/session-end` - End session with comprehensive summary
- `/session-list` - List all session files
- `/session-current` - Show current session status
- `/session-resume [filename]` - Resume a previous session
- `/session-help` - Show this help
### How It Works:
1. Sessions are markdown files in `.claude/sessions/`
2. Files use `YYYY-MM-DD-HHMM-name.md` format
3. Only one session can be active at a time
4. Sessions track progress, issues, solutions, and learnings
### Best Practices:
- Start a session when beginning significant work
- Update regularly with important changes or findings
- End with thorough summary for future reference
- Review past sessions before starting similar work
### Example Workflow:
```
/session-start refactor-auth
/session-update Added Google OAuth restriction
/session-update Fixed Next.js 15 params Promise issue
/session-end
```