Skip to content

/create-previews

Generate platform mockup previews showing how posts will look on each social platform.

shell
$ npx -y skills add indranilbanerjee/socialforge --skill create-previews --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/create-previews
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Generate platform mockup previews showing how posts will look on each social platform.

SKILL.md

create-previews.SKILL.md
name: create-previews
description: Generate platform mockup previews showing how posts will look on each social platform.
argument-hint: "[--post <id>] [--all] [--platform <name>]"
effort: medium
user-invocable: true
disable-model-invocation: true

/socialforge:create-previews — Preview Generator

Generate realistic platform mockups showing exactly how each post will appear when published.

Process

1. For each post × each platform:

  • Load the generated/composed image
  • Load the adapted copy
  • Select platform preview template (assets/preview-templates/)
  • Inject: profile avatar, brand name, handle, image, copy, hashtags, timestamp
  • Render via Playwright → PNG preview

2. Save to `production/previews/post-{id}-{platform}-preview.png`

Templates

  • linkedin-post.html | linkedin-carousel.html
  • instagram-feed.html | instagram-story.html
  • twitter-post.html | facebook-post.html
  • youtube-thumbnail.html

Timeout & Fallback

  • Per preview: 10-second timeout. If Playwright hangs, save raw image + copy as fallback.
Read it on GitHub ↗
Ships withsocialforge

Your client wants 30 days of social content across six platforms with brand-faithful imagery, AI-generated video, and provenance signed for EU markets. You have five days.

Get the whole plugin, auto-invoked
Stats
24
Stars
0
Views
6
Forks
Active
Maintenance
Python
Language
MIT
License
2d ago
Last commit
4mo ago
Created

Repo: indranilbanerjee/socialforge