Stop Writing Bad AI Prompts: The Role-Task-Format Framework
Dev.to AI
•
Generative AI
Most people use AI like a search engine. They type vague questions and get vague answers. Then they say AI is overhyped. The problem is not the AI. The problem is the prompt. Here is a simple framework that fixes 80% of bad AI outputs: Role-Task-Format. The Framework Every good prompt has three parts: Role: Tell the AI who it is. "You are a senior marketing strategist with 15 years of experience in B2B SaaS." Task: Tell it exactly what to do.