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
npx skills add missing-semester/missing-semester --skill website-preview -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/website-preview/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/website-preview/
1Skills CLI (Vercel)
npx skills add missing-semester/missing-semester --skill website-preview -a codex2Manually: put the files in place
.agents/skills/website-preview/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add missing-semester/missing-semester --skill website-preview -a cursor2Manually: put the files in place
.cursor/skills/website-preview/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install missing-semester/missing-semester .claude/skills/website-preview2Manually: put the files in place
.github/skills/website-preview/SKILL.md1Skills CLI (Vercel)
npx skills add missing-semester/missing-semester --skill website-preview -a gemini-cli2Platform CLI
gemini skills install https://github.com/missing-semester/missing-semester --path .claude/skills/website-previewManually: put the files in place
.devin/skills/website-preview/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add missing-semester/missing-semester --skill website-preview -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.