エージェントにPRDのギャップをレビューさせる
使うタイミング: 仕様書のドラフトを作成し、エンジニアリングチームに共有する前に批判的なレビューを受けたいとき。
前提条件
- Notionインターナルインテグレーショントークン — notion.so/my-integrations → 新しいインテグレーション → シークレットをコピー
- インテグレーションに共有されたページ — 対象ページで: ••• → コネクション → インテグレーションを追加
フロー
-
ページの内容を取得するRead the Notion page at <URL>. Summarize in 5 bullets what this spec is proposing.✓ コピーしました→ 正確な1段落の要約 — エージェントが内容を理解した証拠
-
不十分な箇所を特定するList every place where the spec is vague: missing error cases, undefined edge behavior, unclear ownership, no rollout plan, no success metric.✓ コピーしました→ ページ参照付きのギャップ一覧(番号付き)
-
レビュー用の質問を作成するConvert those gaps into 5-10 specific questions a reviewing engineer would ask. Append them to the Notion page as a new 'Open Questions' section.✓ コピーしました→ 質問ブロックがページに追加される
結果: より精緻な仕様書と、レビュー会議の前に適切な議論を促すOpen Questionsセクションが得られます。
注意点
- エージェントが仕様書にない内容をでっち上げる — プロンプトで明示: 'only flag gaps; do not invent facts; cite the section where each gap occurs'
- 長い仕様書はフェッチ時に途中で切れる — ブロック数が多いページは
retrieve_block_childrenでページ単位に取得する。単一のget_page呼び出しに頼らないこと