Skip to main content
skill CX Codex

website-preview — Claude Code skill: what it does, how to install

website-preview enables AI agents to render local Jekyll sites, run ChromeDriver, and capture UI screenshots across viewports and color themes.

no license ★ 6,222 updated 2026-10-08

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add missing-semester/missing-semester --skill website-preview -a claude-code
Open on GitHub

What website-preview does

This skill guides the coding agent through automated UI checks for Jekyll projects. It queries the local development port at http://localhost:4000/ and triggers ./browser.sh to locate Google Chrome and spawn ChromeDriver on an open port.

The automation helper switches viewports between phone and desktop scales, toggles dark mode, and writes image captures to /tmp/preview.png. When precise layout auditing is needed, the agent runs DOM evaluations like getBoundingClientRect() via ./browser.sh js.

Running this tool requires a working Google Chrome installation alongside Ruby bundler; without ChromeDriver in place, preview generation fails immediately.

What it helps with

  • capture rendered Jekyll pages across mobile and desktop breakpoints
  • verify style tweaks visually after editing SCSS or layout templates
  • audit layout elements using in-browser JavaScript evaluation
  • inspect page appearance under light and dark color schemes

Example prompts for the agent

  • Check my layout updates and capture a mobile screenshot of the homepage
  • Switch to dark mode in browser.sh and inspect the course shell page
  • Verify the latest CSS changes by taking a preview screenshot at localhost:4000

How to install website-preview

1Skills CLI (Vercel)

npx skills add missing-semester/missing-semester --skill website-preview -a claude-code

2Manually: put the files in place

~/.claude/skills/website-preview/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/website-preview/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about website-preview

How to install website-preview in Claude Code?

Run npx skills add missing-semester/missing-semester --skill website-preview -a claude-code in your terminal. Alternatively, add the content directly to ~/.claude/skills/website-preview/SKILL.md.

What does the website-preview skill do?

It gives your coding agent procedures to manage a local Jekyll instance, automate ChromeDriver sessions, and capture layout screenshots.

Does browser.sh persist state between screenshot commands?

Yes, mode flags such as mobile, desktop, dark, and light remain active until you explicitly send another mode command.

Similar skills

All skills for Frontend and UI →

Project sponsors

Companies that keep this analytics open