← ライブラリに戻る
AllIntermediateCoding

プロンプトチェーニング状態管理ワークフロー

前のプロンプト結果を変数として保存し後続プロンプトに動的に注入することで、複雑な複数ステップタスクを自動化します

❤️ 621 likes

📋 プロンプト全文

[目標]のプロンプトチェーンを設計・実行してください。チェーン構造:Step1 → {{var1}}、Step2は{{var1}}を使用 → {{var2}}、Step3は{{var1}}+{{var2}}を使用 → 最終成果物。各ステップ後に状態変数名と結果を明記してください。不十分な場合はそのステップを繰り返してください。

💬 入力例

目標:競合分析 → ポジショニング戦略 → マーケティングコピー

✨ 出力例

Step1:{{analysis}}="A社:価格、B社:品質"。Step2:{{positioning}}="プレミアム価値"。Step3:コピー="最高品質、適正価格"

🏷️ タグ

#プロンプトチェーニング#ワークフロー#自動化

💡 使用のヒント

  • Replace the variables in brackets ([]) with your specific situation.
  • Specify the desired tone and length of writing for more accurate results.
  • Request additional modifications based on the generated output to improve quality.
  • Specifying a particular audience allows AI to adjust vocabulary and explanation level.

🔗 関連プロンプト

Effective Writing Strategies with AI

AI writing prompts let you efficiently produce blog posts, business emails, press releases, novels, and more. The key is to assign AI a precise role, and clearly specify the desired tone, length, and target audience. For example, requesting "write a 2000-word SEO-optimized blog post in a professional tone" yields significantly higher-quality output. After generating a draft, iterative feedback helps elevate the final quality step by step.

This prompt belongs to the Coding category, optimized for All at a Intermediate level. It is systematically designed applying core prompt engineering principles: role assignment, context setting, and constraints.

Explore More Prompts

Discover 90+ verified prompts in the PromptGenie library.

Browse Library