Preview site

From dpc/tau · View interactive version

Preview site is an AI agent skill from the GitHub repository dpc/tau. Use this skill when changing or reviewing Tau's static site under site/ and needing visual verification of layout, spacing, colors, alignment, desktop rendering, mobile rendering, or screenshot-based regressions.

How to use this skill

Skill file

Preview Site

Take a headless browser screenshot of site/index.html to visually inspect layout, colors, spacing, and alignment.

Steps

  1. Run headless Chromium to capture a full-page screenshot:
chromium --headless \
  --screenshot=/tmp/tau-site-preview.png \
  --window-size=1280,4000 \
  --disable-gpu --no-sandbox \
  "file://$(pwd)/site/index.html"
  1. Read the screenshot image at /tmp/tau-site-preview.png using the Read tool -- it supports images natively.
  1. Inspect the rendering and report any issues with layout, alignment, spacing, colors, or font consistency.
  1. Clean up: rm /tmp/tau-site-preview.png

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.