Nivå 3 — Advanced

Prompt engineering at expert level

Master the advanced techniques that separate amateurs from experts — XML structure, meta-prompting, self-critique and Constitutional AI principles.
📅 21.05.2026 👁 64 views 🇳🇴 Les på norsk

Expert level prompting

You now know the basics — role, context, format, chain-of-thought, few-shot. Expert level prompting is about understanding how Claude actually processes instructions and using that knowledge strategically.

1. XML structure for complex prompts

Claude is trained on large amounts of XML-structured text and responds very well to XML tags for organizing complex prompts — especially for long system prompts with many components.

2. Meta-prompting

Meta-prompting means asking Claude to help you write better prompts. Claude knows what works best for Claude.

💡 Meta-prompting examples:
"I want you to [task]. Help me write the optimal system prompt for this."

"Here is my current prompt: [prompt]. What can be improved for more consistent results?"

3. Self-critique and iteration

✅ Self-critique technique:
"[Your task]. When you have written the answer, evaluate it critically: Is the argumentation logically consistent? Is anything important missing? Write an improved version based on the evaluation."

4. Output format locking

✅ Absolute format locking:
"Respond ONLY with a JSON object. No introduction, no explanation, no markdown. Just raw JSON in this format: {score: number 0-100, category: positive|neutral|negative, reason: max 15 words}"
⚠️ Expert pitfall:
Over-engineering prompts. A 2,000 word prompt is rarely better than a 200 word one. Always test with the simplest possible prompt first.
"An expert does not just know what works — they know why it works. And they know when to stop." — On mastering prompt engineering
What you envision with faith and gratitude will find its way to you.
— Florence Scovel Shinn

🎯 Test your knowledge

Test yourself — completely optional, but fun! 🎯

Question 1 of 3

Question 1 of 3

Why do XML tags work particularly well for structuring system prompts?

Claude is trained on large amounts of XML-structured text and responds very well to XML tags for organizing complex instructions.

Question 2 of 3

Question 2 of 3

What is meta-prompting?

Asking Claude to help you write better prompts — Claude knows what works best for Claude and can optimize your instructions.

Question 3 of 3

Question 3 of 3

What is the most common pitfall for expert prompting?

Over-engineering — a 2,000 word prompt is rarely better than a 200 word one. Always test with the simplest possible prompt first.
Share:

Read also