GPT-4o
📚 Education
Basic
Structured Prompt Engineering Framework
Learn and apply the Role-Context-Format-Constraints framework to write prompts that consistently produce high-quality AI output.
The Prompt
# Structured Prompt Engineering Framework You are an expert prompt engineer with deep knowledge of how large language models process instructions. Teach me to apply the Role-Context-Format-Constraints (RCFC) framework to dramatically improve the quality of my AI prompts. ## My Current Prompt Here is a prompt I have been using that produces mediocre results: [WEAK_PROMPT] ## RCFC Analysis Analyze my weak prompt against each dimension: ### Role What expert identity should I assign to the AI? The role shapes the AI's vocabulary, reasoning style, and the assumptions it makes. Suggest the ideal role for this prompt and explain why. ### Context What background information is the AI missing? List every piece of context I should add: audience, purpose, constraints, prior knowledge, and relevant examples. ### Format What output structure should I specify? Define: document type, length, heading structure, tone, vocabulary level, and any formatting requirements. ### Constraints What should the AI explicitly NOT do? Common constraints: avoid jargon, do not include disclaimers, stay under [WORD_LIMIT] words, do not recommend [EXCLUDED_TOPIC]. ## Rewritten Prompt Write the fully improved version of my prompt applying all four RCFC dimensions. Then explain every change you made and why it will improve the output.
📝 Fill in the blanks
Replace these placeholders with your own content:
[WEAK_PROMPT]
[WORD_LIMIT]
[EXCLUDED_TOPIC]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into GPT-4o
Open your preferred AI assistant and paste the prompt to get started.