architect
Given a PRD, produces an implementation architecture: file tree, component breakdown, data model, and a phased build plan with…
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.
Claude Code
$ npx -y skills add SethGammon/Citadel --skill live-preview --agent claude-code
Codex
$ npx skills add SethGammon/Citadel --skill live-preview -a codex -y
Cursor
$ npx skills add SethGammon/Citadel --skill live-preview -a cursor -y
Gemini CLI
$ npx skills add SethGammon/Citadel --skill live-preview -a gemini-cli -y
GitHub Copilot
$ npx skills add SethGammon/Citadel --skill live-preview -a github-copilot -y
OpenCode
$ npx skills add SethGammon/Citadel --skill live-preview -a opencode -y
Windsurf
$ npx skills add SethGammon/Citadel --skill live-preview -a windsurf -y
name: live-preview license: MIT description: >- 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. user-invocable: true auto-trigger: false trigger_keywords: - preview - screenshot - visual check - does it render last-updated: 2026-03-21
This skill requires a screenshot tool. Supported:
If no screenshot tool is available, this skill will tell you what to install and exit.
Determine what needs visual verification:
1. Check which files were modified in the current session/phase 2. Filter to view-layer files (.tsx, .jsx, .vue, .svelte, .html, .css) 3. **If no view-layer files found**: exit early with message "No view-layer files modified. Nothing to preview." Skip Steps 2-5. This is expected for non-UI repos (CLI tools, libraries, agent harnesses). 4. Map each modified file to a route or URL where it renders:
For each route/URL that needs verification:
1. Ensure the dev server is running (start it if not) 2. Take a screenshot:
npx playwright screenshot http://localhost:{port}/{route} .planning/screenshots/{route-slug}.png --full-page3. If Playwright isn't available, try:
# 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:
1. Read the screenshot (vision). Check:
2. Record the result:
For each FAIL or BLANK:
1. Diagnose: is it a data issue, a rendering issue, or a missing import? 2. Fix the root cause (not a band-aid) 3. Re-capture and re-verify 4. Maximum 2 fix attempts per component. If still failing, log it and move on.
Save verification artifacts:
1. Screenshots go to `.planning/screenshots/{campaign-slug}/` (if in a campaign) or `.planning/screenshots/` (if standalone) 2. In Codex, also register screenshots for the app artifact/browser workflow:
node scripts/codex-app-artifacts.js record --workflow live-preview --kind screenshot --path ".planning/screenshots/{route-slug}.png" --status pass3. Verify registered artifacts:
node scripts/codex-app-artifacts.js verify --require-artifacts
4. Write a verification summary:
## 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:
1. After the sub-agent completes, Archon invokes /live-preview on the modified routes 2. If any route is BLANK or FAIL, the phase is NOT marked complete 3. The fix cycle runs before proceeding to the next phase 4. This is part of Archon's Step 4 (Self-Correction) quality spot-check
**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:**
An open-source operating layer for Claude Code and OpenAI Codex. Citadel routes requests, preserves repository state between sessions, coordinates parallel work, applies repository safeguards, and records evidence and handoffs around the coding agent you
Given a PRD, produces an implementation architecture: file tree, component breakdown, data model, and a phased build plan with…
Autonomous multi-session campaign agent. Decomposes large work into phases, delegates to sub-agents, reviews output, and…
Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid…
Intake-to-delivery pipeline. Processes pending items from .planning/intake/: briefs new ideas, executes approved work through…
Deep cost exploration and transparency. Shows real token usage, session costs, campaign spend, burn rates, and model breakdown.…
End-to-end app creation from a single description. Five tiers: blank project, guided, templated, fully generated, or feature…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.