Main Site โ†—

project-session-management

by jezweb67224GitHub

Track progress across sessions using SESSION.md with git checkpoints and concrete next actions. Converts IMPLEMENTATION_PHASES.md into trackable session state. Use when: resuming work after context clears, managing multi-phase implementations, or troubleshooting lost context.

Unlock Deep Analysis

Use AI to visualize the workflow and generate a realistic output preview for this skill.

Powered by Fastest LLM

Target Audience

Developers working on medium to large projects across multiple coding sessions, especially those using Claude for development assistance

10/10Security

Low security risk, safe to use

9
Clarity
8
Practicality
8
Quality
7
Maintainability
8
Innovation
Development
Compatible Agents
Claude Code
Claude Code
~/.claude/skills/
Codex CLI
Codex CLI
~/.codex/skills/
Gemini CLI
Gemini CLI
~/.gemini/skills/
O
OpenCode
~/.opencode/skills/
O
OpenClaw
~/.openclaw/skills/
GitHub Copilot
GitHub Copilot
~/.copilot/skills/
Cursor
Cursor
~/.cursor/skills/
W
Windsurf
~/.codeium/windsurf/skills/
C
Cline
~/.cline/skills/
R
Roo Code
~/.roo/skills/
K
Kiro
~/.kiro/skills/
J
Junie
~/.junie/skills/
A
Augment Code
~/.augment/skills/
W
Warp
~/.warp/skills/
G
Goose
~/.config/goose/skills/
SKILL.md

Project Session Management Skill

Track progress across work sessions using SESSION.md with git checkpoints and concrete next actions.


When to Use

  • Starting projects after project-planning generates IMPLEMENTATION_PHASES.md
  • Resuming work after context clears
  • Mid-phase checkpoints when context is full
  • Phase transitions
  • Tracking Implementation โ†’ Verification โ†’ Debugging cycle

Phases vs Sessions

Phases (IMPLEMENTATION_PHASES.md): Units of WORK (e.g., "Database Schema", "Auth API"). Have verification/exit criteria. May span multiple sessions.

Sessions (SESSION.md): Units of CONTEXT. Complete before clearing/compacting context. Can complete a phase, part of a phase, or multiple small phases.

Example: Phase 3 (Tasks API) โ†’ Session 1 (GET/POST) โ†’ Session 2 (PATCH/DELETE) โ†’ Session 3 (verify) โœ…


Workflow

Starting New Project:

  1. After project-planning creates IMPLEMENTATION_PHASES.md, offer: "Create SESSION.md to track progress?"
  2. Generate SESSION.md from phases, set Phase 1 as ๐Ÿ”„ (in progress), set concrete "Next Action"

Ending Session:

  • Automated: /wrap-session (updates SESSION.md, creates checkpoint commit, outputs summary)
  • Manual: Update SESSION.md โ†’ git checkpoint โ†’ set concrete "Next Action"

Resuming:

  • Automated: /continue-session (loads context, shows summary, continues from "Next Action")
  • Manual: Read SESSION.md โ†’ check "Next Action" โ†’ continue

Automation Commands

/wrap-session: Analyzes state โ†’ updates SESSION.md โ†’ updates related docs โ†’ creates checkpoint commit โ†’ outputs summary โ†’ optionally pushes

/continue-session: Loads SESSION.md + planning docs โ†’ shows git history + summary โ†’ displays verification criteria (if in Verification stage) โ†’ opens "Next Action" file โ†’ asks permission to continue


SESSION.md Structure

Purpose: Navigation hub referencing planning docs, tracking current progress Target: <200 lines in project root Update: After significant progress (not every 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

  1. Implementation โ†’ Writing code
  2. Verification โ†’ Testing against criteria
  3. Debugging โ†’ Fixing issues

Update SESSION.md with current stage and progress. Example:

**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)

**Current Issue**: Invalid data returning 500. Check src/middleware/validate.ts

SESSION.md Guidelines

โœ… Collapse completed phases (2-3 lines), concrete "Next Action" (file+line+task), reference planning docs, checkpoint at phase end or when context full

โŒ No code copying, no duplicating IMPLEMENTATION_PHASES.md, no vague actions, keep <200 lines


Git Checkpoint Format

checkpoint: Phase [N] [Status] - [Brief Description]

Phase: [N] - [Name]
Status: [Complete/In Progress/Paused]
Session: [What was accomplished this session]

Files Changed:
- path/to/file.ts (what changed)

Next: [Concrete next action]

Example (Phase Complete):

checkpoint: Phase 3 Complete - Tasks API

Phase: 3 - Tasks API
Status: Complete
Session: Completed all CRUD endpoints and verified functionality

Files Changed:
- src/routes/tasks.ts (all CRUD operations)
- src/lib/schemas.ts (task validation)

Next: Phase 4 - Start building Task List UI component

Expected Uncommitted Files (CRITICAL)

Checkpoint Cycle: /wrap-session creates commit โ†’ gets hash โ†’ updates SESSION.md with hash. Therefore SESSION.md is always uncommitted when resuming (BY DESIGN).

Expected uncommitted files (no warning):

  • SESSION.md - Checkpoint hash updated post-commit, always uncommitted between sessions (NORMAL)
  • CLAUDE.md - Often updated during dev, may be uncommitted (NORMAL)
  • .roomodes - Editor/IDE state, not relevant to session handoff (SAFE TO IGNORE)

Warning triggers (unexpected):

  • Source files (.ts, .tsx, .js)
  • Config files (vite.config.ts, wrangler.jsonc)
  • Planning docs (IMPLEMENTATION_PHASES.md, ARCHITECTURE.md)
  • New untracked files

/continue-session behavior:

  • โ„น๏ธ Info message when only SESSION.md/CLAUDE.md/.roomodes uncommitted
  • โš ๏ธ Warning when code/doc changes uncommitted (shows filtered list excluding expected files)

Context Management

Context full mid-phase: Update SESSION.md โ†’ checkpoint โ†’ clear context โ†’ read SESSION.md + planning docs โ†’ continue from "Next Action"

Phase complete: Check verification criteria โ†’ mark ๐Ÿ”„โ†’โœ… โ†’ checkpoint โ†’ move next phase โธ๏ธโ†’๐Ÿ”„

Troubleshooting: Update to "Debugging" stage โ†’ document "Current Issue" โ†’ when fixed, return to "Verification" or "Implementation"


Integration with project-planning

project-planning generates IMPLEMENTATION_PHASES.md (the plan) โ†’ project-session-management creates SESSION.md (the tracker) โ†’ work through phases โ†’ git checkpoints โ†’ resume from SESSION.md

Planning docs (/docs): Reference material, rarely change SESSION.md (root): Living document, updates constantly


Creating SESSION.md for New Project

After project-planning runs:

  1. Read IMPLEMENTATION_PHASES.md
  2. Create SESSION.md in root: Phase 1 as ๐Ÿ”„, others as โธ๏ธ
  3. Expand Phase 1 with task checklist
  4. Set concrete "Next Action"
  5. Output for review

Offer: "Would you like me to create SESSION.md to track progress through these phases? (clear current phase, progress tracking, easy resume, git checkpoint format)"


Bundled Resources

Templates: SESSION.md.template, checkpoint-commit-format.md, CLAUDE-session-snippet.md

Scripts: resume.sh (show current state)

References: session-handoff-protocol.md, best-practices.md

Source: https://github.com/jezweb/claude-skills#skills-project-session-management

Content curated from original sources, copyright belongs to authors

Grade A
8.2AI Score
Best Practices
Checking...
Try this Skill

User Rating

USER RATING

0UP
0DOWN
Loading files...

WORKS WITH

Claude Code
Claude
Codex CLI
Codex
Gemini CLI
Gemini
O
OpenCode
O
OpenClaw
GitHub Copilot
Copilot
Cursor
Cursor
W
Windsurf
C
Cline
R
Roo
K
Kiro
J
Junie
A
Augment
W
Warp
G
Goose