/citadel:live-previewfrom citadel
Takes screenshots of modified UI components mid-build to catch visual regressions early. Requires Playwright or similar screenshot tool.
Ships in citadel. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill requires a screenshot tool. Supported:
npx playwright screenshot [url] [output.png]If no screenshot tool is available, this skill will tell you what to install and exit.
Determine what needs visual verification:
For each route/URL that needs verification:
npx playwright screenshot http://localhost:{port}/{route} .planning/screenshots/{route-slug}.png --full-page
# Check for playwright
npx playwright --version 2>/dev/null
# If not found, inform the user:
# "live-preview needs Playwright for screenshots. Install with: npm i -D playwright"
For each screenshot:
For each FAIL or BLANK:
Save verification artifacts:
.planning/screenshots/{campaign-slug}/ (if in a campaign)
or .planning/screenshots/ (if standalone)node scripts/codex-app-artifacts.js record --workflow live-preview --kind screenshot --path ".planning/screenshots/{route-slug}.png" --status pass
node scripts/codex-app-artifacts.js verify --require-artifacts
## Visual Verification: {date}
| Route | File Modified | Result | Notes |
|-------|--------------|--------|-------|
| /dashboard | Dashboard.tsx | PASS | Renders correctly |
| /settings | SettingsPanel.tsx | FAIL → PASS | Fixed missing import, re-verified |
| /profile | ProfileCard.tsx | BLANK → PASS | Component wasn't mounted, fixed export |
When Archon delegates a build phase that modifies view files:
npm run dev or equivalent, then re-run /live-preview." Do not attempt screenshots against a dead server.package.json scripts for a --port flag or PORT env variable.npm i -D playwright. Exit gracefully without crashing..planning/screenshots/ does not exist: Create the directory before writing artifacts. Never error on a missing output directory.Disclosure: "Taking screenshots for visual verification. Images saved to .planning/screenshots/."
Reversibility: green — screenshots only; saves to .planning/screenshots/. No source files modified.
Trust gates:
---HANDOFF---
- Live Preview: {N} routes verified
- Results: {pass}/{total} passed
- Failures: {list of routes that failed and what was wrong}
- Screenshots: .planning/screenshots/{path}
- Reversibility: green — delete .planning/screenshots/ to remove artifacts; no source files modified
---
What SKILL.md sets; muted values are Claude Code's defaults
2 plugins ship this exact skill · first indexed Jun 2, 2026
48 skills in this plugin
/architectGiven a PRD, produces an implementation architecture: file tree, component breakdown, data model, and a phased build plan with end conditions that Archon can execute directly. Multi-candidate evaluation for key decisions./archonAutonomous multi-session campaign agent. Decomposes large work into phases, delegates to sub-agents, reviews output, and maintains campaign state across context windows. Use for work that spans multiple sessions and needs persistent state, quality judgment, and strategic decomposition./ascii-diagramGenerate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.npx claudepluginhub sethgammon/citadel --plugin citadelOther plugins' skills for the same job