How To

How to Stop Retyping the Same AI Prompts Every Day

Sist oppdatert:

If you use AI coding tools every day, most of each prompt is text you’ve typed before: the role, the process instructions, the audience, and the output format. With Stream Deck, you can save each of those parts to a key and tap to add it in whichever app you’re working in.

A typical prompt looks like this:

You’re an expert in [language/framework]. Here’s the task I have: [task]. Before you start, ask me clarifying questions. The target audience is [engineers / end users]. Return the answer as [format].

Only the task changes. The rest is wording you’ve refined because it gets better results than a one-line request.

The five parts of a reusable prompt

A working prompt has five parts, and four of them stay the same between tasks.

  • Role: Who the model should be, such as “You’re a senior Go engineer” or “You’re a technical writer.” It sets vocabulary and depth, and it rarely changes within a type of task.
  • Task: The only part that’s different every time. You type this one yourself.
  • Process instructions: How you want the model to work, such as “Ask me questions before writing code” or “Don’t make assumptions about the stack.” It’s the part that’s easiest to leave out when you’re in a hurry.
  • Audience: Whether the answer is for you, a junior teammate, or a customer-facing doc. It changes the tone and level of detail.
  • Output format: How the answer comes back, such as a diff only, bullet points, or a single file.

Where saved prompts usually live

Most saved prompts end up in one of four places:

  • Notes app or scratch file: It sits outside your workflow, so you leave what you’re doing to find it, copy it, and come back.
  • Editor snippets: They only work in one editor, so they don’t help in a terminal or a browser-based tool.
  • Clipboard manager: Entries aren’t labeled, so after a few weeks it’s hard to tell which saved version is the current one.
  • Markdown file in the repo: It’s easy to share with your team and slow to copy from in the middle of a task.

Each one makes you switch windows to get the prompt before you can use it.

Build prompts from Stream Deck keys

Put each reusable part on its own Stream Deck key: one for the role, one for your process instructions, one for the audience, and one for the output format. Tap them in order and the text is entered into whichever field has focus. Then type the task yourself.

The keys work in any app on your computer, so the same ones build a prompt in a CLI tool and in a browser with no separate setup for each. Stream Deck app needs to be running.

With the full prompt one tap away, there’s no reason to shorten it when you’re in a hurry.

Set up a prompt profile in Stream Deck app

1. In Stream Deck app, create a new profile so these keys stay separate from the rest of your setup.

2. Drag a Text action onto a key and paste one prompt part into it.

3. Repeat for each part, then group the keys by task type.

For example:

  • Debugging: role, “explain before you fix”, “show me the diff only”
  • Refactoring: role, constraints, “don’t change public interfaces”
  • Documentation: role, target audience variants, output format
  • Code review: role, “be adversarial”, “flag anything you’re unsure about”

A few additions to the profile:

  • Multi Actions: Combine the parts you always use together. If your debugging prompt is always the same three parts, a Multi Action puts them on one key.
  • Reference links: Add keys that open your repos, API docs, and team style guide, so they sit next to the prompts you use them with.
  • Room to edit: Leave a few keys empty so you can change or add a part without rebuilding the layout.

Start from a profile on Elgato Marketplace

Elgato Marketplace has profiles made by developers that you can start from. AI Prompts has layered prompt templates you complete with your own task, plus prompt sets for jobs like generating icons. Stream Deck Plugin Development pairs prompts with quick links to repos, docs, and tutorials.

This walkthrough video shows a full prompt being built with the AI Prompts profile.

Use one for a week, then replace its prompts with your own. You’ll see which keys you use before you design a full layout.

Start with the prompts you type most

With your prompt parts on keys, every request includes the full prompt, so you spend less time re-prompting because you left out “ask me questions first.” Start with the two or three parts you type most often. For ready-made prompt profiles, visit Elgato Marketplace.

PRODUKTER I ARTIKKEL

Stay up to date with Elgato. Get our latest News, Guides, and Product Updates in your Google feeds.

Add Elgato as a preferred source

Was this article helpful?