Skip to main content
All CollectionsAnthropic API & API ConsoleAPI Usage and Best Practices
I’ve been using other large language models (LLMs) to power my product. How should I alter my prompts when switching to Claude?
I’ve been using other large language models (LLMs) to power my product. How should I alter my prompts when switching to Claude?
Updated over a week ago

Here are few tips we often give to new Claude users:

  • Instruct Claude using natural language.

  • Give examples of your desired output as part of your prompt.

  • Use XML <tags> to focus its attention and divide sections.

  • Feed Claude the starting words of your desired output using the “Assistant:” notation.

  • Place detailed instructions and questions at the end of your prompt.

  • Break down complex tasks step-by-step and ask Claude to recite the details of the task.

For more prompting guidance, visit our documentation.

Did this answer your question?