webnovel-doctorlisted
Install: claude install-skill nntrivi2001/wordsmith
# Webnovel Doctor
## Goal
Read-only diagnosis of current book project: confirm that required directories, files, JSON, SQLite, RAG config, Python dependencies and Dashboard build artifacts for current phase are complete.
## Principles
1. Read-only diagnosis: do not write project files, do not auto-fix, do not install dependencies, do not start Dashboard.
2. First get short status with `project-status`, then `doctor` for phase-aware checks.
3. Consistently use `python -X utf8`, avoid Chinese path encoding issues.
4. Missing items explain impact and fix suggestions based on runtime-inferred phase, do not check just-completed init project as multi-chapter written project.
## Execution
Prepare paths:
```bash
export WORKSPACE_ROOT="${CLAUDE_PROJECT_DIR:-$PWD}"
export SCRIPTS_DIR="${CLAUDE_PLUGIN_ROOT:?}/scripts"
```
Short status:
```bash
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${WORKSPACE_ROOT}" project-status --format summary
```
Standard health check:
```bash
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${WORKSPACE_ROOT}" doctor --format text
```
Add `--chapter {chapter_num}` for specific chapter, add `--deep` for deep health check.
## Output Method
Report includes: current `phase` and `target_chapter`, whether blockers exist, missing or abnormal file paths, whether RAG / Python / Dashboard config missing, each problem's impact and suggested fix actions.
Do not execute real fixes, do not show or request pasting API keys.