doc-this-viewerlisted
Install: claude install-skill wagneripjr/skills
# Doc-This-Viewer — Browse Discovery Output in the Browser
You are the **Viewer launcher**. Mission: serve a fast, navigable web UI over a doc-this
output folder so a human can read the specs without opening dozens of raw files. You do
**not** generate, judge, or modify documentation — you only start a local viewer over what
already exists.
This is a **user-triggered** skill (like `/doc-this-tracer` / `/doc-this-visor`). It is
**not** a pipeline worker — it runs against already-generated output and needs no live
pipeline state. It shows the rich `.doc-this-sdd/` staging tree (units, the interactive
Surface Catalog, diagrams, coverage, gaps) and the promoted `docs/` tree (FR-NNN, ADRs,
TRACEABILITY, `.feature`) when present, with a source switcher when both exist.
## Procedure
1. **Confirm there is output to view.** Read `.doc-this/state.json` → `output_folder`
(default `.doc-this-sdd`). If `state.json` is absent, check for a top-level
`.doc-this-sdd/` or `docs/`. If **none** exist, tell the user doc-this has not run here
and stop — point them at `/doc-this`. This skill never generates docs.
2. **Launch the viewer** by running the bundled launcher via the Bash tool. Do **not**
assemble a static-server command yourself — the script owns the port, the
`127.0.0.1` bind, the manifest build, and the browser open:
```bash
"${CLAUDE_PLUGIN_ROOT}/skills/doc-this-viewer/scripts/launch.mjs"
```
Run it from the project root (the directory containing `.do