Claude認定 対策ノート

講座 › 分野3 Claude Codeの設定とワークフロー

3.5 反復的な改良

配点 3.3%Iterative refinement

言葉の説明が伝わらないときは、入力と出力の例を見せる。テストを先に書き、失敗を渡して、少しずつ直す。

未読

具体的に頼む

図解:具体的に頼む

何が問題か、どこを見るか、「直った」とは何か。これを最初に書くと、手戻りが減ります。公式の例では、ログインの不具合を、症状、見る場所、再現するテストを書いてから直す、と指示しています。

出典:Best practices for Claude Code
A specific prompt helps for the same reason, because it gives Claude information it doesn't already have.
https://code.claude.com/docs/en/best-practices.md(取得 2026-11-20)
出典:Best practices for Claude Code
users report login fails after the session times out. look at token refresh in src/auth/, write a failing test that reproduces it, then fix it
https://code.claude.com/docs/en/best-practices.md(取得 2026-11-20)

入力と出力の例で伝える

図解:入力と出力の例で伝える

文章の説明が、毎回違って解釈されるときは、入力と出力の具体例を2〜3個見せるのが最も効果的です。変換の期待が一意に伝わります。

出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Concrete input/output examples as the most effective way to communicate expected transformations when prose descriptions are interpreted inconsistently
https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Providing 2-3 concrete input/output examples to clarify transformation requirements when natural language descriptions produce inconsistent results
https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)

テストを先に書き、失敗を渡す

図解:テストを先に書き、失敗を渡す

期待する動作、例外的なケース、性能の要件を、テストに先に書きます。実装のあとは、失敗したテストを共有して、少しずつ直します。「できたように見える」だけでは、確かめる手段がありません。

出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Test-driven iteration: writing test suites first, then iterating by sharing test failures to guide progressive improvement
https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
出典:Best practices for Claude Code
Claude stops when the work looks done. If it has nothing to run that tells it whether the work actually is done, "looks done" is all it has to go on.
https://code.claude.com/docs/en/best-practices.md(取得 2026-11-20)

インタビュー:先に質問させる

図解:インタビュー:先に質問させる

慣れない領域で、何を決めておくべきかが分からないときは、Claudeに質問させます。キャッシュの無効化の方針や、失敗したときの挙動など、思いつかなかった論点が出てきます。

出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
The interview pattern: having Claude ask questions to surface considerations the developer may not have anticipated before implementing
https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
出典:Best practices for Claude Code
When you don't know exactly what you want yet, you don't have to work it all out before you prompt. Ask Claude to interview you instead:
https://code.claude.com/docs/en/best-practices.md(取得 2026-11-20)
出典:Best practices for Claude Code
Interview me until you could write the spec, then write it to SPEC.md.
https://code.claude.com/docs/en/best-practices.md(取得 2026-11-20)

問題をまとめて渡すか、順に直すか

図解:問題をまとめて渡すか、順に直すか

互いに影響し合う問題は、1つのメッセージにまとめて渡します。別々に直しても問題ない、独立した問題は、順に直します。

出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
When to provide all issues in a single message (interacting problems) versus fixing them sequentially (independent problems)
https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
試験のポイント