SKILL.md
Resume Work
Relative plugin paths in this skill are resolved from this SKILL.md.
Load and display session context to resume work after a break or new conversation.
When to Use This Skill
Proactively invoke when user:
- Asks "what's next?", "where was I?", "what was I working on?"
- Starts a conversation on a non-main branch without context
- Returns from a break and seems to need orientation
- Asks about current task, issue, or progress
Context Files (Auto-Injected)
../../rules/sessions.md: Rules for session workflow../../context/sessions.md: Session file structure and patterns
Read these files for complete session management guidance.
Quick Reference
Load Session
- Get current branch:
``bash git branch --show-current ``
- Sanitize branch name (replace
/with-)
- Read session file:
`` .claude/sessions/<sanitized-branch>.md ``
Display Context
Show the user:
- Goal - What we're trying to accomplish
- Approach - How we planned to do it
- Next Steps - What's remaining (focus here)
- Recent Session Log - Last 2-3 entries for context
Example Output
Resuming session for issue/feature-42/auth
Goal: Add user authentication to the application
Approach: JWT-based auth with httpOnly cookies
Next Steps:
- [ ] Add logout endpoint
- [ ] Implement token refresh
- [x] Create login form
Recent activity:
- 2024-01-15: Implemented login form and JWT handling
- 2024-01-14: Set up auth middleware
What This Skill Does NOT Do
- Create new sessions (use
memento:session create) - Update session content (edit directly or use hooks)
- Handle branch switching (handled by the
SessionStartandUserPromptSubmithooks)
Key Rules (from ../../rules/sessions.md)
- Never guess branch - always
git branch --show-current - Session = Branch = Issue - 1:1:1 mapping
- Read session FIRST on resume - before any other action