Tooluck logoTooluck
SKILL.md

live-preview

Agent skill fromSethGammon/Citadel

Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.

How to install live-preview

install live-preview
# install the Citadel pack with the skills CLI
npx skills add SethGammon/Citadel

# or add only this skill to Claude Code: copy the folder

skills/live-preview/

# into

~/.claude/skills/live-preview/ (all projects)

.claude/skills/live-preview/ (one project)

skills/live-preview/SKILL.md

MITFull file
1# /live-preview — Build-Verify-Fix Loop
2
3## Prerequisites
4
5This skill requires a screenshot tool. Supported:
6- **Playwright** (recommended): `npx playwright screenshot [url] [output.png]`
7- **Puppeteer**: via a small script
8- **Any tool that takes a URL and produces a screenshot**
9
10If no screenshot tool is available, this skill will tell you what to install and exit.
11
12## When to Use
13
14- Any time .tsx, .jsx, .vue, .svelte, or .html files are modified
15- After component creation or replacement
16- During visual redesign campaigns
17- When Archon or Marshal delegate UI work
18
19## Protocol
20
21### Step 1: DETECT
22
23Determine what needs visual verification:
24
251. Check which files were modified in the current session/phase
262. Filter to view-layer files (.tsx, .jsx, .vue, .svelte, .html, .css)
273. **If no view-layer files found**: exit early with message
28 "No view-layer files modified. Nothing to preview." Skip Steps 2-5.
29 This is expected for non-UI repos (CLI tools, libraries, agent harnesses).
304. Map each modified file to a route or URL where it renders:
31 - If the project has a route manifest or sitemap, use it
32 - If the project has a dev server, identify which routes render the modified components
33 - If you can't determine the route, ask the user
34
35### Step 2: CAPTURE
36
37For each route/URL that needs verification:
38
391. Ensure the dev server is running (start it if not)
402. Take a screenshot:
41 ```bash
42…

Excerpt shown under the repository's MIT license.

More skills in Citadel

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates