AI guidesTalking to AI

What Is a Prompt and How Do You Write a Good One?

A prompt is simply what you type to Claude or ChatGPT. The gap between a vague, disappointing answer and work you can actually use almost always comes down to the quality of the instruction. This guide shows you how to write a clear brief, with examples from engineering and office work.

8 min read

01Like briefing a new junior engineer on day one

Picture a bright junior engineer on their first day. They know a lot, but nothing about your project, your client or your house standards. Say only "write a report" and you get something generic. Explain the goal, the reader, what material you have and what it should look like, and you get exactly what you need. That is how a prompt works, and it is also Anthropic's own advice: treat Claude as a brilliant but new employee who lacks context.

02The shape of a good prompt

  1. 1GoalWhat you want at the end, and why
  2. 2ContextWho the reader is, the project, what is already known
  3. 3MaterialAttach the files: PDF, Excel, drawing, standard
  4. 4FormatTable, steps, email, length, language
  5. 5CheckAsk for assumptions and sources, then verify yourself

03Six ingredients that make the difference

Basics

Clear and specific

Not "help me with the concrete" but "check whether this slab thickness works for this load". Whatever you leave out, the AI will guess.

Context

Explain the why

"This goes to a client who is not an engineer" changes the whole tone. Anthropic notes that explaining the purpose helps Claude understand what matters.

Audience

Name the audience

Inspector, homeowner, senior engineer or planning committee: each needs a different level of detail.

Examples

Give an example

Paste a past report or an email you liked and ask for "the same style". Examples are one of the most reliable ways to steer the result.

Format

Ask for a format

A table with set columns, numbered steps, a five-line email. And say what to do, not only what to avoid.

Questions

Let it ask questions

Add "before you start, ask me what you are missing". It saves a round of corrections.

04Before and after: a site visit report

Site engineerasks
Before: "Write a report." After: "Write a site visit report for the developer's project manager. Goal: record defects and assign who fixes what by when. Attached are my site notes and 6 photos. Format: a 2-line intro, a table (location, defect, severity, owner, due date), then 3 urgent actions. Neutral tone. If anything in my notes is unclear, ask before writing."
gets
Instead of a generic page on "the importance of site safety", you get an organised report built on your real defects, ready to send after a quick read and edit.
ToolClaude with attached files (notes and photos)

05A calculation prompt: make it show its work

Structural engineerasks
"Calculate the characteristic pull-out resistance of an M12 chemical anchor at 110 mm embedment in uncracked C25/30 concrete per EN 1992-4. Show every formula, every factor with its units, and cite the clause number for each step. List all your assumptions separately. Finish with a summary table and check that the units are consistent."
gets
A step-by-step calculation you can review like a junior's: you see where each number comes from, what was assumed and which clause to check. Verifying it against the standard and the manufacturer's data is still your job.
ToolClaude (ideally with the standard or manufacturer data attached as a PDF)

06Summarising a long standard or spec

Design engineerasks
"Attached is a chapter of the technical specification (PDF). I need the requirements for on-site pull-out tests. First quote the relevant passages word for word with page numbers, then summarise in a table: requirement, value, clause, note. If something is not in the document, write 'not stated' and do not fill it in from memory."
gets
A short table where every row rests on a quote you can find in the document. Asking for quotes first is a technique Anthropic recommends for long documents.
ToolClaude with an attached PDF

07A prompt for a website

Owner of a small engineering officeasks
"Build a landing page for anchor pull-out testing services. Audience: project managers and contractors. Goal: get them to leave their details. Structure: headline, 3 benefits, how it works in 4 steps, FAQ, short contact form. Hebrew, right-to-left, mobile-friendly. Main colour dark blue. Attached is text from our current site; use it as a base."
gets
A web page you can preview right away and improve in short rounds: "bigger headline", "add the logo", "shorten the text".
ToolClaude with an Artifact (see /ai/artifacts/)

08Prompt templates by task

TaskTemplateDon't forget
Email to a client"Write an email to [who] about [what]. Goal: [get approval / explain a delay]. Tone: [polite but firm]. Max 8 lines."Paste the previous email in the thread
Engineering calculation"Calculate [what] per [standard]. Show formulas, units, assumptions and clauses. Check yourself at the end."Verify every number yourself
Summarising a standard or spec"First quote the relevant passages, then summarise in a table: requirement, value, clause."Ask for 'not stated' instead of guesses
Site report"Turn the attached notes into a report for [reader]. Table: location, defect, owner, date."Attach raw notes and photos
Comparing quotes"Compare the 3 attached quotes in a table: price, scope, schedule, exclusions. Flag gaps."Attach all the files, not a summary
Excel formula"Sheet: column A diameter, B depth. In column C I need [what]. Give the formula and a short explanation."Describe the sheet layout precisely
Website or landing page"Build a page for [audience] with the goal [action]. Structure: [sections]. Language, colours, mobile."Improve in short rounds
Translating a technical document"Translate into professional English. Keep these terms: [list]. Do not change numbers or units."Give a fixed glossary

09System prompt, user prompt and project instructions

Every message

User prompt

The message you type in the chat each time. This is where the specific task goes.

Fixed background

System prompt

Background instructions that set a role and rules for the whole conversation, such as "You are a senior structural engineer". Mostly used by people building tools on the API.

Time saver

Project instructions

In Claude you can create a Project with instructions and files that apply to every chat inside it, so you don't re-explain who you are each time. Availability depends on your plan.

Reuse

Saving prompts

A prompt that worked is worth keeping: as a Skill for repeat jobs (Procedures for AI) or as a ready-to-paste snippet (Reusable building blocks).

10Write a good prompt in 5 minutes

  1. 1

    State the goal in one sentence

    What you want and why: "I need X so that Y."

  2. 2

    Add context and audience

    Project, client, standard, and who will read the result.

  3. 3

    Attach the material

    PDF, Excel, photos, the earlier email. The original file beats your description of it.

  4. 4

    Define the format

    Table with columns, numbered steps, length, language. If you have a good example, paste it.

  5. 5

    Ask for questions first

    "If you are missing information, ask before you start."

  6. 6

    Iterate

    The first answer is a draft. Be specific about changes: "shorten section 2, add a cost column".

  7. 7

    Check and save

    Verify numbers and facts yourself. If the prompt worked, save it for next time.

11Do and don't

Do

  • State the goal, audience and format
  • Attach the original files
  • Ask for formulas, units, assumptions and clauses
  • Give an example of output you liked
  • Say what to do ("write in flowing paragraphs")
  • Iterate in short rounds and check every number

Don't

  • "Write a report" with zero context
  • Trust a calculation without seeing the steps
  • Assume the AI knows your project
  • Cram ten different tasks into one message
  • Paste sensitive client data without checking office policy
  • Start from scratch every time instead of using a Project

12FAQ

Does politeness matter?

It doesn't hurt, but it is not what improves the result. Clarity does: goal, context, material and format. "Please" without context still gets you a generic answer.

Hebrew or English?

Claude works well in Hebrew. Write in the language you can be most precise in, and state the output language explicitly. Technical terms and standard names can stay in English.

How long should a prompt be?

Long enough that a new engineer could do the job without asking. A simple task needs a line or two; a report or calculation needs a paragraph or more, plus files. Length without substance doesn't help.

How do I know my prompt is good?

Anthropic's rule of thumb: show it to a colleague who knows nothing about the task. If they would be confused, the AI will be too.

Can I trust a calculation the AI did?

Not without checking. Ask it to show every step, unit and clause, and review it the way you would review a junior's work. Professional responsibility stays with you.

Can Claude help me write the prompt?

Yes. Write "I want to ask you for X; help me write a good instruction and ask me what is missing". It is a quick way to learn.

More in this guide

The Claude Toolkit: What to Add for Every Task So It Works BetterA kit for every taskWhat Is an Artifact? A Guide for Engineers Who Want More Than a Chat AnswerOutputs, not just answersWhat Is an AI Agent? A Practical Guide for EngineersAI agents at workWhat Are Skills? An Engineer's Guide to Teaching Claude Your Office ProceduresProcedures for AIWhat Is a Connector? How Claude Plugs Into Your Apps (MCP)Claude meets your toolsWhat Is a Plugin? An Engineer's Guide to Installing a Whole Claude Workflow at OnceWorkflow packages for AIProjects and Memory in Claude: Make It Remember Your WorkContext that staysModels, Tokens and the Context Window: What Happens Behind the ScenesHow AI thinksPictures and Video with Claude: What It Sees, What It Makes, and the WorkaroundsClaude's eyeWhat Is a Design System? A Guide for Non-DesignersDesign without a designerWhat Is a Snippet? An Engineer's Guide to Reusable Pieces of Code and TextReusable building blocksWhat Is GitHub? A Guide for Engineers Who Don't CodeGitHub without codeDesign an image with AI: create, edit and improve pictures, free and paidImages with AIDesigning an AI Character: Mascot, Avatar, Talking Presenter, 3DTask: AI characterEngineering calculations with AI: compute, check and document properlyCalculations with AIBuild engineering software with AI: from a small calculator to an app, without being a programmerSoftware without codingFind a product with AI: search, compare and verify products, suppliers and datasheetsFind and compare productsFind a standard with AI: the right standard and clause, without the hallucinationsStandards, no guessingThe full Claude guideEverything you need to start, step by step

Back to the AI page