Module 02 · Architecture

The Prompt Architecture

A prompt is not a question. It is a brief. The difference between generic AI output and publishable work is a six-part anatomy — Context, Constraints, Role, Format, Task, Attributes. Once you write prompts this way, you never go back.

Format: Framework + 6 component cards + master template Read time: 14 min Depends on: Module 01
On this page
  1. 01Why a framework, not a vibe
  2. 02CCRFTA at a glance
  3. 03C — Context
  4. 04C — Constraints
  5. 05R — Role
  6. 06F — Format
  7. 07T — Task
  8. 08A — Attributes
  9. 09Before vs after — a live rewrite
  10. 10The master template
  11. 11When to drop components
  12. 12Key takeaways
01

Why a framework, not a vibe

Most people learn to prompt by trial and error. They type something, the AI responds, they edit, retype, retry. After a few months they have a vague instinct for what works — and zero ability to teach anyone else or reproduce a great result on demand.

That's not a skill. That's a pattern lottery. The way out is a fixed prompt anatomy that works for any task, any tool, any topic. Once you have it, three things change:

The framework has a name: CCRFTA. Six components. Never more, rarely fewer. Every great prompt in this system — and the ones in Modules 07 through 09 — is built on it.

02

CCRFTA at a glance

Read these six letters top to bottom. Every prompt in this system is one of these assembled in some order, and the order matters less than the completeness.

The six-part anatomy
Context · Constraints · Role · Format · Task · Attributes
C
Context
C
Constraints
R
Role
F
Format
T
Task
A
Attributes
How to read the framework

Context tells the model what the world is. Constraints tell it what the rules are. Role tells it who to be. Format tells it how to shape the answer. Task tells it what to do. Attributes tell it how to sound. Drop any one and the output shifts.

03

C — Context

C
Context
What the model needs to know
Context is the background the model needs before it can even begin the task. Topic, audience, business goal, relevant history, and anything that would change how a human writer would approach the same job.
Include when relevant
  • Topic / subject — what is the article, page, or deliverable about?
  • Audience — beginner, intermediate, expert? B2B, B2C, technical?
  • Business / brand — industry, niche, positioning, offer, geography.
  • Previous context — did earlier prompts set the stage? Re-paste the essentials.
  • Intent — is this informational, commercial, transactional, navigational?
Example
I'm writing an SEO article for a local dental clinic in Melbourne, Australia. The audience is adults aged 30-55 who have never had cosmetic dental work and are quietly researching options. The article must align with E-E-A-T and feel written by a dentist, not a marketer.
04

C — Constraints

C
Constraints
The rules and limits
Constraints are the hard rules. Word count, sentence length, what to include, what to avoid. In Module 01 we called specificity the writer's temperature control — constraints are how you apply it.
Include when relevant
  • Length — word count, sentence count, paragraph count.
  • Sentence structure — max words per sentence, max sentences per paragraph.
  • Inclusions — must-use keywords, entities, statistics, product names.
  • Exclusions — filler openers, clichés, jargon, phrases to ban.
  • Fact rules — cite sources, use specific numbers, no opinion-based wording.
Example
Rules (strict): • Maximum 15 words per sentence • Maximum 3 sentences per paragraph • No filler phrases like "in today's digital world" or "in this comprehensive guide" • Include at least one cited statistic • Bold the direct answer in the first sentence of each H2
Writer's instinct

Constraints are where 80% of prompt quality lives. A prompt with rich constraints and a weak role will still produce strong output. A prompt with a fancy role and no constraints will produce vague, safe, AI-slop text.

05

R — Role

R
Role
Who the model should pretend to be
Role assigns a professional perspective that shifts the probability space. A prompt written to a "senior semantic SEO consultant" lands in a different part of the model's training data than a prompt written to a "content writer."
Common roles for our work
  • Senior Semantic SEO Consultant — entity-first, topical authority, patent-aware.
  • E-E-A-T content editor — experience, expertise, authoritativeness, trust.
  • AI Overview optimization expert — answer-first, extractable, LLM-friendly phrasing.
  • Technical SEO writer — schema, crawlability, page structure.
  • E-commerce merchandiser — buyer intent, category architecture, conversion focus.
Example
Act as a senior Semantic SEO Consultant and AI Overview optimization expert with 10+ years of experience writing for B2B SaaS and e-commerce brands.
Don't overdo it

"Act as the world's greatest content writer with 47 PhDs and experience at every Fortune 500 company" is theater. It doesn't move the probability needle — it just makes your prompt harder to read. Role should be specific enough to be useful, then stop.

06

F — Format

F
Format
The shape of the output
Format is the structural container. Is the output a blog section? A table? A bullet list? A JSON object? An outline? Without format, the model guesses — usually choosing flowing prose when you wanted scannable bullets, or a list when you wanted a narrative.
Format options to specify
  • Prose structure — intro + 3 paragraphs + conclusion; PAS; AIDA.
  • Outline — H1, H2, H3 with bullet points per section.
  • Lists — numbered steps, bullet points, pros/cons, checklist.
  • Tables — comparison, feature matrix, schema properties, pricing.
  • Hybrid — paragraph + bullet features + comparison table + FAQ.
  • Structured data — JSON, markdown, schema.org format.
Example
Format: • Short intro (2–3 sentences) • H2 section with 5 bullet features, each bullet 1 sentence • Comparison table with 3 columns: Feature · Basic · Pro • FAQ section with 4 questions, each answer 40–80 words • Conclusion paragraph with one CTA
07

T — Task

T
Task
The actual ask
Task is what you want the model to produce. It's often the shortest part of the prompt, but it has to be unmistakable. Write? Summarize? Rewrite? Critique? Expand? Outline? Translate? Pick one verb and one deliverable.
Common task verbs
  • Write — generate new content from scratch.
  • Rewrite — take existing content and transform it (style, tone, length).
  • Summarize — compress existing content without losing meaning.
  • Outline — structure only, no prose.
  • Critique — review and identify issues (no rewriting unless asked).
  • Expand — take a point or section and make it longer with more depth.
  • Extract — pull specific elements from source material (entities, quotes, data).
Example
TASK: Write a 100–120 word introduction for this article, following the Audience-First Hook framework.
One task per prompt

If you need the model to write and critique and rewrite, that's three prompts, not one. Chain them. Modules 06 and 08 are built on this principle — each step in the section writing loop is a single task.

08

A — Attributes

A
Attributes
How the output should feel
Attributes are the stylistic qualities that survive after structure and task are set. Tone, voice, level of detail, reading grade, persona. This is the difference between a draft that sounds like every other AI article and one that sounds like it came from a specific publication or writer.
Attributes to specify
  • Writing style — journalistic, editorial, technical, conversational, academic.
  • Tone — warm, direct, authoritative, playful, clinical, skeptical.
  • Level of detail — beginner, intermediate, expert; scan-friendly or deep.
  • Voice markers — first person, second person, third; active voice preference.
  • Reading grade — "plain English suitable for a grade 8 reader" is a real lever.
  • Persona — "in the voice of a senior consultant briefing a CFO."
Example
Attributes: • Direct, professional tone — no hype • Second-person voice ("you / your") • Plain English, readable by a non-technical reader • Short sentences, active voice • No exclamation marks, no rhetorical questions
09

Before vs after — a live rewrite

Here's the framework applied to the same request. The before is how most people write prompts. The after is the same ask, fully CCRFTA-assembled.

Before — vibe prompt
One-liner, no structure
Write an intro for my article on local SEO for dentists.
What you get: A generic opening with "In today's digital landscape..." energy. No hook, no audience alignment, no tone match, and probably a word count that's either far too long or too short for your page.
After — CCRFTA prompt
Full six-part brief
[CONTEXT] I'm writing for a local dental clinic in Melbourne. Audience: adults 30-55 researching cosmetic dentistry for the first time. [CONSTRAINTS] 100-120 words. Max 15 words per sentence. Max 3 sentences per paragraph. No "in today's digital world." No questions. [ROLE] Act as a senior SEO content editor who ghost-writes for healthcare professionals. [FORMAT] Three short paragraphs. Hook → problem → what the article will deliver. [TASK] Write the introduction. [ATTRIBUTES] Direct, reassuring, trustworthy. Second person. Plain English.
What you get: A first-try intro that fits the page, sounds like the brand, speaks to the real reader, and doesn't need a full rewrite. Copy, paste, tweak one line, ship.
10

The master template

This is the universal CCRFTA skeleton. Copy it, paste it into any AI tool, and fill in the brackets. Works for intros, full articles, product descriptions, FAQ sections, rewrites, outlines — anything.

The CCRFTA Master Template

Copy · paste · fill the brackets
[CONTEXT] Topic: [what is this about] Audience: [who reads it — expertise level, industry, mindset] Brand / business: [industry, niche, geography, positioning] Search intent: [informational / commercial / transactional / navigational] Related context: [prior chat, uploaded brief, earlier section] [CONSTRAINTS] • Length: [words / sentences / paragraphs] • Sentence structure: [max N words per sentence] • Must include: [keywords, entities, stats, product names] • Must avoid: [filler phrases, clichés, banned words] • Fact rules: [cite sources / use specific numbers / no opinion] [ROLE] Act as a [specific professional role with 1–2 domain specializations]. [FORMAT] [Describe the exact shape — paragraphs, bullets, tables, H2/H3 structure, FAQ blocks] [TASK] [Single verb + single deliverable — Write / Rewrite / Outline / Critique / Expand / Summarize] [ATTRIBUTES] • Tone: [direct / warm / authoritative / conversational] • Voice: [first / second / third person] • Reading level: [beginner / intermediate / expert] • Style markers: [active voice / no exclamations / short paragraphs]
Workflow tip

Save this template as a text snippet in your keyboard expander (TextExpander, Raycast, or your OS's built-in text replacement). Trigger it with something like ;ccrfta and it expands into your AI tool. Cuts prompt-writing time by half once it becomes muscle memory.

11

When you can drop components

Not every task needs all six components. Here's when each one is essential, optional, or droppable.

Task type Must-have Optional Can skip
Full article draft Context, Constraints, Format, Task Role, Attributes —
Intro / conclusion Context, Constraints, Format, Task, Attributes Role —
Rewrite / polish Constraints, Task Attributes Context, Role, Format
Outline only Context, Format, Task Role Constraints, Attributes
Keyword / entity research Context, Role, Format, Task Constraints Attributes
FAQ generation Context, Constraints, Format, Task, Attributes Role —
Critical review Role, Task, Constraints Attributes Context, Format
Quick factual answer Task Context Constraints, Role, Format, Attributes
Rule of thumb

If you're not getting the output quality you need, you're missing a component — not trying a different tool. Switching from ChatGPT to Claude won't fix a prompt that skipped Constraints and Attributes. Adding them will.

12

Key takeaways

The architecture, distilled

Ten lines that turn any prompt into a brief
  1. A prompt is a brief, not a question. Write like you're briefing a freelancer.
  2. CCRFTA — Context, Constraints, Role, Format, Task, Attributes — is the universal anatomy.
  3. Context tells the model what the world is. Topic, audience, brand, intent.
  4. Constraints are the hard rules. Where 80% of output quality lives.
  5. Role shifts the probability space toward a specific professional perspective.
  6. Format is the structural container. Without it, the model defaults to prose.
  7. Task is one verb plus one deliverable. Never chain multiple tasks in one prompt.
  8. Attributes are how the output should feel — tone, voice, reading level.
  9. Not every prompt needs all six. Use the decision table to right-size each request.
  10. When output disappoints, the prompt is missing a component. Don't switch tools — complete the brief.
Next

With the mental model (Module 01) and the prompt architecture (Module 02) in place, we move to research. Module 03 builds the keyword intelligence and entity map — the raw material that feeds every prompt from here on.