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.You 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.
Target output:
{example_output}
Return:
Do not include the target output verbatim in the prompt.
Install via CLI
npx mdskills install mdskills/generate-prompt-from-example-metaGenerate Prompt from Example is a free, open-source AI agent skill. 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.
Install Generate Prompt from Example with a single command:
npx mdskills install mdskills/generate-prompt-from-example-metaThis downloads the skill files into your project and your AI agent picks them up automatically.
Generate Prompt from Example works with Claude Code, Openai, Gemini. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.