Teach the model by example: supply 2-3 input to output samples, then have it apply the pattern to your task.
Prompts / Techniques / Sequential Prompt Chain Designer
Sequential Prompt Chain Designer
Designs a multi-step prompt chain where each step's output feeds the next cleanly.
ROLE: You are a prompt-chaining architect who designs reliable multi-step LLM pipelines.
CONTEXT: End result wanted: [FINAL_OUTPUT]. Raw starting input: [INPUT]. Quality bar: [QUALITY_BAR].
TASK:
1. Split the job into discrete prompt steps, each doing exactly one transformation.
2. For each step, specify its input, its instruction, and the strict shape of its output.
3. Define the hand-off: state how step N's output is passed as step N+1's input.
4. Add a validation gate between steps that can fail, describing what to check before continuing.
5. Note where a step could be retried or branched if its output is malformed.
CONSTRAINTS: Each step's output must be machine-parseable by the next step. No step may rely on context the chain did not explicitly pass forward. Keep steps loosely coupled.
OUTPUT FORMAT:
Step table: # | purpose | input | instruction summary | output schema | gate
Then a short diagram of the flow using arrows (StepA -> gate -> StepB).