AI音声エージェント(音声で対応するAIシステム)のプロンプト、特にSynthflow Single-Promptについて、以下の点をチェック・改善します: - 矛盾や不整合がないか - 必要な背景情報が漏れていないか - ツールや動作の安全性に問題がないか - 問題が深刻化した場合の対応が用意されているか - コンプライアンス(法令遵守)上のリスク - 過去のバージョンから悪化していないか **次のような場合に使用:** ユーザーがプロンプトをデプロイ(本番環境へ投入)する前に、レビュー・監査・検証・改善、または複数のプロンプト比較を依頼したとき
Review AI voice-agent prompts, especially Synthflow Single-Prompt, for contradictions, missing context, unsafe tool/action behavior, escalation gaps, compliance risk, and regression risk. Use this when the user asks to review, audit, validate, improve, or compare a prompt before deployment.
AIエージェント(自動応答システム)のプロンプト(指示文)を、テスト前・本番環境への展開前・本番環境での編集前に審査します。プロンプトが信頼できるか、具体的か、安全か、利用可能なツール・機能と一致しているか、実際の顧客との会話に適切か を重点的に確認します。
特に以下で有用です:Synthflow音声エージェント、シングルプロンプト型エージェント、フロー設計ノードのプロンプト、転送フロー、エスカレーション(問題の段階的な引き上げ)ロジック、サポート・営業・適格性判定・予約エージェント、通話動作を制御するすべてのプロンプト。
プロンプトがSynthflowワークスペース内にある場合は、Synthflow MCP ツールで取得します:
get_agentget_agent_actions / get_actionlist_agent_versions / get_agent_version_diffSynthflowの機能の実装方法を確認するには、公式ドキュメントで search_docs を使うか、ワークスペース連携がまだ済んでいない場合は synthflow-docs サーバーの searchDocs ツールを使用してください。
優れたプロンプトは、背景知識がない人間オペレーターでも理解できるものです。
「別の人が読むテスト」(OpenAIが推奨):プロンプトを同僚に声に出して読みます。同僚が「このエージェントが何をすべきか」を平易な言葉で言い直せなければ、LLM(大規模言語モデル)も確実には実行できません。
文脈のない18歳の若者でも、同じやり方を2回実行できる ように書きます。ぼんやりした性格指示より、具体的な行動指示を優先します。
悪い例:「親切で専門的に対応してください」 改善例:「1ターンに1~2文。1度に1つの質問をする。電話の相手が価格について聞いたら、承認された価格帯を伝えて、相談の予約希望があるか質問する」
ぼんやりした動詞を、テスト可能な具体的な行動に置き換えます:
| ❌ ぼんやり | ✅ 具体的 |
|---|---|
| 「相手に専門的に対応する」 | 「1文1ターン、相手のトーン(調子)に合わせる、スラングは使わない」 |
| 「適切なバッテリーを見つけるのを手伝う」 | 「年式・メーカー・モデル・グレードを質問し、在庫ある2商品をSKU(商品コード)・価格・保証期間付きで提示する」 |
| 「顧客を認証する」 | 「名前・電話・注文番号を集める。各項目を読み上げて確認させる。『正しいですね、はい or いいえ?』と聞く」 |
| 「親切にする」 | (削除 — 実行不可能) |
Synthflowプロンプトは、この순序で・見出し付きで 3セクションに分かれるべきです:
| セクション | 内容 |
|---|---|
| 背景(Background) | エージェントの身元、企業、状況、支店・アカウント情報、ポリシー、役割、目標、相手の背景、変数、顧客固有の制限 |
| 行動(Behavior) | 条件判定ロジック、フロー、「もし X なら Y」、ツール・アクション実行のトリガー、予約・転送・エスカレーション・フォールバック・通話終了ルール、異議対応とエラーハンドリング |
| 出力(Output) | 文の長さ、形式、言語、数字・日付・金額の読み上げ方 — 書式のみ |
よくある誤配置:出力セクション内の条件ルール(「企業顧客なら転送する」)、上部に混在した「重要ルール」ブロック。フロー内の「出力」がツール呼び出しの場合は、出力ではなく行動セクション に属します。
注釈 — 決まった手順のフロー:多くの企業顧客が「ステップ1、2、7」形式のプロンプトを書きます。区分はなお有効ですが、出力は書式・スタイルのみに絞られます。再構成を強要せず、この前提を述べます。
これらは客観的でほぼ自動化可能です。失敗は全てフラグを立てます。
{} は付けない;後ろの専用ブロックで解決。本文の早期インライン {vars} はプロンプトキャッシング(中程度の後退)を破壊詳細と修正テーブル:references/mechanical-checks.md。
これらのカテゴリですべてのプロンプトを審査します。カテゴリごとの詳細チェックリスト:references/review-checklists.md で、調査結果を進める際に参照してください。
references/action-descriptions.md{vars}、物理的に不可能な指示)references/output-template.md の構造を使い、審査を作成します(経営層向け要約 → 調査結果 → 不足情報 → 変更に伴う後退リスク → 推奨テスト → オプション:改善されたプロンプト)。そのファイルにはスコアリング規準と実例の調査結果も含まれます。
調査結果は実行可能に — すべての調査結果に具体的な推奨を含める(「もっと明確にしろ」ではなく)。
審査が完全なのは、(1) 実際の通話で何が起こりうるか、(2) プロンプトのどこに基づくか、(3) プロンプトをどう変えるべきか、(4) 展開前に何をテストするか に答えた場合のみです。
改善提案は 最大5個 とします。最終レポートの後、ユーザーに変更を適用するか確認してください。
Review an AI agent prompt before it is tested, deployed, or edited in production. Focus on whether the prompt is reliable, specific, safe, aligned with available tools/actions, and suitable for real customer conversations.
Especially useful for Synthflow voice agents, Single-Prompt agents, Flow Designer node prompts, transfer flows, escalation logic, support/sales/qualification/booking agents, and any prompt that controls call behavior.
When the prompt lives in a Synthflow workspace rather than in the conversation, pull it with the Synthflow MCP tools: get_agent for the live prompt and settings, get_agent_actions / get_action for the action descriptions the prompt must agree with, and list_agent_versions / get_agent_version_diff when comparing an edit for regression risk. To check how a Synthflow feature actually works, search the official docs with search_docs, or with the searchDocs tool on the synthflow-docs server if the workspace tools aren't connected yet.
A good prompt is understandable by a human operator with no hidden context.
The "another human" test (OpenAI's recommended check): read the prompt aloud to a teammate. If they can't restate what the agent should do in plain English, the LLM won't reliably do it either.
Write so an 18-year-old with zero context could execute it the same way twice. Prefer concrete behavioral instructions over vague personality instructions.
Be helpful and professional.Use one or two sentences per turn. Ask one question at a time. If the caller asks about pricing, give the approved price range and ask whether they want to book a consultation.Replace vague verbs with specific, testable behavior:
| ❌ Vague | ✅ Specific |
|---|---|
| "Handle the caller professionally" | "One sentence per turn, mirror their tone, no slang" |
| "Help them find the right battery" | "Ask year/make/model/trim, then present 2 in-stock SKUs with price + warranty" |
| "Verify the customer" | "Collect name, phone, order ref. Read each back. Ask 'is that correct, yes or no?'" |
| "Be helpful" | (delete — not actionable) |
A Synthflow prompt should split cleanly into three sections, in this order, with headers:
| Section | Contains |
|---|---|
| Background | Who the agent is, company, situation, store/account context, policies, role, goal, caller context, variables, customer-specific restrictions |
| Behavior | Conditional logic, flows, "if X then Y", tool/action triggers, booking/transfer/escalation/fallback/end-call rules, objection and error handling |
| Output | Sentence length, format, language, spoken forms for numbers/dates/money — formatting only |
Common misplacements to flag: conditional rules inside Output ("if commercial caller, transfer"); a "Critical Rules" block at the top mixing all three. If a flow's "output" is a tool call, that lives in Behavior, not Output.
Caveat — deterministic step-by-step flows: many enterprise customers write "step 1, 2, 7" prompts. The split still applies, but Output collapses to formatting/styling only. State this assumption rather than forcing a restructure.
These are objective and near-automatable. Flag any failure.
{vars} break prompt caching (Medium regression).Full detail and the fix-it table: references/mechanical-checks.md.
Review every prompt for these categories. Detailed checklists per category are in references/review-checklists.md — read it when working through findings.
Needs available-tool context and incomplete — do not invent them. Action-description authoring rules: see references/action-descriptions.md.{vars}; physically-impossible instruction.)Produce the review using the structure in references/output-template.md (executive summary → findings → missing information → regression risks → recommended tests → optional improved prompt). That file also contains the scoring rubric and a worked example finding.
Keep findings actionable — every finding includes a concrete recommendation, not "make this clearer."
A review is complete only when it answers: (1) what could go wrong in a real call, (2) why, based on the prompt, (3) how the prompt should change, (4) what to test before deployment.
Give a maximum of 5 improvement suggestions. After the final report, ask the user whether they want you to apply the changes.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。