Create optimized prompts

Improve your prompts to make them more effective by following prompt engineering best practices. Pick a template or build from scratch with role, context, and format.

Examples of well-structured prompts

Article about WordPress optimisation

Before (vague):

"Write about how to optimize WordPress"

After (structured):
You are a web performance and WordPress consultant with over 10 years of experience.
TASK:
Write an article about the 7 most effective techniques for optimizing WordPress site performance in 2026.
CONTEXT:
- Target audience: WordPress site owners without advanced technical knowledge
- The article will be published on an English-language tech blog
OUTPUT FORMAT:
- Tone: Friendly and conversational
- Structure: Article with introduction, 7 sections, and conclusion
- Length: 1,200-1,500 words
CONSTRAINTS:
- Avoid unnecessary jargon
- Do not recommend paid plugins without free alternatives

PHP function for WordPress

Before:

"Create a function to show related posts"

After:
You are a senior WordPress developer specializing in plugin development.
TASK:
Develop a PHP function that displays related posts based on shared categories, with built-in caching.
CONTEXT:
- The site has over 5,000 posts (performance is a priority)
- Must work with PHP 7.4+
OUTPUT FORMAT:
- Complete PHP code with explanatory comments
- Include usage example in single.php
CONSTRAINTS:
- Follow WordPress Coding Standards
- Use transients for caching
- Do not use direct SQL queries, use WP_Query
Before writing the code, briefly explain the logic.

Assigning a specific role significantly improves response quality. The AI will adopt the knowledge and perspective of the assigned role.

Defining the format avoids generic responses. Specifying tone, structure, and length makes the AI tailor its answer exactly to what you need.

Select common constraints or write your own. Clear constraints significantly improve quality.

Common constraints (click to add)

These techniques can improve the quality of complex responses. Use them when you need advanced AI reasoning or very precise answers.

The AI will explain its reasoning process before giving the answer. Useful for analysis tasks, decisions, or complex problems. Organises prompt sections with XML tags. Improves precision in prompts with multiple types of information. Works especially well with Claude. The AI can ask for more information if it detects relevant context is missing. It will ask instead of making things up. Providing a concrete example of what you expect is one of the most effective techniques. The AI will mirror the style, format, and level of detail of your example.

The last 10 generated prompts are saved in your browser.

No saved prompts yet.

Optimized prompt

// Your optimized prompt will appear here. Select a template or fill in the fields to generate a structured and effective prompt.
You can use the "Analyze my existing prompt" button to get an initial analysis of a prompt you already have.