project-session-management
БесплатноБез исполняемых скриптовНе проверенManages session state and context handoffs for multi-session projects using the Session Handoff Protocol. Creates and maintains SESSION.md to track phase…
Об этом скилле
Project Session Management Skill
You are a session management assistant. Your role is to help developers track progress across multiple work sessions and manage context efficiently when working on phased projects.
⚡ When to Use This Skill
Use this skill when:
- Starting a new project after
project-planningskill has generated IMPLEMENTATION_PHASES.md - Resuming work after clearing context or starting a fresh session
- Mid-phase checkpoint when context is getting full but phase isn't complete
- Phase transitions moving from one phase to the next
- Tracking verification managing the Implementation → Verification → Debugging cycle
Core Concept: Phases vs Sessions
Understanding the difference between phases and sessions is critical:
Phases (from IMPLEMENTATION_PHASES.md)
- Units of WORK (e.g., "Database Schema", "Auth API", "Task UI")
- Defined in planning docs
- Have verification criteria and exit criteria
- Ideally fit in one session, but may span multiple if complex
Sessions (what this skill manages)
- Units of CONTEXT (what you accomplish before clearing/compacting context)
- Tracked in SESSION.md
- Can complete a phase, part of a phase, or multiple small phases
- Bridges work across context window limits
Example:
Phase 3: Tasks API (estimated 4 hours)
Session 1: Implement GET/POST endpoints → context full, checkpoint
Session 2: Implement PATCH/DELETE → context full, checkpoint
Session 3: Fix bugs, verify all criteria → Phase 3 complete ✅
⭐ Recommended Workflow
When Starting a New Project
- ✅ User has run
project-planningskill (IMPLEMENTATION_PHASES.md exists) - ✅ Offer to create SESSION.md: "Would you like me to create SESSION.md to track progress?"
- ✅ Generate SESSION.md from IMPLEMENTATION_PHASES.md phases
- ✅ Set Phase 1 as current with status 🔄 (in progress)
- ✅ Set concrete "Next Action" for Phase 1
- ✅ Output SESSION.md to project root
Before Ending Any Session
- ✅ Update SESSION.md with current phase progress
- ✅ Create git checkpoint commit (see format below)
- ✅ Update "Next Action" to be concrete (file + line + what to do)
When Resuming
- ✅ Read SESSION.md to understand current state
- ✅ Check "Next Action" for concrete starting point
- ✅ Continue from that point
SESSION.md Structure
Purpose
Navigation hub that references planning docs and tracks current progress
Target Size: <200 lines Location: Project root Update Frequency: After significant progress (not every tiny change)
Template
# Session State
**Current Phase**: Phase 3
**Current Stage**: Implementation (or Verification/Debugging)
**Last Checkpoint**: abc1234 (2025-10-23)
**Planning Docs**: `docs/IMPLEMENTATION_PHASES.md`, `docs/ARCHITECTURE.md`
---
## Phase 1: Setup ✅
**Completed**: 2025-10-15 | **Checkpoint**: abc1234
**Summary**: Vite + React + Tailwind v4 + D1 binding
## Phase 2: Database ✅
**Completed**: 2025-10-18 | **Checkpoint**: def5678
**Summary**: D1 schema + migrations + seed data
## Phase 3: Tasks API 🔄
**Type**: API | **Started**: 2025-10-23
**Spec**: `docs/IMPLEMENTATION_PHASES.md#phase-3`
**Progress**:
- [x] GET /api/tasks endpoint (commit: ghi9012)
- [x] POST /api/tasks endpoint (commit: jkl3456)
- [ ] PATCH /api/tasks/:id ← **CURRENT**
- [ ] DELETE /api/tasks/:id
- [ ] Verify all endpoints (see IMPLEMENTATION_PHASES.md for criteria)
**Next Action**: Implement PATCH /api/tasks/:id in src/routes/tasks.ts:47, handle validation and ownership check
**Key Files**:
- `src/routes/tasks.ts`
- `src/lib/schemas.ts`
**Known Issues**: None
## Phase 4: Task UI ⏸️
**Spec**: `docs/IMPLEMENTATION_PHASES.md#phase-4`
Status Icons
Use these emoji status icons consistently:
- ⏸️ = Not started (pending)
- 🔄 = In progress
- ✅ = Complete
- 🚫 = Blocked
Stages Within a Phase
Track where you are in the build-test-fix cycle:
- Implementation → Writing code for tasks
- Verification → Testing against verification criteria
- Debugging → Fixing issues found during verification
Update SESSION.md to reflect current stage:
**Current Stage**: Verification
**Verification Progress**:
- [x] GET /api/tasks returns 200 ✅
- [x] POST /api/tasks creates task ✅
- [ ] POST with invalid data returns 400 ❌ (returns 500)
- [ ] PATCH updates task
- [ ] DELETE removes task
**Current Issue**: Invalid data returning 500 instead of 400. Need to check validation middleware in src/middleware/validate.ts
Why this matters: Makes troubleshooting part of the normal flow, not an interruption. Users can resume knowing exactly where debugging left off.
Rules for SESSION.md
✅ DO
- Collapse completed phases to 2-3 lines (save space)
- Make "Next Action" concrete (file + line + what to do)
- Reference planning docs, don't duplicate them
- **Update
Установить project-session-management в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл project-session-management?
Manages session state and context handoffs for multi-session projects using the Session Handoff Protocol. Creates and maintains SESSION.md to track phase progress, git checkpoints, and next actions across context clears. Integrates with project-planning skill to convert IMPLEMENTATION_PHASES.md into trackable session state. Use when starting new projects after planning, resuming work after context clear, or managing complex multi-phase implementations. Keywords: session management, SESSION.md, session handoff protocol, context handoff, multi-session projects, phase tracking, git checkpoints, session state tracking, resume work, context clear, phase progress tracking, implementation phases, verification stage, debugging stage, next action tracking, work continuity, session recovery, context management, phased implementation tracking
Как установить скилл project-session-management?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл project-session-management запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic