From drupal-dev-framework
Resumes work on existing projects: lists from registry JSON, reads project_state.md for state summary and phase, scans in-progress tasks, suggests next actions. Triggers: 'pick up where I left off'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/drupal-dev-framework:session-resumeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Restore context when starting a new session on an existing project.
Restore context when starting a new session on an existing project.
!git branch --show-current 2>/dev/null
Activate when:
First, check the project registry:
Use Read on ~/.claude/drupal-dev-framework/active_projects.json
If registry exists and has projects, show:
## Registered Projects
| # | Name | Phase | Last Accessed | Path |
|---|------|-------|---------------|------|
| 1 | {name} | Phase {N} | {date} | {path} |
| 2 | {name} | Phase {N} | {date} | {path} |
Enter number to resume, or 'new' for unregistered project:
If project path provided directly, use it.
If registry doesn't exist or is empty:
No registered projects found.
Enter the project path or name:
Use Read on {project_path}/project_state.md
If file not found:
No project_state.md found at {path}.
Options:
1. Different path
2. Initialize new project here
3. Cancel
Your choice:
Invoke phase-detector skill to determine phase.
From project_state.md, extract:
Use Glob to find:
{project_path}/implementation_process/in_progress/*.md
If tasks in progress, use Read on each to get:
Format as:
## Resuming: {Project Name}
### Project Path
{full_path}
### Current Phase
Phase {N} - {Research/Architecture/Implementation}
### Last Session Summary
{From project_state.md Current Focus}
### Key Decisions Made
- {Decision 1}
- {Decision 2}
### Where We Left Off
{Description of last activity}
### Active Tasks
| Task | Status | Progress |
|------|--------|----------|
| {task 1} | In Progress | {last note} |
### Suggested Next Action
{Based on project state and phase}
---
Ready to continue? What would you like to work on?
If Phase 3 and tasks in progress, ask:
Active task: {task_name}
Load full context for this task? (yes/different task/overview first)
If yes, invoke task-context-loader for that task.
Update the project's lastAccessed date in ~/.claude/drupal-dev-framework/active_projects.json.
Also update the phase field if it has changed based on phase detection.
After user confirms direction:
For rapid context restoration:
Quick resume: {project_name}
- Phase: {N}
- Focus: {current_focus}
- Active task: {task or "none"}
- Next: {suggested action}
Continue with {suggested action}? (yes/other)
STOP and wait for user:
npx claudepluginhub camoa/claude-skills --plugin drupal-dev-frameworkRestores session context from a previous Claude Code session after context resets, compaction, or new conversations. Checks for handoff files and project state to resume work.
Resumes coding sessions by detecting blockers, reconciling STATE.md with filesystem, and suggesting next actions from checkpoints or plans.
Maintains a living STATE.md document tracking current project context, active tasks, blockers, and next steps. Auto-loads at session start or on explicit commands like 'update state' or 'where was I'.