Skill: iamkingab/grok-image-prompt-optimizer (version 1.0.0)

--- name: grok-image-prompt-optimizer description: Optimize text-to-image prompts for Grok and similar image models. Use when the user wants better image generation prompts, poster prompts, competition-grade visual concepts, safer negative prompts, or wants rough ideas rewritten into strong production-ready image prompts. Especially useful for aviation posters, safety campaign visuals, official publicity images, and Chinese-language contest briefs. --- # Grok Image Prompt Optimizer Use this skill when the user wants a prompt rewritten so image quality, composition, and thematic accuracy improve. ## Goal Turn vague or overstuffed requests into prompts that are: - visually focused - easy for Grok to parse - poster-friendly - print-friendly - less likely to produce clutter, cheap ad style, or incorrect details ## Core workflow 1. Extract the brief into 8 fields: - subject - action - setting - required safety/detail elements - mood/value signal - style - composition - output constraints 2. Reduce the scene to **one main visual idea**. If the brief contains too many ideas, choose one hero scene and move the rest into supporting details. 3. Rewrite into a structured prompt instead of a rambling paragraph. 4. Add a matching negative prompt. 5. If the use case is a poster, explicitly require: - vertical layout unless told otherwise - strong focal point - clean background - reserved negative space for title/text - print-ready detail 6. If the brief involves regulated or technical domains, prioritize plausibility over spectacle. ## Prompt structure Default structure: ```text [subject], [action], [setting], [key required elements], [mood / value], [visual style], [composition], [lighting / palette], [output format] ``` For Grok, prefer 1 clean prompt over multiple conflicting clauses. ## Default output format When optimizing a prompt, output: 1. **Main prompt (CN)** 2. **Main prompt (EN)** 3. **Negative prompt** 4. **Quick tweak knobs** - more official - more creative - warmer - stronger poster feeling ## Grok-specific heuristics - Prefer **clear nouns and visible actions** over abstract slogans. - Keep **1–3 human subjects** unless the user explicitly wants a crowd. - If the image is for a poster, say **"poster composition"**, **"clear focal point"**, **"negative space for headline"**, **"vertical A3"**. - If the image should feel official, use words like: - professional - trustworthy - orderly - clean - premium - realistic illustration - Avoid asking for too many safety devices in equal visual weight. Choose one primary action and let the rest support it. - If the user says results feel generic, strengthen: - camera angle - lighting - focal hierarchy - signature scene detail - emotional tone - If the model keeps making commercial-ad images, add: - public service poster - official campaign visual - not commercial advertising - restrained design - If the model keeps making messy scenes, add: - minimal clutter - clean cabin background - strong central composition - limited supporting elements ## Technical-domain guardrails For aviation, transport, healthcare, industrial safety, or emergency imagery: - keep actions believable - keep equipment recognizable - avoid sci-fi styling unless requested - avoid disaster-movie panic unless requested - avoid sexualized uniforms or fashion-shoot styling - avoid impossible cabin layouts ## Aviation / cabin-safety pattern When the brief is about cabin safety posters, use this recipe: ```text Chinese civil aviation cabin safety poster, [1 main crew subject or 1 small crew group], [one concrete safety action], inside a clean modern aircraft cabin, [1-3 supporting safety elements], conveying professionalism, responsibility, warmth, and trust, realistic illustration, premium official campaign poster, clean blue-white palette with restrained safety-orange accents, vertical A3 composition, clear focal point, reserved negative space for Chinese headline and copy, print-ready detail ``` Good primary actions: - demonstrating seat belt use - guiding passengers to stow baggage correctly - pre-departure cabin safety briefing - calm emergency procedure demonstration - assisting compliant passengers during safety preparation Avoid combining all of these equally in one frame. ## Contest-poster rules If the user is entering a contest, bias toward: - one memorable hero shot - strong symbolic clarity - emotionally legible values - less stock-photo feeling - less corporate ad feeling - more designed poster feeling Useful style phrases: - competition-grade poster - public service campaign visual - premium realistic illustration - editorial poster design - cinematic but restrained lighting ## Negative prompt starter Adapt as needed: ```text low resolution, blurry, distorted hands, extra fingers, deformed face, messy composition, cluttered background, incorrect equipment details, incorrect cabin layout, cheap commercial advertising style, overdone sci-fi, anime style, childish cartoon style, garish colors, random text, watermark, logo errors ``` ## Tuning patterns ### If result is too plain Add: - dramatic but restrained lighting - stronger visual hierarchy - competition-grade poster design - more iconic hero composition ### If result is too busy Add: - simplified background - only one main action - minimal clutter - fewer secondary subjects ### If result is too much like a photo Add: - premium realistic illustration - poster design quality - editorial composition ### If result is too much like an ad Add: - public service campaign poster - official safety communication visual - restrained, serious, trustworthy tone ## Response style Be decisive. Do not dump theory unless asked. When the user provides a brief, produce polished prompts immediately. ## Optional reference If the task is specifically about aviation safety or official poster work, also read: - `references/aviation-poster-patterns.md`

path: references/aviation-poster-patterns.md
content: # Aviation Poster Patterns

Use this file only for aviation / cabin-safety / official poster tasks.

## 1. Stable poster formula

Use this skeleton:

```text
Chinese civil aviation safety poster, [hero subject], [single concrete action], inside [specific cabin setting], with [2-4 supporting safety elements], conveying [professional value words], premium realistic illustration, official public-service campaign poster, [palette], [composition], [print/output constraints]
```

## 2. Hero-subject choices

Prefer:
- 1 female flight attendant
- 1 male + 1 female cabin crew pair
- 1 crew member with 2-3 cooperative passengers
- small 3-person crew team

Avoid large crowds unless needed.

## 3. Best actions for safe results

- demonstrating seat belt fastening
- checking overhead bins before departure
- guiding passengers to place baggage correctly
- safety briefing gesture in aisle
- demonstrating oxygen mask use
- calm coordinated emergency drill scene

## 4. Value words that usually help

- professional
- calm
- orderly
- trustworthy
- warm
- disciplined
- reassuring
- precise
- responsible

## 5. Poster-composition phrases

Use 2-4 of these, not all at once:
- strong central composition
- clear focal point
- clean background
- layered but uncluttered scene
- reserved negative space for Chinese title
- vertical A3 layout
- poster-grade visual hierarchy
- print-ready detail

## 6. Color guidance

For aviation safety posters, these usually work:
- blue and white base
- restrained orange/red safety accents
- bright clean cabin light
- warm highlights for human warmth

Avoid neon cyberpunk palettes unless asked.

## 7. Three reliable prompt templates

### A. Official / safest
```text
Chinese civil aviation cabin safety poster, one professional Chinese female flight attendant demonstrating standard seat belt safety procedure inside a clean modern passenger aircraft cabin, attentive and cooperative passengers in the background, conveying professionalism, responsibility, warmth, and trust, premium realistic illustration, official public-service campaign poster, blue-white palette with restrained safety-orange accents, strong central composition, reserved negative space for Chinese headline, vertical A3 layout, print-ready detail
```

### B. Warm interaction
```text
Chinese civil aviation cabin safety poster, a professional flight attendant guiding passengers to correctly stow carry-on baggage and prepare for departure inside a bright modern aircraft cabin, passengers calm and cooperative, atmosphere warm, orderly, and trustworthy, premium realistic illustration, public service poster style, clear focal point, clean background, blue-white color palette, vertical A3 composition, reserved title space, print-ready detail
```

### C. Competition / more artistic
```text
Chinese civil aviation safety campaign poster, a poised cabin crew member as the heroic visual center, performing a clear safety demonstration in a modern aircraft cabin, with symbolic safety elements subtly integrated into the composition, conveying discipline, care, and protection, premium realistic illustration with editorial poster design quality, cinematic but restrained lighting, blue-white palette with selective orange highlights, iconic hero composition, vertical A3 poster, clean negative space for Chinese typography
```

## 8. Negative prompt base

```text
blurry, low resolution, distorted hands, deformed anatomy, incorrect aircraft cabin layout, incorrect safety equipment, cluttered scene, cheap ad style, fashion photoshoot style, sexualized uniform, anime, childish cartoon, excessive text, watermark, logo errors, overdesigned background
```

## 9. Fast repair rules

If image feels generic:
- add one signature action
- reduce subject count
- specify official poster / public service poster

If image feels cluttered:
- keep one hero subject
- cut extra devices
- simplify background

If image feels like stock photography:
- use premium realistic illustration
- use editorial poster design
- use competition-grade visual


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)