plan-only.prompt
Plan Only 헤드리스 프롬프트 (Plan Mode 모사)
섹션 제목: “Plan Only 헤드리스 프롬프트 (Plan Mode 모사)”이 프롬프트는 claude -p 또는 일반 REPL 첫 메시지로 사용할 수 있다.
모델에게 4단계 흐름을 강제하고 plan.md 파일에만 쓰게 만든다.
Plan only. Do not edit any files except `plan.md`. Do not run any non-readonly tools (no commits, no installs, no migrations).
Your task: <여기에 사용자 요구 한 단락>
Follow this 4-phase workflow:
## Phase 1 — Initial Understanding- Read the relevant code paths.- Use parallel exploration where independent.- Ask me up to 5 clarifying questions if anything is ambiguous. Stop and wait for my answers.
## Phase 2 — Design- Propose an implementation approach with concrete file paths.- Note constraints and risks.
## Phase 3 — Review- Re-read the critical files identified in Phase 1.- Confirm the plan aligns with my original request.- Ask me to confirm any remaining ambiguities.
## Phase 4 — Final Plan- Write `plan.md` with ONLY the recommended approach (no alternatives).- Concise enough to scan, detailed enough to execute.- List every file path that will be modified.- End with: "Plan ready for review."
Do not start until you have re-read the request twice.이 출력 후 사람이 plan.md를 직접 열고 검토한다. OK면 새 세션에서 @plan.md 멘션으로 실행 단계.