feature-image
Installation
SKILL.md
Generate a branded social media image for announcing a feature or update. The image is built as an HTML page styled to match the project's brand, then screenshotted with Playwright.
Phase 1: Ensure Playwright is Available
npx playwright --version 2>/dev/null || (echo "Installing Playwright..." && npx playwright install chromium)
If installation fails, inform the user and suggest npm install -D playwright && npx playwright install chromium.
Phase 2: Understand What Changed (Git-Aware)
Analyze the recent git history to understand what feature/update to announce:
- Check recent commits:
git log --oneline -20