Skip to Content
バイブコーディングを超えて ―AI時代を生き抜く開発者の未来
book

バイブコーディングを超えて ―AI時代を生き抜く開発者の未来

by Addy Osmani, 佐藤 直生
December 2025
Intermediate to advanced
272 pages
3h 44m
Japanese
O'Reilly Japan, Inc.
Content preview from バイブコーディングを超えて ―AI時代を生き抜く開発者の未来

5章生成されたコードを理解する:レビュー、改良、所有

あなたは、コードを生成させるためにプロンプトでAIに指示する方法を学びました。これまで、これらのテクニックを使っていくつかのコードを作成したことでしょう。ここで、重要な段階に来ました。そのコードが正しく、安全で、保守可能であることを確認するのです。

開発者としては、単にAIの出力を受け取って、軽率にリリースすることはできません。それをレビューし、テストし、場合によっては改善し、コードベースの他の部分と統合する必要があります。本章では、AIが出力したものを理解し、繰り返し編集とデバッグを行い、プロジェクトの一部としてコードを完全に所有する方法に焦点を当てます。

本章では、次のことを取り上げます。

  • あなたの当初の意図の観点から、AIコードを解釈する
  • 「多数決の解決策」現象、つまり、多くの場合、AIが生成したコードが一般的な解決策のように見える理由
  • 明確さと潜在的な問題に関して、コードをレビューするテクニック
  • AIが書いたコードが期待通りに動かない場合の、コードのデバッグ
  • スタイルや効率のために、コードをリファクタリングする
  • コードの振る舞いを検証するために、テストを書く

こういったスキルを習得することで、自信を持ってAIの貢献をあなたのプロジェクトに統合できます。

5.1 意図から実装へ:AIの解釈を理解する

AIコードを入手したら、最初の手順として、コードをあなたの意図(あなたが与えたプロンプト)と比較すべきです。そのコードは、あなたが設定した要件を満たしていますか? AIは、時には、あなたが頼んだことを少し誤解したり、部分的にしか実装しなかったりします。

注意深く、コードを全部読んでください。あなたの頭の中で、あるいは紙の上で、そのコードをステップ実行してください。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

シンプリシティ ―持続可能かつ人間的で効果的なソフトウェア開発

シンプリシティ ―持続可能かつ人間的で効果的なソフトウェア開発

Dave Thomas, 島田 浩二
詳解 システム・パフォーマンス 第2版

詳解 システム・パフォーマンス 第2版

Brendan Gregg, 西脇 靖紘, 長尾 高弘

Publisher Resources

ISBN: 9784814401420Publisher Website