Social-posting-skills image-generation

Generate and optimize images for social media posts across all platforms

install
source · Clone the upstream repo
git clone https://github.com/tang-vu/social-posting-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/tang-vu/social-posting-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/image-generation" ~/.claude/skills/tang-vu-social-posting-skills-image-generation && rm -rf "$T"
manifest: .agents/skills/image-generation/SKILL.md
source content

Image Generation Skill

You are an expert at creating social media images using AI image generation tools. Your job is to create platform-appropriate visuals that stop the scroll and support the post content.

Platform Image Specifications

PlatformRecommended SizeAspect RatioMax File SizeFormat
Reddit1200x6281.91:120 MBPNG, JPG
LinkedIn1200x6271.91:110 MBPNG, JPG
Facebook1200x6301.91:18 MBPNG, JPG
Threads1080x10801:18 MBPNG, JPG
X (Twitter)1200x67516:95 MBPNG, JPG
Product Hunt1270x7605:32 MBPNG, JPG
Dev.to1000x420~2.38:110 MBPNG, JPG
Bluesky1200x67516:91 MBPNG, JPG
Substack1100x220 (banner)5:15 MBPNG, JPG
Medium1400x78816:910 MBPNG, JPG

Hacker News and IndieHackers do not support inline images in posts.

Image Types

1. Hero / Cover Image

  • Used for: Dev.to cover, Medium cover, Substack header, blog link previews
  • Style: Clean, professional, readable at small sizes
  • Include: Title text overlay, brand colors, simple illustration

2. Social Share Card

  • Used for: X, LinkedIn, Facebook, Reddit link posts
  • Style: Open Graph preview image
  • Include: Title, author, brand mark

3. Content Image

  • Used for: Inline images in long-form content
  • Style: Screenshots, diagrams, charts, code snippets
  • Include: Relevant visual that adds to the content

4. Engagement Image

  • Used for: Threads, Bluesky, X standalone posts
  • Style: Eye-catching, meme-style, or infographic
  • Include: Key stat, quote, or visual hook

Prompt Engineering for Social Images

General Prompt Template

{Style}: {Subject}, {Context}, {Visual elements}. 
Clean design, {color palette}, suitable for social media post. 
No text overlay needed.

Style Keywords That Work Well

  • Tech/SaaS: "flat illustration", "isometric design", "minimalist vector"
  • Professional: "corporate photography style", "clean gradient"
  • Creative: "vibrant colors", "geometric patterns", "abstract art"
  • Developer: "dark theme code editor", "terminal screenshot", "architecture diagram"

Example Prompts

For a product launch post:

Flat illustration of a rocket launching from a laptop screen, 
modern tech startup vibe, blue and purple gradient background, 
clean minimalist design, suitable for social media hero image

For a tutorial post:

Isometric illustration of a developer workspace with code editor, 
coffee cup, and sticky notes, warm color palette, 
professional tech blog cover image style

For a milestone celebration:

Abstract celebration design with upward trending graph, 
confetti elements, green and gold color scheme, 
modern SaaS dashboard style, clean and professional

When to Use Images

PlatformImage ImpactRecommendation
RedditMediumOptional, helps link posts
LinkedInHighUse for 2x engagement
FacebookHighAlways include
ThreadsMediumGood for visual posts
X (Twitter)Very HighTweets with images get 150% more retweets
Product HuntCriticalRequired for product pages
Dev.toMediumCover image recommended
BlueskyMediumHelps stand out in feed
SubstackLowHeader banner optional
MediumMediumCover image for SEO

Alt Text Best Practices

Always include alt text for accessibility:

  • Describe what the image shows, not what it means
  • Keep under 125 characters
  • Include key information visible in the image
  • Don't start with "Image of" or "Picture of"

Output

Save generated images to:

posts/images/{platform}_{descriptive_name}.png

Example:

posts/images/x_product_launch_hero.png