{"title":"Improve My Prompt","description":"Critique and rewrite a prompt to get better results.","tags":["prompt-engineering","improve"],"content":"Improve this prompt:\n\n{{prompt}}\n\nDiagnose what's weak: vague instructions, missing context, no output format, ambiguous success criteria, or conflicting asks. Then rewrite it to be specific, well-structured, and unambiguous. Explain the key changes so I learn the pattern. Keep my intent intact — sharpen it, don't replace it.","variables":[{"name":"prompt","description":"The prompt to improve","required":true,"multiline":true}]}
{"title":"Turn a Vague Request into a Spec","description":"Convert a fuzzy ask into a precise, answerable prompt.","tags":["specification","clarify","prompt-engineering"],"content":"I want to ask an AI to: {{vague_request}}\n\nHelp me turn this into a precise prompt. Identify what's underspecified — the missing inputs, constraints, format, and success criteria — and ask me the 2-4 questions whose answers matter most. Then assemble a clear, complete prompt from my answers. Don't pad it with boilerplate the model doesn't need.","variables":[{"name":"vague_request","description":"Your rough idea of what you want","required":true}]}
{"title":"Design a Role Prompt","description":"Write an effective system/role prompt for a recurring task.","tags":["system-prompt","role","persona"],"content":"I want an AI to reliably act as: {{role}}\n\nFor this kind of task: {{task_type}}\n\nWrite a system/role prompt that sets the right expertise, behavior, output style, and boundaries. Make it specific enough to change behavior but not so rigid it breaks on variation. Include what the role should refuse or escalate. Explain each instruction's purpose so I can tune it.","variables":[{"name":"role","description":"The role the AI should play","required":true},{"name":"task_type","description":"The kind of task it's for","required":true}]}
{"title":"Add Few-Shot Examples","description":"Design examples that steer model output by demonstration.","tags":["few-shot","examples","prompt-engineering"],"content":"I want consistent output for this task: {{task}}\n\nHelp me design few-shot examples. Pick examples that cover the range of cases (including a tricky one and an edge case), show the exact input-to-output mapping I want, and demonstrate the format and tone implicitly. Tell me how many examples are worth including and why more wouldn't help. Warn me about any example that might bias the model the wrong way.","variables":[{"name":"task","description":"The task you want consistent output for","required":true}]}
{"title":"Specify an Output Format","description":"Pin down a structured output the prompt should produce.","tags":["output-format","structure","json"],"content":"I need this AI output in a reliable, structured format: {{what}}\n\nHelp me specify it precisely: the exact schema/shape, field types and which are required, how to handle missing or uncertain values, and what to do when the input doesn't fit. Give the format instruction to paste into my prompt, plus one filled example. Note the failure mode most likely to break downstream parsing and how to guard against it.","variables":[{"name":"what","description":"What output you need structured","required":true}]}
{"title":"Debug a Bad AI Response","description":"Figure out why a prompt gave a poor answer and fix it.","tags":["debugging","prompt-engineering","diagnosis"],"content":"I gave this prompt:\n\n{{prompt}}\n\nAnd got this unsatisfactory response:\n\n{{response}}\n\nDiagnose why: was the instruction ambiguous, was context missing, did it ignore a constraint, or did I ask for too much at once? Pinpoint the cause and rewrite the prompt to fix it. Tell me which single change would most improve the result.","variables":[{"name":"prompt","description":"The prompt you used","required":true,"multiline":true},{"name":"response","description":"The disappointing response","required":true,"multiline":true}]}
{"title":"Decompose a Complex Prompt","description":"Split an overloaded prompt into a reliable sequence of steps.","tags":["chaining","decomposition","prompt-engineering"],"content":"This prompt tries to do too much at once: {{prompt}}\n\nHelp me decompose it into a sequence (or chain) of smaller prompts, each doing one thing well, where each step's output feeds the next. Show the steps and what flows between them. Tell me which steps genuinely need separate calls versus which can stay together. Aim for reliability over cleverness.","variables":[{"name":"prompt","description":"The overloaded prompt","required":true,"multiline":true}]}
{"title":"Write Reusable Prompt Template","description":"Generalize a one-off prompt into a parameterized template.","tags":["template","reuse","variables"],"content":"I keep writing variations of this prompt: {{example}}\n\nHelp me turn it into a reusable template with clear {{double-brace}} placeholders for the parts that change. Identify which pieces should be variables, give each a short description and a sensible default where one exists, and keep the fixed scaffolding strong. Show the template and one filled-in example so I can confirm it generalizes correctly.","variables":[{"name":"example","description":"An example of the prompt you keep rewriting","required":true,"multiline":true}]}
{"title":"Critique and Improve a Prompt","description":"Diagnose why a prompt underperforms and fix it.","tags":["prompt-engineering","critique"],"content":"Critique and improve this prompt:\n\n{{prompt}}\n\nDiagnose its weaknesses: ambiguity, missing context, conflicting instructions, no success criteria, or an unclear output format. Rewrite it to fix the biggest problems, and explain each change so I learn the principle, not just the patch. Keep it as short as it can be while still being unambiguous. If the prompt is asking for the wrong thing entirely, say so.","variables":[{"name":"prompt","description":"The prompt to improve","required":true,"multiline":true}]}
{"title":"Reduce a Prompt's Token Cost","description":"Cut a prompt's token footprint without losing quality.","tags":["tokens","cost","optimization"],"content":"This prompt works but is expensive to run at scale:\n\n{{prompt}}\n\nCut its token cost without degrading output quality. Find the redundant instructions, the verbose examples that could be trimmed or dropped, and the context that could be referenced instead of inlined. Distinguish words that actually steer the model from filler that just feels thorough. Show the leaner version, estimate the rough token saving, and flag any cut that's risky enough to A/B before trusting.","variables":[{"name":"prompt","description":"The prompt to slim down","required":true,"multiline":true}]}
{"title":"Convert Instructions to a System Prompt","description":"Turn ad-hoc guidance into a reusable system prompt.","tags":["system-prompt","reuse"],"content":"Turn these instructions into a clean system prompt:\n\n{{instructions}}\n\nSeparate the durable role and rules (system) from the per-request input (user). Resolve contradictions, order the rules by priority, and state how to handle conflicts and unknowns. Define the output contract. Remove anything that belongs in the user turn instead. Make it general enough to reuse across requests but specific enough to actually constrain behavior.","variables":[{"name":"instructions","description":"The ad-hoc instructions","required":true,"multiline":true}]}
{"title":"Make a Prompt Robust to Edge Cases","description":"Harden a prompt against the inputs that break it.","tags":["robustness","edge-cases"],"content":"This prompt works on normal input but I worry about edge cases:\n\n{{prompt}}\n\nList the inputs likely to break it: empty, huge, malformed, adversarial, ambiguous, or out-of-scope. For each, define the desired behavior (handle, clarify, or refuse) and add the instruction that produces it. Make sure the hardening doesn't degrade the common case. End with the one input you'd test first to know it's robust.","variables":[{"name":"prompt","description":"The prompt to harden","required":true,"multiline":true}]}
{"title":"Write a Chain-of-Thought Prompt","description":"Get a model to reason step by step before answering.","tags":["chain-of-thought","reasoning"],"content":"I want the model to reason carefully before answering: {{task}}\n\nWrite a prompt that elicits explicit step-by-step reasoning where it actually helps (multi-step logic, math, planning) — and tell me where it just wastes tokens. Specify the structure: think first, then give a clearly separated final answer the caller can extract. Avoid letting the reasoning leak into or contaminate the final output. Note how to keep the answer parseable when you also want the reasoning visible.","variables":[{"name":"task","description":"The task that needs reasoning","required":true}]}
{"title":"Design an Evaluation Rubric","description":"Define how to judge whether an AI output is good.","tags":["evaluation","rubric"],"content":"I need to judge outputs for this task: {{task}}\n\nDesign a rubric. List the dimensions that actually matter (correctness, completeness, format, tone, safety), each with concrete pass/fail or scored criteria a second person would apply the same way. Separate must-haves from nice-to-haves. Include an example of a passing and a failing output. Make it usable both for human review and as an LLM-as-judge prompt. Flag any criterion too vague to score consistently.","variables":[{"name":"task","description":"The task whose outputs you judge","required":true}]}
{"title":"Reduce Hallucination","description":"Make a prompt ground its answers and admit uncertainty.","tags":["hallucination","grounding"],"content":"This prompt sometimes makes things up:\n\n{{prompt}}\n\nHarden it against hallucination. Add instructions to ground answers in the provided context, to say I don't know rather than guess, and to cite or quote the source for factual claims where possible. Decide what the model should do when the context doesn't contain the answer. Distinguish tasks where invention is the bug from creative tasks where it is the point. Keep the prompt from becoming so cautious it refuses easy questions.","variables":[{"name":"prompt","description":"The prompt that hallucinates","required":true,"multiline":true}]}
{"title":"Add a Self-Critique Step","description":"Have the model check its own output before finishing.","tags":["self-critique","verification"],"content":"I want the model to catch its own mistakes on: {{task}}\n\nAdd a self-critique step: after a first answer, have it review against explicit criteria (correctness, missed requirements, edge cases) and revise if needed. Specify what to check for — vague self-review does nothing. Decide whether the critique is shown or internal, and cap the loop so it doesn't second-guess forever. Tell me when self-critique genuinely helps versus when an independent check would catch more.","variables":[{"name":"task","description":"The task to self-check","required":true}]}
