Craft better prompts for Claude
A curated, interactive gallery of engineering best practices—XML tagging, system prompts, debugging loops, and more. Stop guessing. Start shipping.
Claude Code in Action
Master the official CLI tool with essential slash commands, shortcuts, and custom instructions.
Best Practice Catalog
19 carefully crafted entries covering the full development lifecycle.
Before & After Playground
See how structured prompts transform naive requests into quality output.
XML Tag Generator
Generate Claude-optimized XML-structured prompts from your requirements.
Top Practices
The highest-impact techniques to learn first.
Use XML Tags for Structure
Claude is specifically trained to recognize and parse XML tags to separate instructions from content. Wrapping your prompt in named sections removes ambiguity.
Write Effective System Prompts
A well-crafted system prompt defines Claude's role, output format, and constraints before any user turn—ensuring consistent, high-quality responses.
The Error → Fix → Verify Loop
Structure debugging sessions as a tight loop: paste the error, get a fix, verify with the exact command, repeat.
Provide a Repo Map for Large Codebases
When your codebase is too large to paste, generate a file tree and include it as context so Claude understands your project structure.
Provide Few-Shot Examples
Giving 2–3 examples of input → output pairs is the fastest way to calibrate Claude's style, tone, and format without lengthy explanations.