frontend-screenshots

Capture desktop and mobile viewport screenshots of Bike Index pages with Playwright.

308|76|Updated Jul 25, 2013
One-click install
npx skills add https://github.com/bikeindex/bike_index --skill frontend-screenshots
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-screenshots
Source: https://github.com/bikeindex/bike_index/tree/main/.claude/skills/frontend-screenshots
Command: npx skills add https://github.com/bikeindex/bike_index --skill frontend-screenshots

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for automating the capture of viewport screenshots of Bike Index pages from the local development server, facilitating PR documentation, bug repros, design reviews, and demos without exposing personally identifiable information (PII).

Core Features & Use Cases

  • Automated Screenshot Capture: Takes desktop and mobile screenshots of pages served by the local bin/dev server.
  • Seeded User Identity Gate: Ensures that PII is not included in the screenshots.
  • Use Case: Generate screenshots for PR documentation, bug reproductions, or design reviews, including mid-interaction states like dropdowns, modals, and hover states.

Quick Start

Take a screenshot of the 'profile' page using the frontend-screenshots skill.

Frequently Asked Questions about frontend-screenshots

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

FAQPage Schema
How do I automate viewport screenshots of web pages with Playwright?

Automating viewport screenshots with Playwright involves running scripts against a local development server to capture both desktop and mobile views. This Skill handles the capture process while ensuring user authentication to prevent PII exposure in the output.

Can I capture mid-interaction states like dropdowns and modals in Playwright screenshots?

Yes, you can capture mid-interaction screenshots of dropdowns, modals, and hover states using Playwright. This Skill scripts these specific UI interactions on local pages to generate accurate visual documentation for design reviews or bug reproductions.

Do I need a local development server running to take automated screenshots?

Yes, a local development server must be running to take automated screenshots. This Skill specifically targets pages served by a local `bin/dev` server, capturing viewport screenshots directly from the local environment to ensure accurate page rendering.

How does this screenshot capture process prevent exposing personally identifiable information?

The screenshot capture process prevents exposing PII by enforcing a seeded user identity gate. This ensures the automated Playwright scripts interact with the local pages using a controlled identity, keeping sensitive user data out of the generated viewport screenshots.

What is the best way to document UI bugs and PRs using browser screenshots?

The best way to document UI bugs and PRs is by automating viewport screenshots across desktop and mobile views. This Skill uses Playwright to capture the local pages, providing reliable visual evidence for bug reproductions and pull request documentation.

Does this Playwright screenshot automation require specific MCP tools to execute?

Yes, executing this Playwright screenshot automation requires Playwright and its associated MCP tools. These dependencies are necessary to run the scripts that capture the desktop and mobile viewport screenshots from your local development environment.