New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Generates 1200x630 Open Graph preview images and configures social sharing meta tags from the project's design system.

skills.sh installs
215
GitHub stars
106
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the full flow: codebase analysis, a dedicated /og-image page, Playwright screenshot capture, and meta tag configuration
  • Matches colors, typography, and logos from Tailwind config, CSS variables, and branding assets already in the project
  • Hides dev tool overlays in the capture and checks that text stays readable when the image shrinks to about 400px
  • Designed for Next.js, Vite, Astro, and Remix projects that need og:image and twitter:card tags set up without manual design work

Install

$ npx -y skills add stevysmith/og-image-skill --skill og-image -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

This skill creates professional Open Graph images for social media sharing. It analyzes the existing codebase to match the project's design system, generates a dedicated OG image page, screenshots it, and configures all necessary meta tags.

Workflow

Phase 1: Codebase Analysis

Explore the project to understand:

  1. Framework Detection

    • Check package.json for Next.js, Vite, Astro, Remix, etc.
    • Identify the routing pattern (file-based, config-based)
    • Find where to create the /og-image route
  2. Design System Discovery

    • Look for Tailwind config (tailwind.config.js/ts) for color palette
    • Check for CSS variables in global styles (:root definitions)
    • Find existing color tokens, font families, spacing scales
    • Look for a theme or design tokens file
  3. Branding Assets

    • Find logo files in /public, /assets, /src/assets
    • Check for favicon, app icons
    • Look for existing hero sections or landing pages with branding

Details

Repository
github.com/stevysmith/og-image-skill
Categories
Frontend & UI Code, Marketing, SEO & Ads
First seen
Jun 3, 2026

Similar to Og Image

More Frontend & UI Code