logo-design
Logo design generation pipeline using Gemini image generation API. Generates diverse prompt variations, calls the API in parallel, reads and evaluates resulting images, scores them against a rubric, and iterates through refinement stages. Use when user says 'design a logo', 'create a logo', 'logo for', 'brand identity', or wants to generate logo concepts.
What this skill does
# Logo Design Pipeline
Generate, evaluate, and refine logo designs using Gemini image generation. You act as both the prompt engineer and art director: generate prompt variations, call the API, read the resulting images (you are multimodal), score them, and iterate.
## Prerequisites
`GEMINI_API_KEY` must be set in the environment. Verify before starting:
```bash
[[ -n "${GEMINI_API_KEY:-}" ]] && echo "API key set" || echo "GEMINI_API_KEY not set"
```
## Pipeline
### Stage 1: Brief
Gather from the user before generating anything:
- **Brand name** (exact spelling, capitalization)
- **Industry/domain** (what the company does)
- **Style direction** (modern, vintage, playful, corporate, minimal, etc.)
- **Color preferences** (specific colors, or mood like "warm", "professional")
- **Constraints** (must include icon, text only, specific element, avoid something)
- **Where it will be used** (app icon, website, print, all of the above)
If the user is vague, suggest 2-3 directions and let them pick. Do not proceed without at least brand name and general direction.
### Stage 2: Prompt Generation
Generate 6-8 diverse prompts covering different logo archetypes:
| Count | Type | Description |
|-------|------|-------------|
| 2 | Wordmark | Typography-focused, the brand name IS the logo |
| 2 | Symbol | Iconic mark, abstract or literal, works without text |
| 2 | Combination | Symbol + wordmark together |
| 1-2 | Wildcard | Unexpected interpretation, creative risk |
Each prompt should:
- Start with "Professional logo design for" or "Logo:"
- Specify the exact brand name in quotes
- Include style keywords (flat, vector, geometric, hand-drawn, etc.)
- Mention "white background" or "transparent background" unless the brief says otherwise
- Specify "clean, minimal, scalable" to guide generation quality
- Be 1-3 sentences, concrete and specific
Example prompt structure:
```
Logo: Clean, modern wordmark for "Acme Labs" in a geometric sans-serif font.
Flat design on white background. Colors: deep navy blue and electric teal accent.
Professional, tech-forward, minimal.
```
Present all prompts to the user for approval. They can modify, add, or remove prompts.
### Stage 3: Concept Generation
Show cost estimate before running:
```
Generating {N} images with Nano Banana 2
Estimated cost: ~${N * 0.02} (~$0.02/image)
```
Run `generate-image.sh` in parallel for all prompts. Save to `./logo-output/{brand-slug}/stage1-flash/`.
```bash
# Example: generate all prompts in parallel
for i in $(seq 1 N); do
scripts/generate-image.sh \
--prompt "..." \
--output "./logo-output/{brand}/stage1-flash/concept-${i}.png" \
--aspect-ratio "1:1" &
done
wait
```
Use the script at the path relative to this skill's directory. The full path is available in the skill's context.
After generation, report how many succeeded and failed.
### Stage 4: Evaluation
Read all generated images (you can see them, you are multimodal). Load the evaluation rubric from `references/evaluation-rubric.md` and score each image on the 5 criteria.
Present results as a ranked table:
```
| Rank | File | Text | Simple | Color | Scale | Brief | Total | Notes |
|------|------|------|--------|-------|-------|-------|-------|-------|
| 1 | ... | 4 | 5 | 4 | 5 | 4 | 22 | Strong wordmark, clean lines |
| 2 | ... | 3 | 4 | 5 | 4 | 4 | 20 | Great colors, text slightly off |
```
Recommend the top 2-3 candidates for refinement. Explain why each was selected and what could be improved with better prompting.
### Stage 5: Refinement
For the selected concepts, refine the prompts based on evaluation notes. Show cost estimate:
```
Refining {N} concepts at 2K resolution
Estimated cost: ~${N * 0.02} (~$0.02/image)
```
Generate refined versions:
```bash
for i in ...; do
scripts/generate-image.sh \
--prompt "..." \
--output "./logo-output/{brand}/stage2-refined/refined-${i}.png" \
--aspect-ratio "1:1" \
--image-size 2K &
done
wait
```
Generate 2-3 variations per winning concept (prompt tweaks for color, weight, spacing).
### Stage 6: Final Selection
Re-evaluate refined images using the same rubric. Present comparison between initial concepts and refined versions.
Let the user pick the winner. If they want changes, iterate (go back to Stage 5 with modified prompts).
Once the user confirms, copy the winning image to `stage3-final/` and upscale it.
**Important:** Do NOT re-generate the final image with `generate-image.sh`. Generative models produce a new image each time, so re-generation will not match the selected design. Instead, upscale the exact winning file.
```bash
# Copy the winner
mkdir -p "./logo-output/{brand}/stage3-final"
cp "./logo-output/{brand}/stage2-refined/refined-5b.png" "./logo-output/{brand}/stage3-final/final.png"
# Upscale to 4K using realesrgan (if available)
realesrgan-ncnn-vulkan -i "./logo-output/{brand}/stage3-final/final.png" \
-o "./logo-output/{brand}/stage3-final/final-4k.png" \
-s 4 -n realesrgan-x4plus
```
If `realesrgan-ncnn-vulkan` is not installed, check for alternatives:
- `realcugan-ncnn-vulkan` (better for illustrations)
- ImageMagick: `magick convert input.png -resize 400% -filter Lanczos output.png` (basic but always available)
- Inform the user and suggest installing Real-ESRGAN for best results
**SVG conversion (optional):** If `vtracer` is installed, convert the final logo to SVG. The key is remapping to the exact brand palette first, because Gemini returns JPEG data with compression artifacts that create hundreds of near-duplicate colors.
```bash
FINAL="./logo-output/{brand}/stage3-final/final.png"
# 1. Create a palette image with exact brand colors (white + logo colors)
# Extract the actual hex values from the winning design
magick xc:"#FEFEFE" xc:"#65BCAE" xc:"#D43C55" xc:"#44444A" +append /tmp/palette.png
# 2. Remap to exact palette (removes all anti-alias and JPEG artifact colors)
magick "$FINAL" +dither -remap /tmp/palette.png -type TrueColor /tmp/logo-remapped.png
# 3. Trace to SVG (expect ~10 paths for a geometric logo)
vtracer -i /tmp/logo-remapped.png \
-o "./logo-output/{brand}/stage3-final/final.svg" \
--colormode color --hierarchical stacked --mode spline \
-f 16 -p 6 -c 60 -l 4 -s 45
rm /tmp/palette.png /tmp/logo-remapped.png
```
The palette colors must match the actual logo. Read the final image and extract the dominant colors, or use the hex values from the brand guidelines. A clean geometric logo should produce 10-15 paths and under 25K.
### Stage 7: Brand Kit
After the user confirms a winner, create a complete brand kit. Save everything to `./logo-output/{brand-slug}/stage4-brand-kit/`.
**Critical:** The final image (`stage3-final/final.png`) is the source of truth. Never generate brand assets from text prompts alone, because the model will produce a different logo every time. Always pass the final image via `--input-image` so the model works from the actual logo.
Show cost estimate before running:
```
Generating 7 brand kit variants
Estimated cost: ~$0.14 (~$0.02/image)
```
Set variables for convenience:
```bash
FINAL="./logo-output/{brand}/stage3-final/final.png"
KIT="./logo-output/{brand}/stage4-brand-kit"
SCRIPT="scripts/generate-image.sh"
mkdir -p "$KIT"
```
**Generate all assets in parallel using `--input-image`:**
```bash
$SCRIPT --input-image "$FINAL" \
--prompt "Place this exact logo on a dark navy background (#1a1a2e). Keep the logo colors exactly as they are. Clean, centered, professional." \
--output "$KIT/dark-bg.png" --aspect-ratio "1:1" &
$SCRIPT --input-image "$FINAL" \
--prompt "Convert this logo to a single-color pure white version on a solid black background. Every element (all colored shapes and all text) must become pure white. No colors, no grays, only white on black." \
--output "$KIT/mono-white.png" --aspect-ratio "1:1" &
$SCRIPT --input-image "$FINAL"Related in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".