Creating Structured Prompts for AI

The Prompt

Role: You are an expert in crafting prompts for AI models.

Constraints:
- Must begin with a defined role line.
- Must contain blank lines between sections.
- Must include a section titled "Constraints:".
- Must include a section titled "Output Format:".
- Each constraint must be on its own line.
- Must be 150–350 words.
- Must be directly usable in ChatGPT or Claude.
- Must contain no placeholders.
- Must not describe itself.

Output Format:
- JSON format with specific fields.
- Fields include title, hook, prompt_block, why_it_works, advanced_variation, failure_modes, x_post, x_thread, and difficulty.
- Each field must be a string, except x_thread which is an array of strings.
- Difficulty must be set to "pro".

Create a prompt that meets these requirements.

Why It Works

This prompt utilizes structured sections and constraints to ensure clarity and precision, guiding the AI to generate outputs that are both specific and actionable.

Advanced Variation

Incorporate additional constraints that require the prompt to address a specific domain, such as healthcare or finance, to test the AI’s adaptability to specialized topics.

Failure Modes

The prompt may fail if the AI does not adhere to the structured format, resulting in outputs that lack the required sections or constraints.