session-context
从.sessions/index.md读取项目会话上下文以了解进行中的工作、以前的决策、障碍和历史。当用户询问项目上下文、以前的会话、之前完成的工作、架构决策、障碍或引用"上次"、"之前"、"会话"或"我们的决定"时使用。
📖 中文导读:从.sessions/index.md读取项目会话上下文以了解进行中的工作、以前的决策、障碍和历史。当用户询问项目上下文、以前的会话、之前完成的工作、架构决策、障碍或引用"上次"、"之前"、"会话"或"我们的决定"时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: session-context description: Read project session context from .sessions/index.md to understand ongoing work, previous decisions, blockers, and history. Use when the user asks about project context, previous sessions, what was worked on before, architectural decisions, blockers, or when they reference "last time", "previously", "the session", or "what we decided". allowed-tools: Read, Glob
Session Context
This project uses the Sessions Directory Pattern to maintain continuity across AI coding sessions. Context is stored in .sessions/index.md rather than relying on conversation memory.
When to Use This Skill
Read session context when the user:
- Asks about previous work or decisions
- References "last time", "previously", "before"
- Wants to know about blockers or pending issues
- Asks what the project status is
- Starts a significant task that might have prior context
Instructions
Read
.sessions/index.mdto understand:- Current project status and recent work
- Active decisions and their rationale
- Known blockers or pending issues
- Links to relevant plans or documentation
Check
.sessions/plans/if the user asks about implementation plansCheck
.sessions/docs/if the user asks about documented topicsFor monorepos, check
.sessions/packages/for package-specific context
File Structure
.sessions/
├── index.md # Main session context (read this first)
├── archive/ # Completed work history
├── docs/ # Topic documentation
├── plans/ # Implementation plans
├── prep/ # Pre-session context
└── packages/ # Monorepo package notes (if applicable)
Important
- This skill is for reading context, not updating it
- Session updates happen via
/end-sessionslash command - Don't modify
.sessions/index.mdunless explicitly asked