Claude Prompt Writing Guide: 10 Techniques That Actually Work
๐ Table of Contents
- Why Prompting Matters More Than You Think
- Technique 1: Assign Claude a Role
- Technique 2: State the Audience
- Technique 3: Specify the Output Format
- Technique 4: Give Context and Background
- Technique 5: Use Examples (Few-Shot Prompting)
- Technique 6: Break Complex Tasks into Steps
- Technique 7: Set Constraints
- Technique 8: Ask Claude to Think Step by Step
- Technique 9: Tell Claude What to Avoid
- Technique 10: Iterate With Specific Feedback
- Putting It All Together: A Full Example
- Common Mistakes to Avoid
- Practice Exercises
Why Prompting Matters More Than You Think
Two people can use the exact same AI tool and get completely different results. The difference is almost never the tool โ it is the quality of the prompts they write. A vague prompt produces a generic answer. A well-structured prompt produces something genuinely useful.
The good news: prompt writing is a learnable skill, and the principles are simple once you see them demonstrated. This guide covers the 10 techniques that make the biggest difference when working with Claude specifically.
Technique 1: Assign Claude a Role
Before stating your task, tell Claude who you want it to be. This single step consistently produces more focused, expert-level responses.
Without role: "Help me review this contract clause."
With role: "You are a commercial contract attorney with 15 years of experience. Review the following contract clause and flag any terms that favor the other party or that I should negotiate."
The role framing puts Claude in the right headspace and surfaces knowledge it would not otherwise apply.
Technique 2: State the Audience
Claude calibrates complexity, vocabulary, and depth based on who it is writing for. Always specify your audience.
Examples:
- "Explain this to a complete beginner with no technical background."
- "Write this for C-suite executives who want the bottom line, not the details."
- "I'm a nurse. Use medical terminology but avoid highly specialized jargon."
This alone can transform a mediocre explanation into an excellent one.
Technique 3: Specify the Output Format
Claude can produce output in many formats. If you do not specify, it picks one for you โ and it may not be the right one. Be explicit:
- "Give me this as a numbered step-by-step list."
- "Format your answer as a comparison table with columns for Feature, Claude, and ChatGPT."
- "Write this as three short paragraphs, each under 80 words."
- "Output only the code, no explanations."
- "Respond in JSON format."
When you need output you can copy and paste directly into another tool or document, format instructions are essential.
Technique 4: Give Context and Background
Claude does not know anything about your situation unless you tell it. The more relevant context you provide, the more tailored the output.
Without context: "Write a LinkedIn post about our new product launch."
With context: "Write a LinkedIn post announcing the launch of our B2B SaaS tool for supply chain managers. The key differentiator is that it reduces manual data entry by 70%. Our audience is operations directors at mid-size manufacturers. Keep it under 150 words, conversational but professional, and end with a question to encourage comments."
The second prompt contains the who, what, why, audience, length, tone, and call-to-action. Every detail reduces guesswork.
Technique 5: Use Examples (Few-Shot Prompting)
Showing Claude an example of what you want is often more effective than describing it. This is called few-shot prompting.
Example: "I need subject line options for a cold outreach email. Here is an example of the style I like: 'Quick question about your Q3 hiring plans.' Now give me 10 subject lines for an email to HR managers about our interview scheduling software."
By showing one example, you communicate tone, length, and style far more precisely than words alone can.
Technique 6: Break Complex Tasks into Steps
When you have a multi-part project, do not dump everything into one massive prompt. Break it into a conversation:
- "First, help me outline a 1,500-word blog post about remote work productivity. Just the structure โ no writing yet."
- (Review outline, ask for changes)
- "Good. Now write Section 2: 'Setting Up a Dedicated Workspace.' Aim for 300 words, practical tone."
- (Continue section by section)
This approach gives you control at each stage and produces far better results than asking Claude to write an entire article in one go.
Technique 7: Set Constraints
Constraints are not limitations โ they are guardrails that improve output quality. Common constraints:
- Length: "Keep it under 200 words." / "Write at least 1,000 words."
- Tone: "Professional but not stuffy." / "Casual and friendly, like texting a colleague."
- Perspective: "Argue only the pros โ I will separately ask for the cons."
- Avoid: "Do not use the word 'leverage.'" / "Do not include any statistics โ just principles."
Constraints reduce the number of iterations you need to reach the right output.
Technique 8: Ask Claude to Think Step by Step
For analytical, mathematical, or logical problems, explicitly asking Claude to reason step by step significantly improves accuracy. This technique is sometimes called chain-of-thought prompting.
Standard: "What are the risks of raising our prices by 20%?"
Chain-of-thought: "Think through the risks of raising our prices by 20% step by step. Consider the impact on existing customers, competitive positioning, revenue math, and any second-order effects. Walk me through your reasoning before giving a summary."
The "think step by step" instruction forces Claude to show its work, which helps you catch flawed assumptions and gives you a much richer answer.
Technique 9: Tell Claude What to Avoid
Sometimes it is easier to define success by what you do not want. Negative constraints can be surprisingly powerful:
- "Do not suggest anything that requires a budget โ all ideas must be free."
- "Do not give generic advice. Every suggestion should be specific and actionable."
- "Do not repeat information I already provided. Start from where I left off."
- "Do not be diplomatic โ tell me honestly what is wrong with my plan."
The last one is particularly useful. Claude has a slight tendency toward politeness. Explicitly asking for blunt feedback turns it into a genuine critic.
Technique 10: Iterate With Specific Feedback
The fastest way to get what you want is to give Claude specific feedback after each response, not just "try again." Compare:
Vague: "That's not quite right. Try again."
Specific: "The tone is too formal for a casual blog. Also, the third paragraph buries the main point โ move it to the top. Keep everything else."
Specific feedback tells Claude exactly what worked and what did not, so each iteration genuinely improves.
Putting It All Together: A Full Example
Here is a prompt that combines multiple techniques:
"You are a senior marketing copywriter with expertise in SaaS products. I need a homepage hero section for our project management tool aimed at freelancers.
Requirements:
- Headline: under 10 words, benefit-focused, not feature-focused
- Subheadline: 1โ2 sentences, expand on the headline, mention time savings
- CTA button text: 4 words or fewer
- Tone: confident, modern, not corporate
- Do not use the words 'streamline,' 'empower,' or 'leverage'
Give me 3 variations. Format each as: Headline / Subheadline / CTA"
This prompt has: a role, an audience, format instructions, constraints, negative constraints, and a specific output structure. It will produce excellent, usable copy on the first try.
Common Mistakes to Avoid
Being too short: "Tell me about marketing" gets you a textbook overview. That is rarely what you need.
Asking multiple unrelated questions at once: Pick one task per conversation for the cleanest results.
Accepting the first response: Claude's first response is a starting point, not the final answer. One round of specific feedback almost always produces something significantly better.
Forgetting to specify length: Without guidance, Claude may write far more or far less than you need.
Practice Exercises
Try rewriting these weak prompts using the techniques above:
- "Write me a bio." โ Add role, audience, length, tone, and what to include/exclude.
- "Explain machine learning." โ Add a target audience and desired format.
- "Is my business plan good?" โ Paste the plan and ask for specific, honest critique with a role assigned.
The more you practice, the faster prompting becomes second nature.
๐ Continue Learning
Claude Artifacts: Build Apps, Charts, and Tools Without Coding
Learn how to use Claude Artifacts to create interactive web apps, data visualizations, SVG graphics, and working tools โ all in your browser with no coding required.
How to Use Claude for Coding: A Practical Developer Guide
Learn how to use Claude as your AI coding assistant โ from debugging and code review to writing entire functions and explaining complex code. Practical examples included.
Using Claude for Research and Analysis: A Practical Guide
Learn how to use Claude to accelerate research, summarize documents, analyze data, compare sources, and synthesize complex information into clear insights.
Claude Beginner's Guide: Sign Up, Log In & Your First Conversation
A complete step-by-step walkthrough for new users โ how to create a Claude account, navigate the interface, and have your very first productive AI conversation in under 30 minutes.