Sub topic 11
Turning a Good Prompt into a Reusable Template
This chapter assumes you can already write a prompt with role, context, audience, and format. It also assumes you have used constraints and examples, and have revised a prompt after seeing its output. Here you will turn a prompt that worked into a template your team can reuse.
Why templates help
A prompt that produced good copy once is worth keeping. If you retype it from memory, you drop details. If you copy it and edit it by hand, you may leave old facts in place, such as last quarter's launch date.
A reusable template keeps the parts that stay the same and marks the parts that change. A placeholder is a named slot in double braces, such as {{product_name}}, that you fill in for each campaign. Templates give you three things:
- Consistency: every campaign starts from the same tested structure.
- Speed: you fill in slots instead of rewriting the prompt.
- Fewer errors: the template shows which facts you must supply.
Step 1: Start from a prompt that works
Use a prompt whose output you would publish after a normal review. This is the TaskLane prompt from earlier chapters:
Role: You are a B2B email copywriter who writes for small-business software.
Context: We are launching TaskLane, a project-planning app for teams of 5 to 20 people. The launch feature is shared timelines. Launch date is June 3. Goal: get readers to start a 14-day free trial.
Audience: Operations managers at small agencies. They are busy, skeptical of hype, and care about saving time on status meetings.
Format: One email with a subject line (under 50 characters), a preview text line (under 90 characters), a body of 120 words or fewer in two short paragraphs, and one call-to-action button label.Step 2: Decide what changes and what stays
Go through the prompt one line at a time and ask whether the line will be the same for the next campaign.
| Prompt content | Changes each time? | Treatment |
|---|---|---|
| "B2B email copywriter" | Sometimes (channel, industry) | Placeholders |
| Product name, benefit, goal | Yes | Placeholders |
| Approved facts | Yes | Placeholder |
| Audience description | Often | Placeholder |
| Word limits and field list | Sometimes | Placeholder |
| "Write [NEEDS INPUT] if a fact is missing" | No | Fixed text |
Keep the fixed text fixed. The missing-fact rule belongs in every campaign, so do not make it optional.
Step 3: Replace the variable parts with placeholders
Here is the template, with each part of the structure turned into a slot:
Role: You are a {{channel}} copywriter for {{industry}} brands.
Context: Product: {{product_name}}. Key benefit: {{key_benefit}}. Goal: {{goal}}. Facts you may use: {{approved_facts}}.
Audience: {{audience_description}}.
Format: {{format_requirements}}.
Constraints: {{tone_and_constraints}}. If a needed fact is missing, write [NEEDS INPUT].Notice the Facts you may use slot. It limits the model to facts you approved. Combined with the [NEEDS INPUT] rule, it reduces invented claims.
Step 4: Fill it in
To reuse the template for a different campaign, replace every placeholder:
| Placeholder | Example value |
|---|---|
| `{{channel}}` | social media |
| `{{industry}}` | project-management software |
| `{{product_name}}` | TaskLane |
| `{{key_benefit}}` | shared timelines that cut status meetings |
| `{{goal}}` | free-trial sign-ups |
| `{{approved_facts}}` | 14-day free trial; for teams of 5 to 20 |
| `{{audience_description}}` | Operations managers at small agencies who distrust hype |
| `{{format_requirements}}` | Three posts of 200 characters or fewer, each with one hashtag |
| `{{tone_and_constraints}}` | Friendly and direct. No exclamation marks. No competitor names. |
Step 5: Keep the template healthy
A template can go stale. Follow these habits:
- Store it in one shared place and name a person who owns it.
- Add a version note, such as "v2: added approved-facts slot".
- Test it with at least two different campaigns before sharing it.
- Update the template when a review catches the same problem twice. Fix the cause in the prompt, not only in the copy.
Common errors
- Too many placeholders. If every line is a slot, the template gives no guidance. Keep tested wording fixed.
- Vague slot values. Filling
{{audience_description}}with "customers" brings back generic output. The rules from the audience chapter still apply. - Leftover placeholders. Search for
{{before you send the prompt. - Confidential data in the template. A shared template should hold structure only. Put sensitive details in the filled copy, and only where your policy allows.
Exercise
Your team has a prompt for launch emails. For next month's webinar invitation, you want to reuse it. Name two parts that should become placeholders and one part that should stay fixed, and explain why for the fixed part.
Show answer
Two placeholders: the context (event name, date, goal) and the format requirements (for example, a shorter invitation with one button). The audience description is also a valid choice. Fixed: the rule "If a needed fact is missing, write [NEEDS INPUT]." It applies to every campaign, and leaving it fixed means nobody can forget it when filling in the slots.
Exercise
A colleague filled in {{approved_facts}} with "everything on our website." Why is this a problem, and what would you do instead?
Show answer
It defeats the purpose of the slot. The website may hold outdated figures or claims that have not been approved for this campaign, so the model may repeat them. Instead, list the specific facts approved for this campaign, such as the trial length and the team size, and leave everything else for the model to flag as [NEEDS INPUT].