SnipTray logo
Promptcraft

Extract a template from examples

Find what's constant across prompts you've written before.

  • prompt engineering
  • templates
  • patterns

The prompt

Here are prompts I have written for similar tasks:

{{examples}}

Find what is constant and what varies. The constants become the template; the
variations become named blanks. Where the examples disagree on something, say which
version is better rather than averaging them.

Give me the template with blanks in double braces, then a one-line label for each
blank.

What to fill in

{{examples}}
Two or three prompts you've written — e.g. Paste them, separated by a blank line

117 prompts, in the app you already paste from

The whole library, searchable, with your own prompts alongside it. Free to browse here; Pro to keep them a keystroke away on every device.