Articles
Industry news, technical articles, and product introductions
📚 Claude Tutorials Hub
40+ step-by-step Claude guides — prompt engineering, Claude Code, API, agents. Browse by topic →
Loading...
Industry news, technical articles, and product introductions
📚 Claude Tutorials Hub
40+ step-by-step Claude guides — prompt engineering, Claude Code, API, agents. Browse by topic →
Loading...
We automated our newsletter's daily WeChat cover: MiniMax image-01 renders a marketing-style background, an SVG text layer composites the headline, sharp crops to the exact 2.35:1 ratio, and Playwright drops it into the WeChat draft. The full postmortem covers why AI must never draw the title text, how one 'negative space' prompt word shoved the subject out of frame, and how word-splitting line breaks got fixed — with three real before/after images.
"Opus 5 verifies itself, so delete your fallback prompts" is advice you hear everywhere. I took it, then isolated both configs with CLAUDE_CONFIG_DIR and ran 18 headless trials on identical tasks. Output tokens dropped 21% and wall clock 20-29%, with zero counterexamples. But two of the rewritten rules never fired at all, and one result points the other way: the old config's most thorough run covered a strict superset of what the new one found. Why cheaper and better are separate questions.
'We removed over 80% of Claude Code's system prompt' — and the evals didn't move. The popular takeaway ('write shorter prompts') is wrong: what got deleted was constraints, not information. A usable dividing line, plus the API-layer mechanics the official post left out and the two real disagreements from 343 HN comments.
Two people ask the same AI the same question and get completely different results. The difference is prompt quality. This guide covers 10 concrete, practical techniques for writing prompts that consistently get useful, accurate outputs from any large language model.
Deep dive into system prompt design principles and best practices. Learn to control Claude's behavior through role definition, constraints, and output formatting.
Learn to get Claude to output structured formats like JSON and XML, and leverage Claude's vision capabilities for understanding images, documents, and charts.
Master the core principles and practical techniques of prompt engineering with Claude. From basics to advanced strategies for writing precise, effective prompts.
Master Chain of Thought prompting to guide Claude through step-by-step reasoning for math, logic, and complex multi-step problems.
A practical guide to using XML tags in Claude prompts so context, instructions, examples, and answers stay cleanly separated.
When to use role prompting with Claude, how system prompts differ from task instructions, and how Anthropic recommends separating role from user requests.
How to use prompt templates and variables in Claude so repeated tasks stay consistent, testable, and easier to maintain.
A practical guide to Anthropic's prompt improver for upgrading weak prompts into clearer, more structured templates with better examples and reasoning instructions.