name: architecture-view
description: Use when the user asks to open the architecture viewer, view diagrams, inspect node evidence, export the local architecture map, or troubleshoot hello-scholar map view/export behavior.
Architecture View
Mission
Open, inspect, or export the local hello-scholar architecture viewer. This skill is operational: it does not scan the repository and does not modify architecture facts.
Boundaries
- Do not modify
architecture-map.json.
- Do not semantically scan code.
- Follow the native architecture boundary in
../references/native-boundaries.md; use the hello-scholar local viewer only.
- Keep the server bound to localhost through the CLI default.
- Use export only when the user asks for a portable artifact.
Load Reference
Read ../references/native-boundaries.md and references/viewer-operations.md for CLI commands, troubleshooting, and expected viewer capabilities.
Workflow
- Check for
hello-scholar/architecture/architecture-map.json.
- If missing, tell the user to run
$architecture-map or ~map after enabling architecture-onboarding.
- If present, run or recommend:
hello-scholar map status
hello-scholar map validate
hello-scholar map view [--port <port>] [--open]
- For export requests, use:
hello-scholar map export --format html
hello-scholar map export --format markdown
hello-scholar map export --format mermaid
- Report the local URL, local-only boundary, validation warnings, and export path.
Viewer Expectations
The local viewer should allow the user to:
- browse project overview, run/test/build notes, evidence coverage, optional lenses, views, and flows
- render Mermaid diagrams locally
- click nodes to inspect summary, paths, evidence, confidence, and tags
- inspect edges from the edge list or rendered labels when available
- inspect numbered call sequences
- see diagnostics, unknowns, drift warnings, and weak or missing evidence claims
- search nodes, paths, and evidence
- pan, zoom, fit, and switch light/dark backgrounds
- auto-refresh when the map file changes
Troubleshooting
- If the map is missing, do not start an empty viewer.
- If Mermaid is unavailable, report that raw diagrams will still be shown.
- If the port is occupied, rely on CLI fallback or choose another port.
- If the browser shows stale UI, ask for a hard refresh after the server restarts.
- If export HTML lacks Mermaid rendering, report the fallback clearly and keep raw diagrams accessible.
1---2name: architecture-view3description: Use when the user asks to open the architecture viewer, view diagrams, inspect node evidence, export the local architecture map, or troubleshoot hello-scholar m4---5---6name: architecture-view7description: Use when the user asks to open the architecture viewer, view diagrams, inspect node evidence, export the local architecture map, or troubleshoot hello-scholar map view/export behavior.8---910# Architecture View1112## Mission1314Open, inspect, or export the local hello-scholar architecture viewer. This skill is operational: it does not scan the repository and does not modify architecture facts.1516## Boundaries1718- Do not modify `architecture-map.json`.19- Do not semantically scan code.20- Follow the native architecture boundary in `../references/native-boundaries.md`; use the hello-scholar local viewer only.21- Keep the server bound to localhost through the CLI default.22- Use export only when the user asks for a portable artifact.2324## Load Reference2526Read `../references/native-boundaries.md` and `references/viewer-operations.md` for CLI commands, troubleshooting, and expected viewer capabilities.2728## Workflow29301. Check for `hello-scholar/architecture/architecture-map.json`.312. If missing, tell the user to run `$architecture-map` or `~map` after enabling `architecture-onboarding`.323. If present, run or recommend:33 - `hello-scholar map status`34 - `hello-scholar map validate`35 - `hello-scholar map view [--port <port>] [--open]`364. For export requests, use:37 - `hello-scholar map export --format html`38 - `hello-scholar map export --format markdown`39 - `hello-scholar map export --format mermaid`405. Report the local URL, local-only boundary, validation warnings, and export path.4142## Viewer Expectations4344The local viewer should allow the user to:4546- browse project overview, run/test/build notes, evidence coverage, optional lenses, views, and flows47- render Mermaid diagrams locally48- click nodes to inspect summary, paths, evidence, confidence, and tags49- inspect edges from the edge list or rendered labels when available50- inspect numbered call sequences51- see diagnostics, unknowns, drift warnings, and weak or missing evidence claims52- search nodes, paths, and evidence53- pan, zoom, fit, and switch light/dark backgrounds54- auto-refresh when the map file changes5556## Troubleshooting5758- If the map is missing, do not start an empty viewer.59- If Mermaid is unavailable, report that raw diagrams will still be shown.60- If the port is occupied, rely on CLI fallback or choose another port.61- If the browser shows stale UI, ask for a hard refresh after the server restarts.62- If export HTML lacks Mermaid rendering, report the fallback clearly and keep raw diagrams accessible.