Automation

How to build a shared prompt library for your content team

Turn repeated content tasks into tested, versioned prompt frameworks: a nine-part structure, a full example, packaging as skills, testing and rollout.

On most content teams, everyone uses AI differently. One person has an excellent prompt for product photos saved in a private note. Another writes video prompts from scratch every time. A new hire asks “how do you prompt this?” and gets a half-copied chat thread. Quality ends up depending on who did the job, and the team’s know-how lives in individual heads. This guide shows how we turn repeated tasks into shared prompt frameworks: a nine-part structure, real examples from content production, packaging into tools such as Claude Skills, custom GPTs or Gemini Gems, plus testing, versioning and rollout.

Summary: what to do

  • Package only tasks that pass three of five tests: frequent, clear standard, fixed steps, recurring mistakes, specialist knowledge.
  • Write each framework in nine parts, and never skip “when not to use” and “examples”.
  • Encode experience as constraints, for example “never let the video model draw prices”.
  • Test every framework on five to ten real cases with pass/fail criteria before the team sees it.
  • Keep one copy, one owner and one changelog per framework.
  • Start with two or three frameworks for the jobs you do most.

When a task is worth packaging

Not every prompt deserves to become a framework. Packaging takes effort, and a bad framework is worse than none. A task qualifies when it meets at least three of these five conditions:

  • Frequent: done at least weekly, or by several people.
  • Clear standard: you can describe what “good” looks like.
  • Fixed steps: read the input, analyze, produce several outputs in a set order.
  • Recurring mistakes: errors that experienced people avoid and newcomers keep making.
  • Specialist knowledge: terms, rules or tool limits not everyone remembers.

The nine parts of a prompt framework

Part What it contains
1. Purpose One sentence: what the framework produces and for whom
2. When to use / not use Situations it fits, and situations that need something else
3. Inputs Required and optional inputs, and what to do when one is missing
4. Process The numbered steps the AI follows
5. Background knowledge Terms, patterns and rules the task depends on
6. Output format Exact structure of the result
7. Constraints What must never happen
8. Examples One good and one bad output, each with the reason
9. Self-check Questions the AI answers before returning the result

Parts 2 and 8 are the ones people skip, and they matter most. Part 2 stops the framework being used in the wrong place. Part 8 shows the quality you want instead of describing it: “creative” and “professional” mean nothing concrete, while a good example next to a bad one is very concrete.

Three frameworks from content production

Framework Inputs Key constraint Output
15-second product video Product page, product photos, platform Same product description in every prompt; no prices or claims not in the input Timed video prompt plus a shot list
Product background swap Source photo, target channel Preserve shape, logo, printed text and angle; no added text Master prompt plus scene variants
Key visual to motion ad First and last frame Video model never creates or edits text, numbers, prices or logos; camera locked at the end Motion type plus video prompt

All three encode experience as constraints. “Do not draw the price into the video” is a lesson motion ad makers learn the hard way; in the framework, newcomers get it for free.

A complete framework: brand-voice captions

Here is how the nine parts fit together in one framework. Copy it, then replace the brand voice and the examples with your own:

# Framework: Social captions in the brand voice (v1.0)

## 1. Purpose
Write social media captions for [Brand]: right voice, one message, compliant with the advertising rules of the markets we publish in.

## 2. When to use / not use
Use: product posts, tips, short stories on Instagram, Facebook, TikTok, LinkedIn.
Do not use: press releases, crisis communication, health or financial content that needs separate legal review.

## 3. Inputs
Required: audience, goal, one message, platform.
Optional: real details (figures, customer feedback, situations), preferred hook type.
If a required input is missing: ask. Do not guess.

## 4. Process
1. Restate the single main message in one sentence.
2. Write 5 versions, each with a different hook type.
3. Each version: hook, body using one structure, one specific call to action.
4. Run the self-check in section 9 and fix issues before replying.

## 5. Background knowledge
- 8 hook types: familiar situation, number, contrarian, admitted weakness, before and after,
  customer quote, quick how-to, small bet.
- 3 body structures: pain and solution, short story, tip plus product.
- Length guide per platform: [fill in for the brand].

## 6. Output format
Each version: the full caption, then one line "Hook: [type]  Structure: [type]".

## 7. Constraints
- No "best", "only", "number one" or similar without evidence in the input.
- No figures, offers or customer feedback that are not in the input.
- Maximum 2 emoji and 2 to 4 hashtags.
- Do not open with "Did you know".

## 8. Examples
Good: [paste a caption that performed well] because: specific situation, real detail, one action.
Bad: [paste a generic caption] because: empty question, three vague benefits, "the best".

## 9. Self-check
- If you swap in a competitor's name, is the caption still true? If yes: not specific enough.
- Is every number present in the input?
- Does any word from the banned list appear?

The first self-check question, swapping in another brand’s name, is a small trick that works very well for catching generic copy.

Packaging: Skills, GPTs, Gems or a shared folder

Any tool works, as long as the whole team uses the same place and the same version. A framework written in nine parts moves between tools with little rewriting. For a Claude Skill, we split long reference material into separate files so the main instructions stay short:

kv-motion-ads/
├── SKILL.md                 # main instructions
└── references/
    ├── motion-types.md      # the 3 motion types
    ├── prompt-templates.md  # a prompt template per type
    └── text-safety.md       # rules against warped text and wrong prices
---
name: kv-motion-ads
description: Analyze a first-frame and last-frame key visual pair and write a video prompt that
  turns a static key visual into a motion ad. Use when the user shares one or two key visual
  images and mentions "animated KV", "motion ad", "start frame end frame", even if they only send images.
---

# Key visual to motion ad

## Process
1. Compare the first and last frame and list what changes.
2. Classify it as one of three motion types (see references/motion-types.md).
3. Write the prompt from the matching template (see references/prompt-templates.md).
4. Check against references/text-safety.md before replying.

## Constraints
- The video model must never create or edit text, numbers, prices or logos.
- Camera locked-off in the final second so the end frame matches the original key visual.

In our experience the description line decides whether the skill gets picked up at the right moment, so write it as an answer to “when should this be used?”, including the phrases people actually type.

Test before you hand it over

  1. Collect five to ten test inputs: typical cases, hard cases and cases with missing information.
  2. Write four to six pass/fail criteria. For the product video framework we use: identical product description in every prompt; no prices or claims missing from the input; one camera move per time block; timings add up to the stated length; a sound line present; “no text on screen” stated.
  3. Run every case and score it. Group the failures.
  4. Fix by failure group. Each group usually needs one new constraint, check or example.
  5. Rerun the whole set after every change, so fixing one problem does not quietly create two more.

Missing-information cases matter most: a good framework asks or marks an assumption instead of inventing data.

Versioning and rollout

  • One location: a shared folder, a Git repository or one master document. No private copies.
  • Version numbers and a changelog: date, who, what and why for every change.
  • One owner per framework who approves changes and answers questions.
  • A short walkthrough per framework: when to use it, what inputs it needs, one full example.
  • A feedback channel: every bad result comes back with its input. That is your best source of new test cases.
  • A monthly review of which frameworks are used, which are ignored and which errors repeat.
## Changelog
v1.3 (2026-11-08, Dana): added "never draw prices into the video" after two wrong-price errors last month.
v1.2 (2026-10-15, Sam): added the "visual-to-visual" motion type.
v1.1 (2026-09-30, Dana): moved anti-warping text rules into a separate reference file.

To see whether a framework pays off, log three things in a simple spreadsheet: time from input to usable result, number of revisions before approval, and how close a newcomer’s output is to a senior’s. A month of entries shows which frameworks deserve more work. If you want help building and testing a library like this for your team, see our AI automation service or our team training.

FAQ

Do frameworks kill creativity?

No. They fix the repetitive, error-prone parts: format, constraints, checks. Ideas, angles and story details still come from the person’s input.

Who should write a framework?

The person who does the task best, paired with someone skilled at prompt writing. One knows what good looks like; the other knows how to make the AI follow it reliably.

What language should frameworks be written in?

Instructions can be in whatever language your team reads best. Keep prompts for image and video models in English, where camera and style terms are understood most consistently.

How many frameworks should we start with?

Two or three, for your most frequent tasks. Add more once those are tested and actually used.

How this article was made: this guide is based on how we build, test and maintain prompt frameworks in our own content production. The structure, examples and changelog format come from that work; no third-party facts are cited.

Written by the CTRL ALT AI team with AI assistance and edited by a person.

Want this done for you?

We build what we write about: AI video, automation, training and branded games.

Start a project