bye
1
总安装量
1
周安装量
#42017
全站排名
安装命令
npx skills add https://github.com/eins78/skills --skill bye
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
claude-code
1
Skill 文档
Session Wrap-up
CRITICAL: Restore Full Session History First
Nothing proceeds until full history is reconstructed. Context compaction hides earlier work â you must recover it or the changelog will be incomplete.
- Use a subagent to analyze the session file (see subagent-tasks.md)
- Follow the tool-specific restoration guide:
- Claude Code: claude-code-session-restoration.md
- Cursor: cursor-session-restoration.md
- Combine restored history with current context before continuing
If restoration finds no prior work beyond current context, proceed â but log that restoration was attempted.
Parallel session safety: The user may have multiple sessions running. Filter by
$CLAUDE_SESSION_IDand timestamp correlation. Never combine work from other sessions. If uncertain, ASK.
Session Type Detection
After restoring history, classify the session:
| Signal | Type | Action |
|---|---|---|
"isSidechain": true or in subagents/ dir |
Subagent | STOP â do not run /bye |
messageCount <= 2, first msg contains "Context: This summary" |
Metadata session | SKIP â not a real work session |
First messages reference executing a plan; recent file in ~/.claude/plans/ |
Plan execution | Read plan file; changelog documents execution vs plan |
System message contains "Plan mode is active" |
Plan creation | Plan file is the deliverable |
| None of above | Normal | Continue with checklist |
Session Wrap-up Checklist
- Determine scope â everything between last /bye (or session start) and now. Verify each item was discussed in THIS conversation.
- Assess work â files created, files modified, decisions made, research done, tasks completed, tasks remaining.
- Trivial session? If just Q&A with no file changes, ask: “Skip changelog?”
- Create or update changelog â see changelog-template.md for format, naming, and create-vs-update logic.
- Update project status â if work relates to
projects/*/, update itsstatus.md. - Handle git â see git decision table below.
- Print final summary â see template below.
Git Decision Table
| Situation | Action |
|---|---|
| Files I created/edited THIS session | Auto-commit |
| Untracked files from before | ASK |
| Modified files I didn’t touch | ASK â likely parallel session |
| .env, credentials, secrets | NEVER, warn user |
Commit message: [Brief description]\n\nSession wrap-up: YYYY-MM-DD
Push if remote tracking exists.
Final Summary Template
## Session Complete
**Accomplished:**
- [item 1]
- [item 2]
**Committed:** [hash]
- [file list]
**Pending:**
- [ ] [task 1]
**Changelog:** `changelogs/[file].md`
Ready to clear context.