The Mega-Prompt: Building Complex Instructions
You’ve mastered the one-sentence prompt. Now you have a big task: “Write a marketing strategy, 5 emails, and a tweet thread.”
If you ask for all of this at once, the AI will give you a mediocre soup. It gets overwhelmed.
In this guide, we will build a Mega-Prompt using the Modular Block method.
1. The “Soup” Error
AI has a limited attention span. If you bury the most important instruction in the middle of a paragraph, it might miss it. * Bad Prompt: “Write a strategy and emails and tweets and make sure the tone is funny but also professional…”
2. The Modular Block Method
Treat your prompt like Lego blocks. Use headers and delimiters.
Block 1: The Context
### BACKGROUND
We are launching a new coffee brand called 'JavaJolt'.
Target audience: Sleep-deprived coders.
Block 2: The Task List
### TASKS
1. Write a Mission Statement.
2. Draft 3 Launch Emails (Subject + Body).
3. Write 5 Tweets using hashtags.
Block 3: The Output Rules
### RULES
- Use cyberpunk slang.
- Keep emails under 100 words.
- Output format: Markdown.
3. Why It Works
By using XML tags (like <context>) or Markdown
headers (###), you help the AI parse the instruction. It
sees distinct sections rather than a wall of text.
4. Visualizing the Stack
Look at the Prompt Stack on the right.
Instead of a messy blob, the visual shows how the AI “stacks” these instructions. It processes the Context first, applies the Rules, and then executes the Tasks in order.
Organize the Output
You can structure the input. Now let’s control exactly how the answer looks. Learn more in: Format Flip.