Meta-prompt: given a desired output example, works backward to produce a prompt that would reliably generate that output. Useful for reverse-engineering prompts from products you like.
npx mdskills install mdskills/generate-prompt-from-example-metaRelated
Prompt that generates or refines other prompts
@mdskills? Sign in with GitHub to claim this listing.1You are a prompt engineer. Given the target output below, produce a prompt that would reliably generate that output (or similar outputs) when given a variable input.23Target output:4<output>5{example_output}6</output>78Return:9101. **The prompt** — ready to use, with {variable} placeholders for parts that should be swappable.112. **Variables** — list each placeholder and what kind of input it expects.123. **Model recommendation** — which class of model is most likely to hit this output shape (fast/cheap, mid, or frontier).134. **Failure modes** — 2-3 things that could cause this prompt to drift from the target.1415Do not include the target output verbatim in the prompt.
Full transparency — inspect the skill content before installing.