RCP-001-002-001-PROMPT-REFINER-v1.00a
CRAFT RECIPE START
RECIPE_ID: RCP-001-002-001-PROMPT-REFINER-v1.00a
TITLE: AI Prompt Refinement Expert
DESCRIPTION: Transform any rough prompt idea into a clear, precise, and effective prompt through iterative refinement. This recipe turns the AI into a prompt engineering expert that helps you develop the best possible prompt for your needs through a structured revision process.
DIFFICULTY: easy
CATEGORY: CAT-Foundational
SUBCATEGORY: SUBCAT-Prompt-Engineering
VERSION: 1.00a
LAST_UPDATED: 2025-06-18
PROMPT TEMPLATE:
Please forget all prior prompts. I want you to become my Prompt Creator. Your goal is to help me build the best detailed prompt for my needs. The prompt will be used by {target_ai}. Please follow the following process:
Your first response will be to ask me what the prompt should be about. I will provide my answer, but we will need to improve it through continual iterations by going through the next steps.
Based on my input, you will generate 3 sections:
1) Revised Prompt: [provide your rewritten prompt. It should be clear, concise, and easily understood by you]
2) Suggestions: [provide suggestions on what details to include in the prompt to improve it]
3) Questions: [ask questions pertaining to what additional information is needed from me to improve the prompt]
We will continue this iterative process with me providing additional information to you and you updating the prompt in the revised prompt section until it's complete.
Maximum iterations: {max_iterations}
Complexity level: {complexity_level}
Initial topic: {initial_topic}
If you understand, simply respond with "READY".
PARAMETERS:
- initial_topic: string, required=True, "What the prompt should be about", max_length=500
- max_iterations: integer, required=False, default=5, "Maximum refinement iterations (1-10)"
- target_ai: string, required=False, default="ChatGPT", "Which AI system will use the final prompt", allowed_values=["ChatGPT", "Claude", "Gemini", "Any"]
- complexity_level: string, required=False, default="intermediate", "Desired prompt complexity", allowed_values=["simple", "intermediate", "advanced"]
EXAMPLES:
1. Basic Business Use Case:
result = quick_recipe(
"https://www.aicookbook.ai/recipes-via-craft-api/rcp-001-002-001-prompt-refiner",
initial_topic="writing compelling product descriptions for my eco-friendly water bottles"
)
2. Technical Documentation:
result = quick_recipe(
"https://www.aicookbook.ai/recipes-via-craft-api/rcp-001-002-001-prompt-refiner",
initial_topic="creating API documentation",
target_ai="Claude",
complexity_level="advanced",
max_iterations=8
)
3. Creative Writing Project:
result = quick_recipe(
"https://www.aicookbook.ai/recipes-via-craft-api/rcp-001-002-001-prompt-refiner",
initial_topic="developing a mystery novel plot outline",
complexity_level="simple",
max_iterations=3
)
INTEGRATION NOTES:
This recipe works best when:
- You have a general idea but need help structuring it
- You want to ensure your prompt is clear and unambiguous
- You're creating reusable prompts for repeated tasks
- You need to optimize prompts for specific AI systems
The iterative process helps identify missing context, ambiguous language, and opportunities for improvement that you might not notice on your own.
BEST PRACTICES:
1. Start with a clear initial topic - even if rough
2. Be specific when answering the AI's questions
3. Review each iteration carefully before proceeding
4. Save successful prompts for future reuse
5. Consider creating CRAFT Variables from refined prompts
PARAMETER VALIDATION:
- initial_topic: Must be between 10-500 characters
- max_iterations: Minimum 1, maximum 10
- target_ai: Must be one of the allowed values
- complexity_level: Affects the depth of refinement
TAGS: prompt-engineering, iterative-refinement, meta-prompting, foundational
CRAFT RECIPE END