name: webnovel-write description: Writes webnovel chapters (3000-5000 words). Use when the user asks to write a chapter or runs /webnovel-write. Runs context, drafting, review, polish, and data extraction.
.webnovel/state.json)cd 进入$PROJECT_ROOT = (Resolve-Path ".").Path/webnovel-write:标准流程(含核心4个Checker)/webnovel-write --fast:跳过 Step 2B,其余同标准/webnovel-write --minimal:跳过 Step 2B,仅运行 consistency + continuity + ooc(不产出追读力数据)使用 Task 工具调用 context-agent:
调用 context-agent,参数:
- chapter: {chapter_num}
- project_root: {PROJECT_ROOT}
- storage_path: .webnovel/
- state_file: .webnovel/state.json
缺失处理:大纲或 state.json 不存在时,提示用户先初始化。
要求:创作任务书必须包含“反派层级”(从大纲/章纲提取)。
python "${CLAUDE_PLUGIN_ROOT}/scripts/extract_chapter_context.py" --chapter {chapter_num} --project-root "{PROJECT_ROOT}" --format json
writing_guidance.guidance_itemsreader_signal 与 genre_profile.reference_hints正文/第{NNNN}章.md。开写前加载核心约束:
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-write/references/core-constraints.md"
场景写作与风格参考按需加载(见 references/workflow-details.md)。
references/core-constraints.mdreferences/polish-guide.mdreferences/style-variants.md.claude/references/reading-power-taxonomy.md.claude/references/genre-profiles.mdreferences/workflow-details.mdreferences/writing/typesetting.md默认核心4个 Checker:
consistency-checkercontinuity-checkerooc-checkerreader-pull-checker(用于写入追读力数据)关键章/卷末/用户明确要求:额外运行
high-point-checkerpacing-checker审查汇总表格与审查指标 JSON 模板见 references/workflow-details.md。
加载润色参考:
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-write/references/polish-guide.md"
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-write/references/writing/typesetting.md"
先修复 critical/high,再处理 medium/low。
使用 Task 工具调用 data-agent:
调用 data-agent,参数:
- chapter: {chapter_num}
- chapter_file: "正文/第{NNNN}章.md"
- review_score: {overall_score from Step 3}
- project_root: {PROJECT_ROOT}
- storage_path: .webnovel/
- state_file: .webnovel/state.json
债务利息计算默认关闭,仅在开启债务追踪或用户明确要求时执行(见 references/workflow-details.md)。
git add . && git commit -m "Ch{chapter_num}: {title}"
需要以下内容时,读取:
references/workflow-details.md
Step 1.5 需要时可直接加载(避免深层引用):
references/style-variants.md.claude/references/reading-power-taxonomy.md.claude/references/genre-profiles.md