講座 › 分野2 アプリケーションと統合
2.2 システムライフサイクル
配点 2.8%Systems Life Cycle
作って終わりではない。評価で変更を確かめ、CIに組み込み、モデルの廃止と移行に備える。
未読
評価を軸に開発を回す 読了

プロンプトの開発は、テストケースを作り、試作のプロンプトを書き、テストと改善を繰り返し、最後に確認してから出す、という流れです。評価が無いと、変更で悪くなったかどうかを推測で確かめるしかなく、苦情を待ってから直す後追いの対応になります。
出典:Define success criteria and build evaluations
test cases, preliminary prompt, iterative testing and refinement, final validation, shiphttps://platform.claude.com/docs/en/test-and-evaluate/develop-tests.md(取得 2026-11-17)
出典:Demystifying evals for AI agents
Absent evals, debugging is reactive: wait for complaints, reproduce manually, fix the bughttps://www.anthropic.com/research/demystifying-evals-for-ai-agents(取得 2026-11-17)
評価は自動化と量を重視 読了

評価の問題は、選択式、文字列の一致、コードでの採点、LLMによる採点など、自動で採点できる形にします。人が丁寧に採点する少数の問題より、少し粗くても自動で採点できる多数の問題のほうが良い、とされています。
出典:Define success criteria and build evaluations
Structure questions to allow for automated grading (for example, multiple-choice, string match, code-graded, LLM-graded).https://platform.claude.com/docs/en/test-and-evaluate/develop-tests.md(取得 2026-11-17)
出典:Define success criteria and build evaluations
More questions with slightly lower signal automated grading is better than fewer questions with high-quality human hand-graded evals.https://platform.claude.com/docs/en/test-and-evaluate/develop-tests.md(取得 2026-11-17)
CI/CDへの組み込み 読了

Claude CodeはGitHub Actionsの中でも動かせます。プルリクエストやIssueで呼びかけると、コードを分析して変更を実装し、プルリクエストを作れます。人の対話が無い環境では、ヘッドレスモード(-p)で実行します。
出典:GitHub Actions
Run Claude Code in GitHub Actions workflows to respond to @claude mentions, automate tasks, and turn issues into pull requestshttps://code.claude.com/docs/en/github-actions.md(取得 2026-11-17)
出典:Headless mode
Add the `-p` (or `--print`) flag to any `claude` command to run it non-interactively.https://code.claude.com/docs/en/headless.md(取得 2026-11-17)
運用と保守:モデルの廃止と移行 読了

Anthropicは古いモデルを定期的に引退させるので、アプリは時々更新が必要です。対象の利用者には、メールと文書で必ず通知されます。新しいモデルへ移るときは移行ガイドを確認します。例えば新しいモデルでは、以前の引数が受け付けられなくなることがあります。
出典:Model deprecations
Applications relying on Anthropic models may need occasional updates to keep working.https://platform.claude.com/docs/en/about-claude/model-deprecations.md(取得 2026-11-17)
出典:Model deprecations
Impacted customers will always be notified by email and in the documentation.https://platform.claude.com/docs/en/about-claude/model-deprecations.md(取得 2026-11-17)
出典:Claude Opus 5.5 migration guide
Don’t end `messages` with a prefilled assistant turn: it is rejected.https://platform.claude.com/docs/en/models/opus-5-5/migration-guide.md(取得 2026-11-17)
試験のポイント
- 変更の前後で同じ評価を回し、悪化を数字で検出する。評価が無い開発は後追いになる。
出典:Demystifying evals for AI agents
the team is “flying blind” with no way to verify except to guess and check
https://www.anthropic.com/research/demystifying-evals-for-ai-agents(取得 2026-11-17) - モデルは引退する。廃止の一覧と移行ガイドを、保守の手順に組み込む。
出典:Model deprecations
As safer and more capable models launch, Anthropic regularly retires older ones.
https://platform.claude.com/docs/en/about-claude/model-deprecations.md(取得 2026-11-17)