Load plugin context from handoff files to resume work...
Purpose: Universal entry point for resuming plugin work from .continue-here.md handoff files. Handles workflow, ideation, mockup, and improvement resume scenarios.
Capabilities:
CRITICAL: This skill MUST NOT implement workflow stages directly.
When resuming workflow (Stages 0-3), this skill:
orchestration_mode: true in handoff YAMLNEVER bypass orchestration_mode. This enforces the dispatcher pattern:
See references/continuation-routing.md Step 4a-1 for complete protocol.
What is orchestration_mode?
When enabled in handoff YAML, this flag activates the dispatcher pattern: plugin-workflow orchestrates implementation by invoking subagents in fresh contexts. When disabled (legacy mode), context-resume directly routes to implementation skills. Modern workflows always use orchestration_mode for consistent subagent dispatch and clean context isolation.
The system uses 2 handoff locations, checked in priority order:
Priority 1: Main Workflow Handoff
plugins/[PluginName]/.continue-here.md
Plugin in active development (Stages 0-3, ideation, improvement planning). Contains stage, phase, orchestration_mode, next_action, completed work, next steps.
Priority 2: Mockup Handoff
plugins/[PluginName]/.ideas/mockups/.continue-here.md
UI mockup iteration in progress. Contains mockup_version, iteration notes, finalization status.
Search order: Priority 1 → 2. If multiple found, present disambiguation menu to user (see references/handoff-location.md Step 1c).
Progress Tracking:
Copy this checklist to track your progress:
Context Resume Progress:
- [ ] Step 1: Locate handoff file (check 2 locations, disambiguate if needed)
- [ ] Step 2: Parse context (YAML + markdown body)
- [ ] Step 3: Present summary (wait for user confirmation)
- [ ] Step 4: Route to continuation skill (load context files first)
Search for handoff files across 2 locations (see Handoff File Locations above). Handle interactive plugin selection if no name provided, and present disambiguation menu when multiple handoffs exist for same plugin.
Details: references/handoff-location.md
Validation: MUST complete before Step 2. If no handoff found, proceed to error recovery.
Parse YAML frontmatter (plugin, stage, status, last_updated, etc.) and markdown body (current state, completed work, next steps, key decisions).
Details: references/context-parsing.md
Validation: MUST complete before Step 3.
Calculate "time ago" and build user-facing summary:
Details: references/context-parsing.md (presentation logic)
DECISION GATE: MUST wait for user confirmation. DO NOT auto-proceed. Present numbered decision menu following checkpoint protocol.
VALIDATION GATE: Before proceeding to Step 4, verify:
If any verification fails:
Only proceed to Step 4 when all verifications pass.
Determine routing based on stage type (workflow, ideation, mockup, improvement). Load relevant context files (contracts, source code, git history) BEFORE invoking continuation skill.
Routes to plugin-workflow (Stages 0-6), plugin-ideation (ideation/improvements), ui-mockup (mockup iteration), or plugin-improve (improvement implementation) based on stage type and orchestration_mode. See references/continuation-routing.md for complete routing logic.
Validation: Requires user confirmation from Step 3.
Common error scenarios with recovery strategies:
See references/error-recovery.md for all error scenarios and advanced features.
Inbound (Command triggers):
/continue command (no args) → Triggers interactive plugin selection/continue [PluginName] command → Triggers specific plugin resumeBackward Compatibility:
Handles legacy handoffs with old stage references:
Outbound (Skill delegation):
plugin-workflow - For workflow resume at specific stage (Stages 0-3)plugin-ideation - For ideation resume (improvements or refinement)ui-mockup - For mockup iteration resumeplugin-improve - For improvement implementation resumeworkflow-reconciliation - For corrupt handoff recovery scenarios (state mismatch detection)system-setup - If error recovery detects missing dependenciesMUST use Skill tool for invocation, NEVER implement directly.
This skill is READ-ONLY for state files.
MUST read:
.continue-here.md files (all 2 locations)MUST NOT write:
.continue-here.md filesWhy: This skill is an orchestrator - state updates are handled by the continuation skills it delegates to (plugin-workflow, plugin-ideation, ui-mockup, plugin-improve, etc.). Orchestrators read state and route; implementation skills update state and execute checkpoints. See Checkpoint Protocol in CLAUDE.md for state update requirements in implementation skills.
Resume is successful when:
MUST do when executing this skill:
NEVER do these common mistakes: