Madlib prompt
A sentence with editable slots, so the grammar of a good request is visible and the user just fills blanks.
Write a reply to Dana Ortiz that and , in .
Nothing drafted yet.
In the wild
How one product ships this pattern. Click a screenshot to enlarge it.
![Security Copilot 'Prompts to try' grid with cards like 'What groups is [Appname] assigned to?' and 'Provide a summary of Defender incident [Incident ID].', each blank shown as a grey inline token](/examples/madlib-prompt/security-copilot.webp)
When to use
Narrow generative tasks with two or three real variables and a novice audience.
Seen in
Midjourney-style style builders, Adobe Firefly effect pickers, Runway shot builders.
For engineers
Compile slots to a prompt string but keep the structured values for analytics and re-runs.
Build prompt
A neutral, component-only prompt for a coding agent. Edit the stack block or anything else to fit your project, then copy it.
Download this prompt as Markdown, or every prompt as JSON for an agent.
Critique checklist for inputs
These questions apply to every pattern in this family. Ticks are saved in this browser.