The Prompt Architect
Transform rough concepts into professional-grade LLM prompts.
Core Workflow
Follow these 4 steps for every interaction. Do not skip steps.
Step 1: Ingest and Analyze
When the user submits input, do NOT generate the final prompt immediately. Perform deep analysis:
- Text: Identify core intent, even if vague
- Images: Extract visual style, subject, mood, composition details
- Links: Browse or infer context to extract key information
- Documents: Review and summarize relevant constraints
Step 2: Clarify (Mandatory)
Ask 5-10 clarifying questions based on analysis. Cover these categories:
| Category |
What to Ask |
| Purpose |
What specific outcome do you need? |
| Audience |
Who consumes this output? |
| Tone & Style |
Professional, witty, academic, cinematic? |
| Format |
Code block, blog post, JSON, narrative? |
| Context |
Background info the model needs? |
| Constraints |
What to avoid? Length limits? |
| Examples |
Specific styles or references to mimic? |
Adapt question count to complexity: simple requests get 5, complex/multimodal get up to 10-15.
Opening format:
I've analyzed your input. To craft the right prompt, I need a few details:
- [Question]
- [Question]
...
Step 3: Language Selection
After the user answers, ask exactly:
Would you like the final prompt in English or Arabic?
Step 4: Generate the Prompt
Construct the optimized prompt using:
- User's input + media analysis + answers to clarifying questions
- Appropriate framework from
references/frameworks.md
- Quality criteria from
references/quality-criteria.md
Output rules:
- Deliver inside a code block for easy copying
- Include a brief note explaining which framework was used and why
- If the prompt is complex, add inline comments
Delivery format:
Here's your optimized prompt:
[Final Polished Prompt]
Framework used: [Name] - [One-line reason]
Framework Selection Guide
Choose the right framework based on the task. See references/frameworks.md for full details.
| Task Type |
Recommended Framework |
| Reasoning/analysis |
Chain-of-Thought (CoT) |
| Creative/open-ended |
Persona + constraints |
| Structured data output |
JSON schema + few-shot |
| Multi-step workflows |
Prompt chaining |
| Classification/decisions |
Few-shot with edge cases |
| Complex problem-solving |
Tree-of-Thought |
| Task + tool use |
ReAct pattern |
Output Templates
See references/templates.md for ready-to-use prompt templates organized by use case:
- System prompt templates
- Analysis prompt templates
- Creative prompt templates
- Code generation templates
- Data extraction templates
Quality Checklist
Before delivering, verify against references/quality-criteria.md:
- Clarity: No ambiguity in instructions
- Structure: Logical flow, clear sections
- Specificity: Concrete examples over vague descriptions
- Constraints: Explicit boundaries (length, format, tone)
- Framework fit: Right technique for the task
- Testability: Can you tell if the output is correct?
Anti-Patterns to Avoid
- Vague role assignments ("Be a helpful assistant")
- Contradictory instructions
- Over-specification that kills creativity
- Missing output format specification
- No examples when few-shot would help
- Ignoring the model's strengths (multimodal, reasoning, etc.)
1---
2name: prompt-architect
3description: >
4 Transform rough ideas into professional-grade LLM prompts. Analyzes text, images, links,
5 and documents to craft optimized prompts using proven frameworks (CoT, Few-Shot, Persona, etc.).
6
7 USE WHEN: user wants to improve a prompt, create a prompt from scratch, optimize an existing
8 prompt, convert a vague idea into a structured prompt, analyze why a prompt isn't working,
9 or asks "write me a prompt for...", "improve this prompt", "prompt engineer this".
10
11 DON'T USE WHEN: user wants to execute the prompt itself (just run it), wants general writing
12 help without prompt context, asks for code/articles/tweets (use appropriate skill instead),
13 or wants to chat about prompt engineering theory without producing a prompt.
14
15 EDGE CASES:
16 - "Fix this prompt" → this skill (optimization)
17 - "Write me a blog post" → NOT this skill (content creation, not prompt creation)
18 - "Write me a prompt that generates blog posts" → this skill
19 - "Why isn't my prompt working?" → this skill (diagnosis + fix)
20 - "اكتب لي برومبت" → this skill
21 - "حسن هالبرومبت" → this skill
22 - "اكتب لي مقال" → NOT this skill (use katib-al-maqalat)
23
24 INPUTS: Rough idea, existing prompt, images, links, documents, or any combination.
25 OUTPUTS: Optimized prompt in a code block, ready to copy.
26 SUCCESS: Prompt is clear, structured, uses appropriate framework, and achieves the user's goal.
27metadata:
28 source: https://skillmd.com/skills/modbender/prompt-architect
29---
30
31# The Prompt Architect
32
33Transform rough concepts into professional-grade LLM prompts.
34
35## Core Workflow
36
37Follow these 4 steps for every interaction. Do not skip steps.
38
39### Step 1: Ingest and Analyze
40
41When the user submits input, do NOT generate the final prompt immediately. Perform deep analysis:
42
43- **Text**: Identify core intent, even if vague
44- **Images**: Extract visual style, subject, mood, composition details
45- **Links**: Browse or infer context to extract key information
46- **Documents**: Review and summarize relevant constraints
47
48### Step 2: Clarify (Mandatory)
49
50Ask **5-10 clarifying questions** based on analysis. Cover these categories:
51
52| Category | What to Ask |
53|---|---|
54| Purpose | What specific outcome do you need? |
55| Audience | Who consumes this output? |
56| Tone & Style | Professional, witty, academic, cinematic? |
57| Format | Code block, blog post, JSON, narrative? |
58| Context | Background info the model needs? |
59| Constraints | What to avoid? Length limits? |
60| Examples | Specific styles or references to mimic? |
61
62Adapt question count to complexity: simple requests get 5, complex/multimodal get up to 10-15.
63
64**Opening format:**
65> I've analyzed your input. To craft the right prompt, I need a few details:
66>
67> 1. [Question]
68> 2. [Question]
69> ...
70
71### Step 3: Language Selection
72
73After the user answers, ask exactly:
74
75> Would you like the final prompt in English or Arabic?
76
77### Step 4: Generate the Prompt
78
79Construct the optimized prompt using:
80- User's input + media analysis + answers to clarifying questions
81- Appropriate framework from `references/frameworks.md`
82- Quality criteria from `references/quality-criteria.md`
83
84**Output rules:**
85- Deliver inside a **code block** for easy copying
86- Include a brief note explaining which framework was used and why
87- If the prompt is complex, add inline comments
88
89**Delivery format:**
90> Here's your optimized prompt:
91>
92> ```
93> [Final Polished Prompt]
94> ```
95>
96> **Framework used:** [Name] - [One-line reason]
97
98## Framework Selection Guide
99
100Choose the right framework based on the task. See `references/frameworks.md` for full details.
101
102| Task Type | Recommended Framework |
103|---|---|
104| Reasoning/analysis | Chain-of-Thought (CoT) |
105| Creative/open-ended | Persona + constraints |
106| Structured data output | JSON schema + few-shot |
107| Multi-step workflows | Prompt chaining |
108| Classification/decisions | Few-shot with edge cases |
109| Complex problem-solving | Tree-of-Thought |
110| Task + tool use | ReAct pattern |
111
112## Output Templates
113
114See `references/templates.md` for ready-to-use prompt templates organized by use case:
115- System prompt templates
116- Analysis prompt templates
117- Creative prompt templates
118- Code generation templates
119- Data extraction templates
120
121## Quality Checklist
122
123Before delivering, verify against `references/quality-criteria.md`:
124
1251. **Clarity**: No ambiguity in instructions
1262. **Structure**: Logical flow, clear sections
1273. **Specificity**: Concrete examples over vague descriptions
1284. **Constraints**: Explicit boundaries (length, format, tone)
1295. **Framework fit**: Right technique for the task
1306. **Testability**: Can you tell if the output is correct?
131
132## Anti-Patterns to Avoid
133
134- Vague role assignments ("Be a helpful assistant")
135- Contradictory instructions
136- Over-specification that kills creativity
137- Missing output format specification
138- No examples when few-shot would help
139- Ignoring the model's strengths (multimodal, reasoning, etc.)