name: ai-artist
description: Write and optimize prompts for AI-generated outcomes across text and image models. Use when crafting prompts for LLMs (OpenCode, GPT, Gemini), image generators (Midjourney, DALL-E, Stable Diffusion, Imagen, Flux), or video generators (Veo, Runway). Covers prompt structure, style keywords, negative prompts, chain-of-thought, few-shot examples, iterative refinement, and domain-specific patterns for marketing, code, and creative writing.
version: 1.0.0
license: MIT
AI Artist - Prompt Engineering
Craft effective prompts for AI text and image generation models.
Core Principles
- Clarity - Be specific, avoid ambiguity
- Context - Set scene, role, constraints upfront
- Structure - Use consistent formatting (markdown, XML tags, delimiters)
- Iteration - Refine based on outputs, A/B test variations
Quick Patterns
LLM Prompts (OpenCode/GPT/Gemini)
[Role] You are a {expert type} specializing in {domain}.
[Context] {Background information and constraints}
[Task] {Specific action to perform}
[Format] {Output structure - JSON, markdown, list, etc.}
[Examples] {1-3 few-shot examples if needed}
Image Generation (Midjourney/DALL-E/Stable Diffusion)
[Subject] {main subject with details}
[Style] {artistic style, medium, artist reference}
[Composition] {framing, angle, lighting}
[Quality] {resolution modifiers, rendering quality}
[Negative] {what to avoid - only if supported}
Example: Portrait of a cyberpunk hacker, neon lighting, cinematic composition, detailed face, 8k, artstation quality --ar 16:9 --style raw
References
Load for detailed guidance:
| Topic |
File |
Description |
| LLM |
references/llm-prompting.md |
System prompts, few-shot, CoT, output formatting |
| Image |
references/image-prompting.md |
Style keywords, model syntax, negative prompts |
| Nano Banana |
references/nano-banana.md |
Gemini image prompting, narrative style, multi-image input |
| Advanced |
references/advanced-techniques.md |
Meta-prompting, chaining, A/B testing |
| Domain Index |
references/domain-patterns.md |
Universal pattern, links to domain files |
| Marketing |
references/domain-marketing.md |
Headlines, product copy, emails, ads |
| Code |
references/domain-code.md |
Functions, review, refactoring, debugging |
| Writing |
references/domain-writing.md |
Stories, characters, dialogue, editing |
| Data |
references/domain-data.md |
Extraction, analysis, comparison |
Model-Specific Tips
| Model |
Key Syntax |
| Midjourney |
--ar, --style, --chaos, --weird, --v 6.1 |
| DALL-E 3 |
Natural language, no parameters, HD quality option |
| Stable Diffusion |
Weighted tokens (word:1.2), LoRA, negative prompt |
| Flux |
Natural prompts, style mixing, --guidance |
| Imagen/Veo |
Descriptive text, aspect ratio, style references |
Anti-Patterns
- Vague instructions ("make it better")
- Conflicting constraints
- Missing context for domain tasks
- Over-prompting with redundant details
- Ignoring model-specific strengths/limits
1---2name: ai-artist-23description: ---4---5---6name: ai-artist7description: Write and optimize prompts for AI-generated outcomes across text and image models. Use when crafting prompts for LLMs (OpenCode, GPT, Gemini), image generators (Midjourney, DALL-E, Stable Diffusion, Imagen, Flux), or video generators (Veo, Runway). Covers prompt structure, style keywords, negative prompts, chain-of-thought, few-shot examples, iterative refinement, and domain-specific patterns for marketing, code, and creative writing.8version: 1.0.09license: MIT10---1112# AI Artist - Prompt Engineering1314Craft effective prompts for AI text and image generation models.1516## Core Principles17181. **Clarity** - Be specific, avoid ambiguity192. **Context** - Set scene, role, constraints upfront203. **Structure** - Use consistent formatting (markdown, XML tags, delimiters)214. **Iteration** - Refine based on outputs, A/B test variations2223## Quick Patterns2425### LLM Prompts (OpenCode/GPT/Gemini)2627```28[Role] You are a {expert type} specializing in {domain}.29[Context] {Background information and constraints}30[Task] {Specific action to perform}31[Format] {Output structure - JSON, markdown, list, etc.}32[Examples] {1-3 few-shot examples if needed}33```3435### Image Generation (Midjourney/DALL-E/Stable Diffusion)3637```38[Subject] {main subject with details}39[Style] {artistic style, medium, artist reference}40[Composition] {framing, angle, lighting}41[Quality] {resolution modifiers, rendering quality}42[Negative] {what to avoid - only if supported}43```4445**Example**: `Portrait of a cyberpunk hacker, neon lighting, cinematic composition, detailed face, 8k, artstation quality --ar 16:9 --style raw`4647## References4849Load for detailed guidance:5051| Topic | File | Description |52|-------|------|-------------|53| LLM | `references/llm-prompting.md` | System prompts, few-shot, CoT, output formatting |54| Image | `references/image-prompting.md` | Style keywords, model syntax, negative prompts |55| Nano Banana | `references/nano-banana.md` | Gemini image prompting, narrative style, multi-image input |56| Advanced | `references/advanced-techniques.md` | Meta-prompting, chaining, A/B testing |57| Domain Index | `references/domain-patterns.md` | Universal pattern, links to domain files |58| Marketing | `references/domain-marketing.md` | Headlines, product copy, emails, ads |59| Code | `references/domain-code.md` | Functions, review, refactoring, debugging |60| Writing | `references/domain-writing.md` | Stories, characters, dialogue, editing |61| Data | `references/domain-data.md` | Extraction, analysis, comparison |6263## Model-Specific Tips6465| Model | Key Syntax |66|-------|------------|67| Midjourney | `--ar`, `--style`, `--chaos`, `--weird`, `--v 6.1` |68| DALL-E 3 | Natural language, no parameters, HD quality option |69| Stable Diffusion | Weighted tokens `(word:1.2)`, LoRA, negative prompt |70| Flux | Natural prompts, style mixing, `--guidance` |71| Imagen/Veo | Descriptive text, aspect ratio, style references |7273## Anti-Patterns7475- Vague instructions ("make it better")76- Conflicting constraints77- Missing context for domain tasks78- Over-prompting with redundant details79- Ignoring model-specific strengths/limits80