講座 › 分野3 Claude Codeの設定とワークフロー
3.4 プランモードと直接実行
配点 3.3%Plan mode vs direct execution
影響が大きく、やり方が複数あるなら、先に計画。範囲が小さく、やることが明確なら、そのまま実行。
未読
プランモードとは 読了

プランモードでは、Claudeは調べて計画を提案しますが、承認されるまで、ソースを編集しません。安全に調べ、設計を固めてから、変更に入れます。手戻りを防ぐ仕組みです。
出典:Permission modes
Plan mode tells Claude to research and propose changes without making them.https://code.claude.com/docs/en/permission-modes.md(取得 2026-11-20)
出典:Permission modes
Claude reads files, runs shell commands to explore, and writes a plan, but does not edit your source.https://code.claude.com/docs/en/permission-modes.md(取得 2026-11-20)
出典:Common workflows
For changes you want to review before they touch disk, switch to plan mode.https://code.claude.com/docs/en/common-workflows.md(取得 2026-11-20)
プランモードを選ぶ場面 読了

大規模な変更、複数の妥当なやり方、設計の判断、複数ファイルにまたがる修正があるとき。たとえば、サービスの分割や再編、数十のファイルに及ぶライブラリの移行、基盤の条件が違う連携方式の選択です。
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Plan mode is designed for complex tasks involving large-scale changes, multiple valid approaches, architectural decisions, and multi-file modificationshttps://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Selecting plan mode for tasks with architectural implications (e.g., microservice restructuring, library migrations affecting 45+ files, choosing between integration approaches with different infrastructure requirements)https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
直接実行を選ぶ場面 読了

明確で範囲の小さい変更は、そのまま実行します。たとえば、1つの関数に日付の検証を足す、はっきりしたスタックトレースのある1ファイルのバグ修正です。
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Direct execution is appropriate for simple, well-scoped changes (e.g., adding a single validation check to one function)https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
組み合わせる:計画で調べ、実行で実装する 読了

ライブラリの移行なら、プランモードで調べて計画を作り、その計画どおりに、直接実行で実装します。ひとつの作業の中で、両方を使い分けます。
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Combining plan mode for investigation with direct execution for implementation (e.g., planning a library migration, then executing the planned approach)https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
調査の出力は、Explore サブエージェントに任せる 読了

多量の調査の出力は、Explore というサブエージェントに任せ、要約だけを返させると、メインの文脈を守れます。複数の段階がある作業で、文脈を使い切るのを防げます。
出典:Create custom subagents
Claude delegates to Explore when it needs to search or understand a codebase without making changes. This keeps exploration results out of your main conversation context.https://code.claude.com/docs/en/sub-agents.md(取得 2026-11-20)
出典:Create custom subagents
Use one when a side task would flood your main conversation with search results, logs, or file contents you won't reference againhttps://code.claude.com/docs/en/sub-agents.md(取得 2026-11-20)
試験のポイント
- 大規模・複数案・設計判断・多数のファイル:プランモード。
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Plan mode is designed for complex tasks involving large-scale changes, multiple valid approaches, architectural decisions, and multi-file modifications
https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20) - 範囲が小さく明確な変更:直接実行。
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Direct execution is appropriate for simple, well-scoped changes (e.g., adding a single validation check to one function)
https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20) - 調査は Explore に任せ、メインの文脈を守る。
出典:Create custom subagents
Claude delegates to Explore when it needs to search or understand a codebase without making changes. This keeps exploration results out of your main conversation context.
https://code.claude.com/docs/en/sub-agents.md(取得 2026-11-20)