Prompt Engineer Brief
By p r i y a · Published · Updated
Builds a structured prompt with a role, constraints, examples and an output schema, plus a test case that shows whether it works.
Prompt template
## Prompt Engineer Brief Write a production-quality prompt for this task. - Task the prompt must perform: [textarea: Describe the job and the typical input] - Who uses the output: [text: Person or program] - Output format needed: [dropdown: Free text, Markdown, JSON, Table, Code] - Constraints: [textarea: Length and tone and banned content and required facts] - Good example: [textarea: One input with the output you would be happy with] - Failure to prevent: [textarea: The mistake you have seen or fear most] Write the prompt in this order: role in one sentence, the task with its purpose, the input described with its variable parts marked, step-by-step instructions where the order matters, constraints as positive rules, the output format with an exact schema or template, and one or two examples that cover a normal case and an edge case. State what to do when the input is missing or unclear, instead of leaving the model to guess. Address the stated failure directly with a rule and an example. Keep every sentence testable. After the prompt, give a test plan: one typical input, one edge input and one adversarial input, each with the output that would count as a pass. Note which parts to tune first if the test fails.