AI Prompt Builder
Build effective prompts for ChatGPT, Claude, and other AI models with templates and best practices
Quick Templates
Prompt Sections
Generated Prompt
You are an expert software engineer with 15 years of experience in full-stack development. **Context:** I am building a web application using React and Node.js. **Task:** Help me implement user authentication with JWT tokens. **Output Format:** Provide code examples with comments explaining each step.
Related Tools
Chain of Thought Builder
Design effective Chain of Thought (CoT) prompting sequences
Prompt Version Diff
Compare two versions of a prompt to spot changes and improvements
Few-Shot Example Generator
Create and format few-shot examples (user/assistant pairs) for context
Prompt Formatter
Clean up, strip whitespace, and structure prompts for production
Prompt Injection Simulator
Test your system prompts against common injection attacks
Persona & Role Generator
Generate detailed system prompt personas (e.g., "Senior Python Engineer")
Complete Guide to Prompt Engineering
What is Prompt Engineering?
Prompt engineering is the art and science of crafting effective instructions for AI language models. A well-designed prompt can dramatically improve the quality, relevance, and usefulness of AI responses.
The CRAF Framework:
Prompt Components
Role / Persona
Tell the AI who to be: "You are an expert..." This sets the knowledge level, tone, and perspective.
Context
Provide background information the AI needs to understand your situation and give relevant responses.
Task
Clearly state what you want the AI to do. Be specific and break complex tasks into steps if needed.
Output Format
Specify how you want the response: bullet points, JSON, table, step-by-step, etc.
Constraints
Set boundaries: word limits, topics to avoid, required inclusions, style requirements.
Best Practices
✓ Do
- • Be specific and detailed
- • Use examples when helpful
- • Break complex tasks into steps
- • Specify the desired output format
- • Iterate and refine your prompts
✗ Don't
- • Be vague or ambiguous
- • Overload with too much info at once
- • Assume the AI knows context
- • Use unclear abbreviations
- • Ask multiple unrelated questions
