webnovel-dashboardlisted
Install: claude install-skill nntrivi2001/wordsmith
# Webnovel Dashboard
## Goal
- Launch read-only Web panel locally, view creation progress, setting dictionary, relationship graph, chapter content and reader engagement data.
- Expose Story Runtime main chain status: `/api/story-runtime/health`, latest commit, fallback situation.
- Can monitor `.webnovel/` changes, but do not modify any project files.
## Execution Flow
### Step 1: Verify Environment and Module Directory
```bash
export WORKSPACE_ROOT="${CLAUDE_PROJECT_DIR:-$PWD}"
if [ -z "${CLAUDE_PLUGIN_ROOT}" ] || [ ! -d "${CLAUDE_PLUGIN_ROOT}/dashboard" ]; then
echo "ERROR: dashboard module not found: ${CLAUDE_PLUGIN_ROOT}/dashboard" >&2
exit 1
fi
export DASHBOARD_DIR="${CLAUDE_PLUGIN_ROOT}/dashboard"
export SCRIPTS_DIR="${CLAUDE_PLUGIN_ROOT}/scripts"
```
### Step 2: Parse Project Root Directory
```bash
export PROJECT_ROOT="$(python "${SCRIPTS_DIR}/webnovel.py" --project-root "${WORKSPACE_ROOT}" where)"
echo "Project path: ${PROJECT_ROOT}"
```
`PROJECT_ROOT` must parse successfully.
### Step 3: Verify Frontend Artifacts and Dependencies
```bash
if [ -n "${PYTHONPATH:-}" ]; then
export PYTHONPATH="${CLAUDE_PLUGIN_ROOT}:${PYTHONPATH}"
else
export PYTHONPATH="${CLAUDE_PLUGIN_ROOT}"
fi
if [ ! -f "${DASHBOARD_DIR}/frontend/dist/index.html" ]; then
echo "ERROR: missing frontend build artifact ${DASHBOARD_DIR}/frontend/dist/index.html (dist should be packaged with plugin, confirm plugin fully installed)" >&2
exit 1
fi
```
Do not install dependencies by de