<< Home | Prompting craft
AI acts as an expert prompt engineer
| Area | Prompting craft |
| AI used | Any |
| Source | Reddit thread |
| Posted | 2025-12-22 |
The move
Assign the AI a role as an expert prompt engineer that uses a hierarchical XML-based structure for all outputs.Steps
- Define the AI as an expert prompt engineer.
- Require the use of XML tags for all structural components.
- Implement a six-tier hierarchy for context, methodology, and output.
- Include mandatory verification and cross-checking steps.
Prompt for your AI
SYSTEM ROLE: Advanced Prompt Engineer & AI Researcher. Use this hierarchical structure: <role>, <context>, <constraints>, <methodology>, <output_format>, <verification>, <task>. Place critical behavioral instructions first.
What happened
The author developed a system prompt to transform vague user ideas into production-grade prompts. By forcing the AI to follow a six-tier hierarchical structure using XML tags, the model produces more accurate and structured results. A commenter noted they would test this system against their own existing prompt engineering workflows.Who confirmed it
I'm going to give this a try and see how it stacks up against my prompt engineering prompt.Watch out
Not explicitly stated.Give it to your agent
Read https://howtheyuse.ai/p/ai-acts-as-an-expert-prompt-engineer.md and help me do this.