How to Write Better Claude Prompts — Advanced Techniques That Actually Work
- claude prompts
- prompt engineering
- how to use claude
- ai tutorial
You have been using Claude for a while. You know the basics. You type a question, Claude answers. Sometimes the answer is great. Sometimes it is frustratingly generic.
The difference between a mediocre Claude response and an exceptional one almost always comes down to how you wrote the prompt. Not how smart you are. Not how expensive your plan is. The prompt.
This guide covers the advanced techniques that separate people who get good results from Claude from people who get great ones. If you are already past the basics, this is where things get interesting.
Why Most Prompts Underperform
Before the techniques, it helps to understand why average prompts get average results.
Claude is a reasoning model. It does not just retrieve answers — it thinks through your request and constructs a response based on everything you gave it. The problem is that most prompts give Claude almost nothing to work with.
A prompt like "explain machine learning" could mean a hundred different things to a hundred different people. Claude has to guess your level, your purpose, your preferred format, and your desired depth — all at once. When it guesses wrong, the response feels off.
Better prompts give Claude less to guess. The techniques below are all about reducing guesswork and giving Claude the context it needs to reason well.
Technique 1 — Role Prompting
Role prompting means telling Claude to adopt a specific identity or perspective before answering. This is one of the most powerful and underused techniques available.
Basic version:
"You are an expert financial analyst. Explain what a P/E ratio is."
Advanced version:
"You are a senior financial analyst with 15 years of experience explaining complex concepts to non-technical executives. Explain what a P/E ratio is to a CEO who understands business but has no accounting background. Be direct, use a real-world analogy, and avoid jargon."
The difference is significant. The basic version gives Claude a role. The advanced version gives Claude a role, an audience, a tone, and constraints. Every added detail narrows what a good response looks like — and Claude is very good at hitting a narrow target.
Where it works best:
- Writing tasks — "You are a senior editor at The Economist"
- Code review — "You are a senior engineer who prioritizes readability over cleverness"
- Analysis — "You are a skeptical consultant who always finds the flaw in the argument"
- Teaching — "You are a patient tutor explaining to someone who has tried and failed to understand this three times"
One thing worth knowing: Claude responds to roles that are realistic and specific. Vague roles like "you are an expert" produce slightly better results. Specific roles like "you are a product manager at a Series B SaaS company who has shipped three pricing redesigns" produce dramatically better ones.
Technique 2 — Chain of Thought Prompting
Chain of thought prompting tells Claude to show its reasoning step by step before arriving at an answer. This sounds simple but it fundamentally changes the quality of responses on complex tasks.
Without chain of thought:
"Should I quit my job to start a business?"
Claude will give you a balanced answer that says both yes and no and ultimately helps nobody.
With chain of thought:
"I am considering quitting my job to start a business. Before giving me your recommendation, I want you to think through this carefully. First, identify what information would be critical to know before making this decision. Second, lay out the strongest case for quitting now. Third, lay out the strongest case for waiting. Fourth, identify what the single biggest risk is in each direction. Then give me your actual recommendation based on that reasoning."
By structuring the thinking process, you force Claude to actually reason rather than pattern-match to a safe generic answer. The response will be longer but far more useful.
The simple version that works on almost anything:
Just add one of these phrases to any prompt:
- "Think through this step by step before answering."
- "Walk me through your reasoning before giving your final answer."
- "Before responding, consider the different angles on this, then give me your conclusion."
These three phrases alone will noticeably improve Claude's output on anything that requires judgment or analysis.
Technique 3 — Constraints and Format Control
Most people tell Claude what they want. Fewer people tell Claude what they do not want. Both matter equally.
Unconstrained prompt:
"Write me a blog post about productivity."
Constrained prompt:
"Write a 900-word blog post about productivity for startup founders. Use a direct, no-fluff tone. Do not use bullet points or numbered lists anywhere in the body — write in paragraphs only. Do not start with a question. Do not use the words 'crucial', 'leverage', or 'game-changer'. End with a single concrete action the reader can take today."
The negative constraints — what not to do — are just as valuable as the positive ones. Claude has default tendencies: it loves bullet points, it loves hedge phrases, it loves certain words. Explicitly excluding them pushes Claude out of its defaults and into something more distinctive.
Useful constraints to keep in your toolkit:
- "Do not use bullet points — write in prose."
- "Keep the response under 300 words."
- "Do not hedge. Give me a direct answer."
- "Use short sentences. Maximum 20 words per sentence."
- "Do not start with 'Certainly' or 'Of course' or any similar preamble."
- "Give me only the output, no explanation of what you are doing."
Technique 4 — Few-Shot Prompting
Few-shot prompting means giving Claude examples of what you want before asking it to produce something. Instead of describing your desired output, you show it.
This is particularly powerful for writing tasks where tone and style are hard to describe but easy to demonstrate.
Without few-shot:
"Write a tweet about the new Claude update in my usual style."
Claude has no idea what your usual style is.
With few-shot:
"Here are three tweets I have written that represent my style:
Tweet 1: 'Everyone talks about AI replacing jobs. Nobody talks about AI replacing excuses.'
Tweet 2: 'The best prompt is not the cleverest one. It is the one that sounds most like a real human asking a real question.'
Tweet 3: 'Spent 3 hours debugging yesterday. Claude found it in 4 minutes. I am choosing to feel grateful, not humiliated.'
Now write three tweets about the Claude Opus 4.6 release in exactly this style."
Claude will now match your voice, your sentence length, your humor level, and your structural patterns — because you showed it exactly what those things look like.
Technique 5 — Iterative Prompting
The biggest mistake intermediate users make is treating every Claude interaction as a single shot. They write one prompt, get one response, and either use it or start over.
The better approach is iterative — treat the conversation as a collaboration that builds over multiple turns.
How it works in practice:
Start with a broad prompt to get a first draft. Then refine with follow-up prompts:
- "The second paragraph is too generic. Rewrite it with a more specific example."
- "The tone is too formal. Make it sound like I am talking to a colleague, not presenting to a board."
- "Good structure but the conclusion is weak. Give me three alternative endings and I will pick one."
- "Keep everything the same but cut it by 30%."
This is how professionals actually use Claude — not as a one-shot generator but as a thinking partner that improves through feedback. Each follow-up prompt costs you ten seconds and can dramatically improve the output.
Putting It All Together
Here is what an advanced prompt looks like when you combine these techniques:
Role: You are a senior content strategist who has grown three technology blogs to over 100,000 monthly readers.
Task: Write the introduction to a blog post about why most people get poor results from AI tools.
Chain of thought: Before writing, think about what the reader already believes when they arrive at this article and what misconception you need to challenge in the first paragraph.
Constraints: Maximum 150 words. No bullet points. No rhetorical questions to open. Write in first person. Do not use the word 'simply'.
Format: Just give me the introduction text — no explanation, no preamble.
That prompt will produce something dramatically better than "write an intro about AI tools" — not because Claude got smarter, but because you gave it far less to guess.
My Personal Prompting Workflow
Personally, my prompting workflow is a bit more involved than most people expect. I start with a clear vision of exactly what I want — not a vague idea, a specific outcome. I then build context around it: what I want, how I want it, and examples including images to show the AI what I mean visually.
From there I take all those rough thoughts — messy as they are — and feed them to a separate AI. I tell it that I am going to give the output to Claude, either on the web or in Claude Code, to help me build something specific. That AI then structures everything into a detailed, clean prompt that I paste directly into Claude.
Two AIs, working in sequence, each doing what it does best. It sounds like extra work but the quality of output I get is significantly better than anything I produce with a single prompt. The first AI handles the structure and clarity. Claude handles the execution. When both are doing their job well, the results speak for themselves.
The One Principle Behind All of These
Every technique in this article is a version of the same idea: reduce what Claude has to guess.
Role prompting reduces guesswork about perspective. Chain of thought reduces guesswork about reasoning process. Constraints reduce guesswork about format. Few-shot examples reduce guesswork about style. Iterative prompting corrects wrong guesses in real time.
The more precisely you define what a good response looks like, the more consistently Claude will produce one.
The Neuron publishes clear, practical AI guides. If this helped you get better results from Claude, share it with someone still wondering why their prompts are not working.