How to Build a Prompt from a Blank Page Step-by-Step

by Rafael Ramos | Apr 23, 2026 | Getting Started

Introduction

Most people who struggle with AI prompts share one common problem: they do not know where to start.

They open the tool. They stare at the blank input field. They type something vague, get an output that misses the mark, and assume the problem is the AI.

In most cases, the problem is the starting point - not the tool.

This article walks you through how to write a prompt step by step, starting from a blank page. Each step adds one element to a single working prompt. By the end, you will have a complete, structured prompt and a repeatable process you can apply to any task.

The approach is drawn directly from the seven-element framework introduced in Chapter 4 of Learning Prompt Engineering. No prior experience is required.

Why Building in Steps Works

Writing a prompt all at once tends to produce the same result as writing a paragraph without thinking about its structure first. Something comes out - but it is often unfocused.

Building element by element forces a different habit. You make one decision at a time. You ask whether each element is needed before you add it. By the time the prompt is complete, every part of it has a reason to be there.

This is not a longer process. Once the habit is formed, it takes seconds. What it gives you is a prompt that is easier to test and easier to improve - because you know exactly which part to adjust when the output is not quite right.

The Task You Will Build

This walkthrough uses one realistic task throughout:

Summarize a project update for a non-technical internal team.

Every step below adds one element to this prompt. At the end, you will see the complete assembled prompt with every element labeled.

Step 1 - Task: State What You Want the Model to Do

Start here. Every prompt begins with the task.

The task tells the model what job to do. It is the only element that is always required. Without it, no other element can anchor the output.

Use a specific verb. Vague instructions - help, write something about, do something with - leave too much open. Specific instructions - summarize, list, compare, draft - give the model a defined job.

Added to the prompt
Prompt text: "Summarize the following project update in three bullet points."
Output effect: The model produces output in the format and length it selects - useful as a baseline, but variable without further structure.

At this point, the prompt is minimal. It will produce output - but that output may vary widely in length, style, and focus. The remaining steps narrow it.

Step 2 - Role: Frame the Model's Perspective

Ask yourself one question before adding a role: Does a professional identity or frame of reference meaningfully improve this output?

For this task - communicating technical content to a non-technical audience - the answer is yes. A communications coordinator writing for a non-technical team will typically approach vocabulary, register, and detail level differently than an unframed model given the same instruction.

Role is not a default opener for every prompt. Add it when it genuinely shapes how the task should be approached.

Added to the prompt
Prompt text: "You are a communications coordinator writing for an internal non-technical team."
Output effect: The model tends to adopt the register, vocabulary level, and frame of reference associated with the stated role - resulting in output that is typically more audience-appropriate.

Step 3 - Context: Give the Model What It Needs to Know

Context tells the model who the audience is, what the purpose is, and what conditions apply. Without it, the model fills in the blanks on its own - and those assumptions may not match yours.

For this task, the relevant context is: the audience has no engineering background, the update covers three areas (progress, blockers, next steps), and the summary will appear in a team email.

Added to the prompt
Prompt text: "The audience has no engineering background. The update covers progress made last week, current blockers, and next steps. The summary will be shared in a team email."
Output effect: The model has what it needs to tailor the output - purpose, audience conditions, and scope are defined, reducing assumptions.

Step 4 - Format: Specify How the Output Should Be Structured

Without a format instruction, the model produces output in a shape it selects. That shape may not match your intended use.

A bulleted list is required here. Three bullets - one per update area. Specifying this directly prevents the model from producing a prose paragraph or a numbered list when a bulleted format is needed.

Added to the prompt
Prompt text: "Present the output as three bullet points. Format as a bulleted list."
Output effect: The model produces the output in the specified shape - a prose paragraph or numbered list is less likely when the format is explicitly named.

Step 5 - Tone: Name the Voice or Register

Tone tells the model what voice or register to use. It is distinct from a role. Role defines who is producing the output. Tone defines how it should sound.

The model's default register is often professional and moderately formal, which is adequate for many tasks. But when the task requires something specific, naming it tends to produce more accurate results.

For this task, the tone should be plain and direct. The audience is non-technical. Dense or formal language is not appropriate.

Added to the prompt
Prompt text: "Write in plain, direct language. Keep the tone clear and professional."
Output effect: The model's register tends to shift toward the named voice - sentence structure and vocabulary adjust accordingly.

Step 6 - Constraints: Set the Limits

Constraints tell the model what to avoid, what to exclude, and what limits to stay within. Without them, a model asked to summarize a document may produce a longer or more detailed response than the task requires.

This task has two specific constraints: each bullet must be one sentence or fewer, and technical jargon must be avoided. If a technical term must appear, it should be explained briefly in plain language.

Added to the prompt
Prompt text: "Keep each bullet to one sentence or fewer. Avoid technical jargon. If a technical term must be mentioned, explain it briefly in plain language."
Output effect: The model tends to stay within the stated limits - overlong or out-of-scope content is less common when constraints are explicit.

Step 7 - Examples: Show the Pattern If Needed

An example shows the model the desired output pattern. It is most useful when the required style is easier to demonstrate than to describe - or when consistent phrasing across multiple outputs matters.

You do not need a long example. A single sentence in the right voice is often enough.

For this task, a short style model helps it match the expected register and sentence length.

Added to the prompt
Prompt text: "Here is an example of the style I want: 'The team completed the API integration last week, and it is ready for testing.'"
Output effect: The model tends to match the pattern, sentence length, and tone of the provided example - the gap between expectation and output typically narrows.

The Complete Prompt

Here is the finished prompt with all seven elements labeled:

Element Prompt Text
Task "Summarize the following project update in three bullet points."
Role "You are a communications coordinator writing for an internal non-technical team."
Context "The audience has no engineering background. The update covers progress made last week, current blockers, and next steps. The summary will be shared in a team email."
Format "Present the output as three bullet points. Format as a bulleted list."
Tone "Write in plain, direct language. Keep the tone clear and professional."
Constraints "Keep each bullet to one sentence or fewer. Avoid technical jargon. If a technical term must be mentioned, explain it briefly in plain language."
Examples "Here is an example of the style I want: 'The team completed the API integration last week, and it is ready for testing.'"

This is not the only valid version of this prompt. Depending on your task, you may not need all seven elements. But this walkthrough shows what each element contributes - and gives you a complete starting point to adapt.

What to Do If the First Output Is Not Quite Right

A first attempt is not a verdict. It is information.

If the output misses the mark, use the draft - test - refine loop:

  1. Identify the gap. Which element is responsible? Output that is too long usually points to a missing or unclear constraint. Output in the wrong style often points to tone or examples. Output that misses the audience usually points to a lack of context or role.
  2. Adjust one element. Change the element you identified. Do not rewrite the whole prompt - changing multiple things at once makes it harder to know what produced the improvement.
  3. Test again. Compare the new output to the previous version. If it is closer, you have found the adjustment. If not, check the next most likely element.

In many cases, one targeted adjustment - adding a constraint, including a short example, or clarifying the role - is enough to bring the output into range.

Key Takeaways

  • Building a prompt in steps - task first, then role, context, format, tone, constraints, and examples - gives you a repeatable process from blank page to structured prompt.
  • Task is the only element that is always required. Every other element is applied based on what the output needs to accomplish.
  • Role and tone are separate decisions. When the first output misses the mark, the draft - test - refine loop helps you identify which element caused the gap and adjust it deliberately.
  • Examples are most useful when the required style is easier to show than to describe. A single sentence in the right voice is typically sufficient.
  • The seven-step process is not fixed. Once you understand what each element contributes, you can apply the relevant ones - not all seven - to any task you bring to an AI tool.

Related Articles

Written by Rafael Ramos

Related Posts

0 Comments