Comprehensive Content Framework

The CRAFT Framework

Context, Role, Action, Format, Task. A comprehensive prompt engineering technique best for detailed content generation and structured storytelling.

Context (C)

What background information should the AI know?

Examples:
  • We are a B2B SaaS startup launching a new product.
  • I am writing an internal memo for our engineering team.
  • The market is currently experiencing a downturn.

Role (R)

Who should the AI act as?

Examples:
  • Act as a senior software engineer.
  • Act as a friendly customer support agent.
  • Act as an expert copywriter with 10 years of experience.

Action (A)

What should the AI do?

Examples:
  • Write a 500-word blog post about the new feature.
  • Draft a polite response to this angry customer email.
  • Create a 3-month marketing plan.

Format (F)

How should the AI present the response?

Examples:
  • Use a bulleted list for the main points.
  • Format the output as a markdown table.
  • Write in short, punchy paragraphs.

Task (T)

What is the specific task?

Examples:
  • Explain quantum computing to a 5-year-old.
  • Summarize these meeting notes into action items.
  • Generate 5 catchy title ideas for my article.

Real-World CRAFT Example

Notice how defining both Role and Task forces the AI into the perfect tone.

[Context] We are launching a new sustainable clothing line made entirely from recycled ocean plastics.

[Role] Act as a passionate, eco-conscious brand storyteller.

[Action] Write an engaging launch announcement for our email newsletter.

[Format] Keep it under 200 words, use short paragraphs, and include one clear Call to Action at the end.

[Task] Highlight the environmental impact to Gen-Z and Millennial consumers who care deeply about climate change.