screenshot

Solid

Render a local web page / built site and capture full-page screenshots (desktop + mobile) using the pre-installed Chromium. Use when asked to screenshot, render, or "see how it looks" for the vigiles landing site (site/), the audit report (report/), or any local HTML/dev server. Handles the scroll-reveal gotcha (below-the-fold cards captured blank) automatically.

AI & Automation 13 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
38
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# screenshot — render a local page and capture it Contributor dev skill. Drives the container's **pre-installed Chromium** (no `playwright install`, no browser download) via `playwright-core` to full-page-screenshot a locally-served page. Built from the hard-won gotchas of doing this by hand (see below). ## When to use - "screenshot the landing page / site", "how does the report look", "render `site/` and show me". - Verifying a UI change in `site/` (the landing) or `report/` (the audit report) before committing. ## Procedure 1. **Build the target** (if it's a Vite app, you need `dist/`): - Landing: `cd site && npm install && npm run build` → `site/dist/` - Report: it builds with the root `npm run build` → `dist/audit-report.template.html` 2. **Serve it** on a port (relative asset refs need the dir as web root): ```bash cd site/dist && python3 -m http.server 8899 >/tmp/httpd.log 2>&1 & sleep 1 && curl -s -o /dev/null -w "%{http_code}\n" http://localhost:8899/ # expect 200 ``` 3. **Ensure the driver** (no browser download — uses `PLAYWRIGHT_BROWSERS_PATH`): ```bash node -e "require.resolve('playwright-core')" 2>/dev/null || npm install --no-save playwright-core ``` 4. **Shoot** with the bundled script → writes `<outDir>/<name>-desktop.png` + `-mobile.png`: ```bash node .claude/skills/screenshot/scripts/shot.mjs http://localhost:8899/ "$SCRATCHPAD" landing ``` Override viewports with `SHOT_WIDTHS="1440x900,768x1024,390x844"`. 5. **L...

Details

Author
zernie
Repository
zernie/vigiles
Created
4 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

screenshot-url

Screenshot a website or a URL, and take a full page screenshot of any web page. Capture a webpage screenshot through a hosted API and get a PNG or JPEG back, full page or just the viewport, at the width, height, and scale you set. The page renders in a real hosted browser with JavaScript on, so the capture matches what a person would see. Good for thumbnails, visual snapshots, archiving how a page looked, or feeding a shot to a vision model. No local headless Chrome, Puppeteer, or Playwright to run. The agent registers its own key and gets free credits right away, so the first shot works with no signup. A person can confirm one email to add more free credits, and only shots that succeed cost anything.

0 Updated 3 days ago
toolshedlabs-hash
AI & Automation Listed

screenshots

Capture README screenshots of the Tandem editor UI via Playwright + MCP

12 Updated today
bloknayrb
Web & Frontend Listed

screenshot-to-page

Generate a real, working page (route + components) inside an already-scaffolded app from a single UI screenshot, applying the project's DESIGN.md tokens and the existing UI library (shadcn, Base UI, MUI, or Coss). Reads a screenshot from `.workflow/screenshots/`, plus `.workflow/DESIGN.md` and `.workflow/meta.json` for tokens and stack, then writes the route into the codebase at the project root. Use when the user says "fai questa pagina dallo screenshot", "build the home page from this image", "/journal route from this PNG", "convert this mockup to code", or the orchestrator routes here from phase `scaffolded` with unmapped screenshots present. Not for: scaffolding the app from scratch (use `design-md-to-app`), extracting tokens from Figma (use `figma-to-design-md`), or wiring backend modules (use `module-add`).

4 Updated 2 days ago
lukedj78