/webnovel-writer:webnovel-dashboardfrom webnovel-writer
Launches a read-only web dashboard for webnovel projects, displaying chapter lists, entity graphs, story-runtime health, and project status.
Ships in webnovel-writer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/api/story-runtime/health、latest commit、fallback 情况。.webnovel/ 变化,但不修改任何项目文件。export WORKSPACE_ROOT="${CLAUDE_PROJECT_DIR:-$PWD}"
if [ -z "${CLAUDE_PLUGIN_ROOT}" ] || [ ! -d "${CLAUDE_PLUGIN_ROOT}/dashboard" ]; then
echo "ERROR: 未找到 dashboard 模块: ${CLAUDE_PLUGIN_ROOT}/dashboard" >&2
exit 1
fi
export DASHBOARD_DIR="${CLAUDE_PLUGIN_ROOT}/dashboard"
export SCRIPTS_DIR="${CLAUDE_PLUGIN_ROOT}/scripts"
export PROJECT_ROOT="$(python "${SCRIPTS_DIR}/webnovel.py" --project-root "${WORKSPACE_ROOT}" where)"
echo "项目路径: ${PROJECT_ROOT}"
PROJECT_ROOT 必须解析成功。
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: 缺少前端构建产物 ${DASHBOARD_DIR}/frontend/dist/index.html(dist 应随插件打包,确认插件完整安装)" >&2
exit 1
fi
不默认安装依赖。仅当 Step 4 因缺依赖启动失败时,提示用户手动执行:
python -m pip install -r "${DASHBOARD_DIR}/requirements.txt"
python -m dashboard.server --project-root "${PROJECT_ROOT}"
不自动打开浏览器时加 --no-browser;自定义端口加 --port 9000。
启动后优先确认接口可用:/api/story-runtime/health、/api/preflight。
| 故障 | 恢复方式 |
|---|---|
| 启动报缺依赖 | 手动 pip install -r "${DASHBOARD_DIR}/requirements.txt",检查 Python 版本与网络 |
前端 dist/ 缺失 | 确认插件完整安装,dist 应随插件打包 |
| 项目根解析失败 | 检查 .webnovel/state.json 是否存在,确认 WORKSPACE_ROOT 正确 |
| 端口占用 | 用 --port <其他端口> 或关闭占用进程 |
| 页面空白/数据缺失 | 确认 .webnovel/ 下有 state.json、index.db 等数据文件 |
PROJECT_ROOT 范围内,默认仅监听 localhost。What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lingfengqaq/webnovel-writer --plugin webnovel-writer8 skills in this plugin
/webnovel-doctor对网文项目做只读体检/诊断(/webnovel-doctor)——检查目录、文件、JSON、SQLite、RAG 配置、依赖与 Dashboard 构建产物是否完整。/webnovel-init深度初始化网文项目。通过分阶段交互收集完整创作信息,生成可直接进入规划与写作的项目骨架与约束文件。/webnovel-learn从当前会话提取成功写作模式并写入 project_memory.json/webnovel-plan基于总纲生成卷纲、时间线和章纲,并把新增设定增量写回现有设定集。/webnovel-query查询项目设定、角色、力量体系、势力、伏笔等信息。支持紧急度分析与金手指状态查询。/webnovel-review使用审查 Agent 评估章节质量,生成报告并写回审查指标。2 plugins ship this exact skill · first indexed Jul 18, 2026
Other plugins' skills for the same job