screenshots

Generate retina-quality marketing screenshots of web applications using Playwright.

1|Updated Aug 17, 2025
One-click install
npx skills add https://github.com/ratnesh-maurya/mdconverter --skill screenshots-ratnesh-maurya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: screenshots
Source: https://github.com/ratnesh-maurya/mdconverter/tree/main/.claude/skills/screenshots
Command: npx skills add https://github.com/ratnesh-maurya/mdconverter --skill screenshots-ratnesh-maurya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright.

What problem does it solve? Creating polished marketing screenshots of a web app for Product Hunt, social media, landing pages, or documentation is tedious manual work involving browser resizing, login flows, and consistent capture settings. ## Core Features & Use Cases - Automated Playwright Capture: Generates and runs a Playwright script that captures screenshots at true HiDPI (2x retina, 2880x1800) resolution. - Codebase-Aware Planning: Reads README files, routes, and components to discover screenshottable features before capturing. - Authentication Handling: Detects login forms with smart locators and captures authenticated pages when credentials are provided. - Use Case: Before a Product Hunt launch, point the Skill at your local dev server and get a numbered set of retina screenshots of your dashboard, editor, and analytics pages saved to a screenshots/ folder. ## Quick Start Ask the AI to generate marketing screenshots of your app running at http://localhost:3000 for a Product Hunt launch.

Frequently Asked Questions about screenshots

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I take automated screenshots of my web app with Playwright?

Write a Node.js script using Playwright's chromium browser, set a viewport of 1440x900 with deviceScaleFactor 2, navigate to each page, and call page.screenshot. This Skill generates and runs that script for you based on features discovered in your codebase.

How to capture retina or HiDPI screenshots in Playwright?

Set deviceScaleFactor to 2 when creating the browser context in Playwright. A 1440x900 viewport then produces 2880x1800 pixel images suitable for retina displays and marketing use.

Can Playwright take screenshots of pages behind a login?

Yes. Playwright can fill login forms using smart locators for email, password, and submit fields, then navigate to authenticated pages. You provide the login URL and credentials, and the script handles the sign-in flow before capturing.

Does this work with Next.js, Rails, or other frameworks?

Yes. The Skill reads route definitions from framework-specific files such as the Next.js app directory, Rails config/routes.rb, or React Router config to discover pages, then screenshots any app reachable at a URL.

Why is my Playwright screenshot blank or missing content?

Blank screenshots usually happen when content has not finished loading. Use page.waitForLoadState('networkidle') and waitForSelector for specific elements, and confirm the dev server is running before capturing.