Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问clear审计通过

project-session-management项目会话管理

Agent Skill

project-session-management 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,376

周安装

383

GitHub Stars

750

下载量

3,033
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:project-session-management(项目会话管理)
来源仓库:https://github.com/jezweb/claude-skills
仓库路径:skills/project-session-management
安装命令:
npx skills add https://github.com/jezweb/claude-skills --skill project-session-management
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jezweb/claude-skills --skill project-session-management

简介

使用 SESSION.md 以及 git 检查点和具体的后续操作来跟踪工作会话的进度。

  • 将 IMPLMENTATION_PHASES.md 转换为活动的 SESSION.md 文档,该文档将阶段映射到会话,跟踪当前阶段(实现/验证/调试),并维护带有文件位置和行号的具体“下一步操作”指针
  • 提供 /wrap-session
  • 用于更新 SESSION.md、创建 git 检查点和输出摘要的命令; /继续会话
  • 用于加载上下文、显示 git 历史记录并从上一个操作恢复的命令
  • 区分阶段(具有退出标准的工作单元)和会话(上下文单元),允许多会话阶段和中间上下文检查点,而不会丢失进度
  • 使用表情符号状态图标(⏸️ 待处理、🔄 进行中、✅ 完成、🚫 阻止)和结构化检查点提交来实现可靠的上下文切换和阶段转换

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.77%
按下载量换算842

Gemini CLI

22.67%
按下载量换算688

Cursor

20.23%
按下载量换算614

Antigravity

14.33%
按下载量换算435

OpenCode

8.5%
按下载量换算258

Codex

3.95%
按下载量换算120

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills