$npx -y skills add indranilbanerjee/socialforge --skill create-previewsGenerate platform mockup previews showing how posts will look on each social platform.
| 1 | # /socialforge:create-previews — Preview Generator |
| 2 | |
| 3 | Generate realistic platform mockups showing exactly how each post will appear when published. |
| 4 | |
| 5 | ## Process |
| 6 | 1. For each post × each platform: |
| 7 | - Load the generated/composed image |
| 8 | - Load the adapted copy |
| 9 | - Select platform preview template (assets/preview-templates/) |
| 10 | - Inject: profile avatar, brand name, handle, image, copy, hashtags, timestamp |
| 11 | - Render via Playwright → PNG preview |
| 12 | 2. Save to `production/previews/post-{id}-{platform}-preview.png` |
| 13 | |
| 14 | ## Templates |
| 15 | - linkedin-post.html | linkedin-carousel.html |
| 16 | - instagram-feed.html | instagram-story.html |
| 17 | - twitter-post.html | facebook-post.html |
| 18 | - youtube-thumbnail.html |
| 19 | |
| 20 | ## Timeout & Fallback |
| 21 | - Per preview: 10-second timeout. If Playwright hangs, save raw image + copy as fallback. |