ワンクリックで
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 職業分類に基づく
| 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) |
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