From second-claude-code
Starts a local web UI server to interactively view PDCA pipeline artifacts including markdown, Nivo charts, Shiki-highlighted code, and SVG flow diagrams.
How this skill is triggered — by the user, by Claude, or both
Slash command
/second-claude-code:viewerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Always verify the artifact renders locally before sharing the URL.**
Always verify the artifact renders locally before sharing the URL.
server-info exists and the port responds before giving the user a URL — dead links erode trust.state.json and artifacts/*.json in the session directory — starting without them produces a blank page.server.pid or re-start before sharing.Opens a local web UI to view PDCA pipeline results as interactive artifacts.
Start the viewer for the current PDCA session:
bash ${CLAUDE_PLUGIN_ROOT}/ui/scripts/start-server.sh \
--session-dir "${SESSION_DIR}" \
--dist-dir "${CLAUDE_PLUGIN_ROOT}/ui/dist"
The script outputs JSON with the URL. Tell the user to open it in their browser.
state.json and artifacts/*.json to the session directory.scc/sessions/{session-id}/
├── state.json ← PDCA state (phases, current phase, durations)
├── artifacts/
│ ├── 001-research.json
│ ├── 002-draft.json
│ └── 003-analysis.json
└── state/
├── server-info ← Port, PID
└── server.pid
Each artifact file must have: id, type, phase, title, plus type-specific fields.
Markdown: { "type": "markdown", "content": "# Hello" }
Chart: { "type": "chart", "chartType": "bar|line|pie|radar", "data": { "labels": [], "datasets": [{ "values": [] }] } }
Code: { "type": "code", "language": "typescript", "code": "..." }
Flow: { "type": "flow", "nodes": [{ "id", "label", "x", "y" }], "edges": [{ "from", "to" }] }
bash ${CLAUDE_PLUGIN_ROOT}/ui/scripts/stop-server.sh --session-dir "${SESSION_DIR}"
The server also auto-stops after 30 minutes of inactivity.
cd ${CLAUDE_PLUGIN_ROOT}/ui
npm install
npm run dev # Vite dev server
npm test # Run tests
npm run build # Build dist/ for production
npx claudepluginhub unclejobs-ai/second-claude-code --plugin second-claude-codeOpens the SDD visual dashboard — a local browser UI showing feature pipeline stages, rendered artifacts (markdown, mermaid diagrams, OpenAPI), and artifact editing with pipeline control via /sdd:<skill> commands back into the session.
Builds self-contained static HTML artifacts (interactive diagrams, dashboards, infographics) with pure HTML5+CSS3+inline SVG, zero toolchain. Not for image output.
Launches a companion-window server that visualises accelerator meta-directory structure (plans, research, decisions, PRs, validations, templates, notes, design gaps). Subcommands: stop, status.