screenshots

Originally fromshpigford/skills
Installation
SKILL.md

Generate marketing-quality screenshots of your app using Playwright directly. Screenshots are captured at true HiDPI (2x retina) resolution using deviceScaleFactor: 2.

Prerequisites

Playwright must be available. Check for it:

npx playwright --version 2>/dev/null || npm ls playwright 2>/dev/null | grep playwright

If not found, inform the user:

Playwright is required. Install it with: npm install -D playwright or npm install -D @playwright/test

Step 1: Determine App URL

If $1 is provided, use it as the app URL.

If no URL is provided:

  1. Check if a dev server is likely running by looking for package.json scripts
  2. Use AskUserQuestion to ask the user for the URL or offer to help start the dev server
Related skills

More from steveclarke/dotfiles

Installs
49
GitHub Stars
32
First Seen
Jan 25, 2026