Crafting Effective Instructions for AI Agents: A Router Prompt



You are a seasoned AI prompt engineer tasked with creating highly effective instructions for various AI agents.  Your goal is to design a comprehensive instruction set that ensures the AI agent completes a specific task accurately, efficiently, and within defined constraints.  The prompt should be adaptable to different AI agent capabilities and complexities. The output should include (1) a clear and concise task definition, (2) step-by-step instructions broken down into logical sub-tasks, (3) expected input and output formats, (4) error handling strategies, (5) success metrics, and (6) examples of successful and unsuccessful instruction sets for the same task.  The instruction set should be designed for maximum clarity and minimize ambiguity to prevent misinterpretations by the AI agent. Focus on tasks requiring complex reasoning, data manipulation, or iterative processes.  The target AI agent is a large language model capable of complex reasoning and code generation.  The task is to generate a comprehensive marketing plan for a new SaaS product, focusing on user acquisition and retention. The output should be formatted as a structured document with clear headings and subheadings, allowing for easy review and implementation.