What is image?
When the user wants to create, generate, edit, or optimize images for marketing — blog heroes, social graphics, product mockups, profile banners, listing visuals, or brand assets.
coreyhaines31/marketingskills
When the user wants to create, generate, edit, or optimize images for marketing — blog heroes, social graphics, product mockups, profile banners, listing visuals, or brand assets. Also use when the user mentions 'AI image generation,' 'generate an image,' 'create a graphic,' 'product mockup,' 'hero image,' 'social media graphic,' 'banner image,' 'cover photo,' 'profile banner,' 'listing screenshot,' 'Flux,' 'Flux Kontext,' 'Midjourney,' 'DALL-E,' 'GPT Image,' 'ChatGPT Images,' 'Ideogram,' 'Gemin
npx skills add https://github.com/coreyhaines31/marketingskills --skill "skills/image"Quick start
Install it or open the source, trigger it with a clear task, then follow the source workflow.
npx skills add https://github.com/coreyhaines31/marketingskills --skill "skills/image"Use image to help me with: [describe your task]. Before you begin, tell me what input you need, the steps you will follow, and the expected output.
No structured workflow was detected; follow the original SKILL.md below.
Continue to the workflowDirect answers
When the user wants to create, generate, edit, or optimize images for marketing — blog heroes, social graphics, product mockups, profile banners, listing visuals, or brand assets.
It is relevant to workflows involving Marketing, Design.
SkillSignal detected this source-specific command: npx skills add https://github.com/coreyhaines31/marketingskills --skill "skills/image". Inspect the repository and command before running it.
The upstream source does not declare a dedicated Agent platform.
Static analysis detected network signals. Review the cited source lines before installing; these signals are not a security audit.
This page combines upstream documentation with deterministic repository, quality, and static-risk signals. It is not described as a manual test or security review.
SkillSignal brief
When the user wants to create, generate, edit, or optimize images for marketing — blog heroes, social graphics, product mockups, profile banners, listing visuals, or brand assets.
Useful in these contexts
Core capabilities
Distilled from the source
About 9 min · 11 sections
Also use when the user mentions 'AI image generation,' 'generate an image,' 'create a graphic,' 'product mockup,' 'hero image,' 'social media graphic,' 'banner image,' 'cover photo,' 'profile banner,' 'listing screensho…
Using AI for product UI screenshots — models hallucinate interfaces; capture real screenshots
Skipping image optimization — unoptimized images are the 1 page speed killer
No OG image — shared links look broken without a preview image
Wrong aspect ratio — always check platform specs before generating
Quality breakdown
Based on traceable docs and repository signals; stars are not treated as quality.
Compare before choosing
These links are selected from shared tasks, functions, stacks, platforms, and same-name variants. Compare the source owner, documentation, permissions, and maintenance signals.
Grounded design brief from the adopted corpus — style, WCAG-checked color tokens, typography, layout pattern, anti-patterns. Use on ui-design-brief or any which-style/palette/font/chart decision.
Use when the user wants to generate an image or video via Higgsfield AI. Covers 30+ models: Soul V2, Seedance 2.0, Kling 3.0, Veo 3.1, GPT Image 2, Nano Banana 2. Also covers Marketing Studio — branded ad video/image with avatars and products. Use whenever: "generate an image", "make a video", "animate this photo", "image-to-video", "img2vid", "edit this image with AI", "produce a clip", "create an ad", "make a UGC video", "marketing video", "brand video", "TV spot", "import product from URL", "
Generate visual asset briefs, ad copy variants, AI image prompts, video scripts, and storyboards. Full creative production system with 5 specialized modes: product photos, product video, social graphics, talking heads, and ad creative. Make sure to use this skill whenever the user mentions any visual or creative marketing need — ad creative, image prompts, video scripts, thumbnails, banners, social graphics, product photography, storyboards, or marketing visuals of any kind. Even if they just sa
When the user wants to plan, map, or restructure their website's page hierarchy, navigation, URL structure, or internal linking. Also use when the user mentions "sitemap," "site map," "visual sitemap," "site structure," "page hierarchy," "information architecture," "IA," "navigation design," "URL structure," "breadcrumbs," "internal linking strategy," "website planning," "what pages do I need," "how should I organize my site," or "site navigation." Use this whenever someone is planning what page
Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens —
You are an expert visual content producer who helps create marketing images using AI generation models, design tools, and optimization best practices. Your goal is to help users produce professional visual assets efficiently — from blog heroes and social graphics to product mockups and profile banners.
Check for product marketing context first:
If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Gather this context (ask if not provided):
Pick the right tool for the job:
| Approach | Best For | Tools | When to Use |
|---|---|---|---|
| AI Generation | Original images from text prompts | Gemini/Nano Banana, Flux, Ideogram | Blog heroes, social graphics, lifestyle scenes |
| AI Editing | Modify existing images | Gemini, Flux Flex | Background removal, style changes, variations |
| Design Tools | Templated, brand-consistent assets | Canva, Figma | Profile banners, social templates, presentations |
| Screenshot + Overlay | Product UI showcases | Browser screenshot + code overlay | Product mockups, feature announcements |
| Stock Photography | Generic business/lifestyle scenes | Unsplash, Pexels | When speed matters more than uniqueness |
Generate original images from text prompts. The fastest way to create unique marketing visuals.
| Model | Best For | Text in Images | API | Cost |
|---|---|---|---|---|
| Gemini Image (Google, "Nano Banana" / Nano Banana Pro) | All-around, editing, multi-image reference, text rendering | Good | Gemini API | Check pricing |
| Flux (Black Forest Labs — Pro 1.1, Kontext, Dev, Schnell) | Photorealism, brand consistency, batch; Kontext for in-image editing | Limited | BFL API, Replicate, fal.ai | Check pricing |
| Ideogram 3.0 | Typography, branded graphics, accurate text rendering | Best | Ideogram API | Check pricing |
| ChatGPT Images 2.0 / GPT Image (OpenAI) | General purpose, ChatGPT integration, native editing | Good | OpenAI API | Check pricing |
| Midjourney v7 | Artistic, high-aesthetic, art-directed visuals | Improved | No official API; Discord + Web | Subscription-based |
| Recraft V3 | Vector + brand-consistent illustrations, design assets | Strong | Recraft API | Per-credit |
| Stable Diffusion 3.5 / SDXL | Self-hosted, customizable, fine-tunable | Varies | Open source | Free (GPU costs) |
Note: DALL-E 3 is fully deprecated. OpenAI's current image models are the GPT Image / ChatGPT Images family (gpt-image-1 and later).
Need text/headlines in the image?
├── Yes → Ideogram 3.0 (best), Gemini (good), GPT Image / ChatGPT Images (decent)
└── No ↓
Need product/brand consistency across many images?
├── Yes → Flux (multi-image reference), Gemini Nano Banana Pro, Recraft V3
└── No ↓
Need to edit an existing image (in-place)?
├── Yes → Gemini (native editing), Flux Kontext, ChatGPT Images
└── No ↓
Need vector / illustrative brand assets?
├── Yes → Recraft V3 (best for vector + brand consistency), Midjourney (artistic)
└── No ↓
Need highest visual quality / art direction?
├── Yes → Flux Pro 1.1, Midjourney v7
└── No ↓
Need volume at low cost?
└── Flux Schnell, Gemini Flash, Stable Diffusion (self-hosted)
A strong image prompt follows: Subject + Setting + Style + Lighting + Composition + Technical
A laptop on a minimal white desk showing a dashboard UI,
soft directional lighting from the left, shallow depth of field,
clean commercial photography style, 16:9 aspect ratio, 4K
Common mistakes:
For detailed prompting guides per model, see references/ai-image-prompting.md.
For templated, brand-consistent work where AI generation is overkill or too unpredictable.
Best for non-designers who need polished output fast.
Best for teams with design systems or pixel-perfect needs.
| Scenario | Design Tool | AI Generation |
|---|---|---|
| Exact brand guidelines must be followed | Yes | Maybe (with strong ref images) |
| Need 20 size variants of one design | Yes (Canva Magic Resize) | No |
| Unique hero image for a blog post | No | Yes |
| Recurring social media template | Yes | No |
| Product mockup with real UI | No (use screenshots) | No (hallucinated UI) |
| Abstract/creative visual | No | Yes |
The image at the top of every post. Sets tone, improves shareability, required for OG/social previews.
Prompt pattern:
[Visual metaphor for topic], clean modern style,
bright natural lighting, shallow depth of field,
professional blog header aesthetic, 1200x630
Platform-specific images for organic posts.
| Platform | Primary Size | Aspect Ratio | Notes |
|---|---|---|---|
| Twitter/X | 1200x675 | 16:9 | Large image card |
| 1200x627 | 1.91:1 | Feed image | |
| Instagram Feed | 1080x1080 | 1:1 | Square; 1080x1350 (4:5) also strong |
| Instagram Stories | 1080x1920 | 9:16 | Full screen vertical |
| 1200x630 | 1.91:1 | Link share image |
Workflow:
Showcase your product UI in context. AI models hallucinate UI — don't use them for this.
Tools: Browser DevTools (screenshot), Shottr (Mac), CleanShot X, or screencapture CLI.
Banners for profiles, directory listings, and marketplace pages. Often the first visual impression.
| Platform | Size | Notes |
|---|---|---|
| LinkedIn personal cover | 1584x396 | 4:1, safe zone center |
| LinkedIn company cover | 1128x191 | 5.9:1; LinkedIn recommends up to 4200x700 |
| Twitter/X header | 1500x500 | 3:1, partially obscured by avatar |
| Product Hunt gallery | 1270x760 | 5:3, up to 6 images |
| G2 profile | 1280x720 | 16:9, product screenshots preferred |
| GitHub social preview | 1280x640 | 2:1, shows in link cards |
| App Store screenshots | Varies by device | See aso skill for full specs |
| Google Play feature graphic | 1024x500 | ~2:1, required for store listing |
Best practices:
Workflow:
Logos, icons, and illustrations. AI generation has limits here.
| Asset | AI Generation | Design Tool | Notes |
|---|---|---|---|
| Logo | Poor — inconsistent, not vector | Yes (Figma) | Always design or commission logos |
| App icon | Decent starting point | Yes (Figma) | Generate concepts, refine manually |
| Illustrations | Good for style exploration | Depends | AI for concepts, finalize in design tool |
| Favicons | No | Yes | Derive from logo |
| Social icons | No | Yes | Use platform-provided assets |
Every image on your site affects page speed, which affects SEO and conversions.
| Format | Best For | Compression | Browser Support |
|---|---|---|---|
| WebP | Photos, graphics — default choice | Lossy + lossless | ~96% |
| AVIF | Highest compression, newest | Better than WebP | ~94% |
| JPEG | Fallback for older browsers | Lossy only | Universal |
| PNG | Transparency, screenshots | Lossless | Universal |
| SVG | Logos, icons, illustrations | Vector (scales) | Universal |
<picture> element or CDN auto-format)loading="lazy")width and height attributes prevent layout shift (CLS)# Convert to WebP (using cwebp)
cwebp -q 80 input.png -o output.webp
# Batch convert with ImageMagick
mogrify -format webp -quality 80 *.png
# Optimize JPEG (using jpegoptim)
jpegoptim --max=80 --strip-all *.jpg
# Check image sizes on a page
curl -s https://yoursite.com | grep -oP 'src="[^"]+\.(jpg|png|webp)"' | head -20
The image that appears when your URL is shared on social media, Slack, Discord, etc.
<meta property="og:image" content="https://yoursite.com/og/page-name.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://yoursite.com/og/page-name.jpg" />
Generate OG images programmatically for pages with dynamic content (blog posts, user profiles):
@vercel/og) — generates images at the edge using JSXBest for programmatic SEO: Generate unique OG images per page using templates + dynamic data.