⌘ Claude XML Tag Builder

Structure prompts with XML tags Β· nest, reorder, preview
claudkit.com

🧩 Tag builder

No tags yet. Click a template or add custom.
Tokens β‰ˆ 0

πŸ‘οΈ Preview & copy

<?xml?> tags will appear here
βœ“ Copied!

πŸ“– Best practices

  • When to use XML tags: separate instructions, context, examples, constraints β€” improves Claude’s adherence.
  • Naming: lowercase, hyphenated (e.g. output_format). Keep consistent.
  • Few-shot: use <example> tags with input/output pairs.
  • Role-play: define persona with <persona> tag.
  • Nesting: use indent buttons to create hierarchy (simulated).