演習 › 全問
問題 Q3-13
68 / 120分野3・プランモードと直接実行
まだ解いていません。
不慣れな大きなコードベースで、移行の下調べをする。調査で、数百のファイルの内容や検索結果が出て、メインの会話の文脈があふれそうだ。最も適切な対処はどれか。
正解は B
- A推測は、誤りの元です。
- B正解です。冗長な調査の出力は、別の文脈で処理させて、要約だけを返せば、メインの文脈を守れます。
- C貼り付けると、文脈が埋まります。
- Dやり直しは、積み上げた理解を失います。
考え方:冗長な調査は、サブエージェントに任せて要約だけ返させる。
出典: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)