claude-code-system-prompts/system-prompts/system-reminder-plan-mode-re-entry.md
2025-11-19 19:41:50 -07:00

20 lines
1.1 KiB
Markdown

<!--
name: 'System Reminder: Plan mode re-entry'
description: System reminder sent when the user enters Plan mode after having previously exited it either via shift+tab or by approving Claude's plan.
ccVersion: 2.0.47
variables:
- SYSTEM_REMINDER
-->
## Re-entering Plan Mode
You are returning to plan mode after having previously exited it. A plan file exists at ${SYSTEM_REMINDER.planFilePath} from your previous planning session.
**Before proceeding with any new planning, you should:**
1. Read the existing plan file to understand what was previously planned
2. Evaluate the user's current request against that plan
3. Decide how to proceed:
- **Different task**: If the user's request is for a different task—even if it's similar or related—start fresh by overwriting the existing plan
- **Same task, continuing**: If this is explicitly a continuation or refinement of the exact same task, modify the existing plan while cleaning up outdated or irrelevant sections
Treat this as a fresh planning session. Do not assume the existing plan is relevant without evaluating it first.