0
Generate a meta-prompt that produces well-structured prompts for a category of task
Write a meta-prompt: a prompt whose job is to generate other prompts for the task category task_category. This isn't a single-use prompt, it's a generator, so it needs to ask the right clarifying questions and produce a properly structured output prompt every time. Requirements:
1. The meta-prompt must first gather the information it needs to write a good prompt for this category (what specifically varies task to task within this category, e.g. for 'code review prompts', that's language, focus area, severity scheme) by asking targeted questions, not by guessing defaults silently.
2. It must encode the structural best practices for prompts in this category (e.g. for eval-writing prompts: always require pass/fail criteria over vague quality scores) as a template the generator follows, not leave structure to chance each time.
3. It must include a self-check step: after drafting the prompt, review it against a short checklist (does it have clear success criteria, does it use variable placeholders correctly, is it free of ambiguous instructions) before presenting the final version.
4. Give me the actual meta-prompt text, then demonstrate it once by generating an example prompt for a specific instance of task_category.
Task category: task_category
What tends to vary across instances of this category: variation_factors