一键导入
session-begin
Complete verification steps before starting any work session
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Complete verification steps before starting any work session
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run a single-session AI optimization audit on the codebase
Run a single-session code review audit on the codebase
Run a single-session engineering productivity audit on the codebase
Run a comprehensive enhancement audit across the entire project - code, product, UX, content, workflows, infrastructure, external services, and meta-tooling.
Run a single-session performance audit on the codebase
Run a comprehensive multi-stage automation audit with parallel agents
| name | session-begin |
| description | Complete verification steps before starting any work session |
IMPORTANT - Duplicate Detection:
Before proceeding with the full checklist, check if this session was already started:
If ANY of these are true:
If ALL are false:
Before starting any work, complete these verification steps:
/session-beginOn session start, check for any uncommitted work or interrupted sessions from previous conversations:
git status
git log --oneline -5
If prior session appears to have missed cleanup, update SESSION_CONTEXT.md accordingly.
Search past conversations for relevant context using episodic memory. This helps recover decisions, solutions, and patterns from previous sessions.
Use mcp__plugin_episodic-memory_episodic-memory__search with these
queries:
// Search for context on current work
search({ query: ['current branch/feature name', 'decisions'] });
// Search for past errors if debugging
search({ query: 'error message or pattern' });
// Search for established patterns
search({ query: ['component/module name', 'patterns'] });
When to search:
| Situation | Query Example |
|---|---|
| Starting feature work | ["feature-name", "decisions", "approach"] |
| Debugging an error | "TypeError: Cannot read property" |
| Code review prep | ["module-name", "review", "patterns"] |
| Resuming paused work | ["branch-name", "context", "next steps"] |
Tips:
limit: 5 for focused results, limit: 20 for broader searchSummarize findings for the user if relevant context is found.
Documentation often drifts from reality. Before trusting any status in docs, verify against actual commits:
# Check recent commits to see actual work done
git log --oneline -30
# Check commits since last documented session date
git log --oneline --since="YYYY-MM-DD"
Compare commits against documented status:
If docs are stale:
docs/archive/ are excluded from linting if
applicabledocs/archive/completed-plans/ if
applicableDECISION TREE:
├─ New project/domain? → Use '/find-skills' to discover capabilities
├─ Bug/Error? → Use 'systematic-debugging' skill FIRST
├─ Writing code? → Use 'code-reviewer' agent AFTER completion
├─ Security work? → Use 'security-auditor' agent
├─ UI/Frontend? → Use 'frontend-design' skill
├─ Complex task? → Check available skills with /skills
└─ Multi-step task? → Use TodoWrite to track progress
When receiving code review feedback (CodeRabbit, Qodo, etc.):
Before writing code, review any project-specific anti-patterns documented in CLAUDE.md or equivalent. Key universal patterns:
.* in patterns; use bounded
[\s\S]{0,N}?Check for any pending work from previous sessions:
# Check for unfinished task state files
ls .claude/state/task-*.state.json 2>/dev/null
# Check handoff file if it exists
cat .claude/state/handoff.json 2>/dev/null
If task state files exist with in_progress steps, review them before starting
new work.
Ready to begin session. What would you like to work on?
| Version | Date | Description |
|---|---|---|
| 1.0 | 2026-02-25 | Initial implementation |
| 1.1 | 2026-03-01 | Sanitized for framework repo (removed app-specific steps) |