Skip to main content

Templates

Use and create reusable prompt templates to speed up your workflow.

What are Templates?

Templates are pre-configured prompt structures that you can reuse for common tasks. Instead of writing a prompt from scratch every time, you start with a template and fill in the blanks.

Using Templates

Access the Template Gallery from the Prompt Generator. You'll find categories such as:

  • Development: Coding assistants, bug fixers, refactoring guides
  • Creative: Story writers, poem generators, ideation tools
  • Business: Email drafters, report summaries, meeting notes
  • Visuals: Image generation prompts, video scripts

Click on any template to load it into the editor.

Variables

Templates often contain variables enclosed in brackets, like {{topic}} or [INSERT CODE HERE].

  • OneShot automatically highlights these variables.
  • You should replace them with your specific content.
  • Some advanced templates use forms to fill these variables automatically.

Creating Custom Templates

You can turn any successful prompt into a reusable template.

Steps to Create

  1. Write your Prompt: Engineer a prompt that works well.
  2. Identify Variables: Replace specific details with placeholders (e.g., replace "React" with {{framework}}).
  3. Save as Template:
    • Click the Save icon.
    • Choose Save as Template.
    • Give it a clear Name and Description.
    • Assign a Category and Tags.

Best Practices

  • Be Generic: Avoid hardcoding specific details that limit reusability.
  • Clear Placeholders: Use descriptive variable names so users know what to fill in.
  • Include Instructions: Add comments or a description explaining how to use the template.
  • Test It: Verify that the template works with different inputs before finalizing.

Sharing Templates

If you are part of a team (Enterprise Plan), you can publish your templates to the Shared Library. This allows your teammates to discover and use your standardized workflows.