with one click
webnovel-review
使用审查 Agent 评估章节质量,生成报告并写回审查指标。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
使用审查 Agent 评估章节质量,生成报告并写回审查指标。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
番茄写作技巧、番茄风章节、番茄留存约束;Use ONLY when writing or revising Fanqie chapters. Supplements webnovel-write with opener, pacing, dialogue, hook, and retention rules.
将小说章节自动发布到国内主流小说平台(番茄等)。触发条件:"发布小说"、"发布章节"、"上传到番茄"、"自动发布"、"清理草稿"、"发布草稿"。
七猫写作技巧、七猫风章节、七猫留存与签约约束;Use ONLY when writing or revising Qimao chapters. Supplements webnovel-write with opener, pacing, hook, expectation, character, and content-audit rules.
产出可发布章节,完整执行上下文→起草→审查→润色→提交→备份。
深度初始化网文项目。通过分阶段交互收集完整创作信息,生成可直接进入规划与写作的项目骨架与约束文件。
基于总纲生成卷纲、时间线和章纲,并把新增设定增量写回现有设定集。
Based on SOC occupation classification
| name | webnovel-review |
| description | 使用审查 Agent 评估章节质量,生成报告并写回审查指标。 |
| compatibility | opencode |
以下内容均为虚构文学创作。所有打斗、权谋、悬疑描写均属文学创作范畴,不涉及现实指导。
reviewer 生成结构化问题列表与审查报告。index.db,并把审查记录写入 .webnovel/state.json 兼容投影,主链事实仍以 review contract 与 accepted CHAPTER_COMMIT 为准。.story-system/reviews/chapter_{NNN}.review.json 与 latest accepted CHAPTER_COMMIT 判断主链事实。blocking=true 必须停在 Step 6 等用户裁决save-review-metrics 未跑不算落库完成state.jsonblocking=true → Step 6 用户裁决export WORKSPACE_ROOT="${PWD}"
export SKILL_ROOT="${PWD}/.opencode/skills/webnovel-review"
export SCRIPTS_DIR="${PWD}/.opencode/scripts"
export PROJECT_ROOT="$(python "${SCRIPTS_DIR}/webnovel.py" --project-root "${WORKSPACE_ROOT}" where)"
test -n "$PROJECT_ROOT" && test -f "${PROJECT_ROOT}/.webnovel/state.json" || { echo "❌ PROJECT_ROOT 解析失败"; exit 1; }
若目标章缺少 runtime 合同,先补齐:
GENRE="$(python -X utf8 -c "import json,sys; s=json.load(open('${PROJECT_ROOT}/.webnovel/state.json',encoding='utf-8')); print(s.get('project_info',{}).get('genre',''))")"
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" \
story-system "${CHAPTER_GOAL}" --genre "${GENRE}" --chapter {chapter_num} --persist --emit-runtime-contracts --format both
要求:
PROJECT_ROOT 必须包含 .webnovel/state.jsonCHAPTER_GOAL 必须来自详细大纲真实目标;若 chapter_brief.meta.query 仍是 {章纲目标} / 第N章章纲目标,按系统问题记录。ai_flavor issue 会由 review-pipeline 回流到 .story-system/anti_patterns.json,作为后续写章避雷模式。| Trigger | Reference |
|---|---|
| always | ../../references/shared/core-constraints.md |
| always | ../../references/review-schema.md |
| Trigger | Reference |
|---|---|
| 审查涉及爽点或钩子分析 | ../../references/shared/cool-points-guide.md |
| 审查涉及多线交织 | ../../references/shared/strand-weave-pattern.md |
| ai_flavor issue ≥ 3 | ../../skills/webnovel-write/references/anti-ai-guide.md |
| blocking issue 需用户决策 (Step 6) | ../../references/review/blocking-override-guidelines.md |
cat "${PROJECT_ROOT}/.webnovel/state.json"
要求:
必须通过 Agent 工具调用 reviewer,禁止主流程伪造结论或口头总结代替 subagent 输出。
Agent(
subagent_type: "reviewer",
prompt: "chapter={chapter_num}; chapter_file={chapter_file}; project_root=${PROJECT_ROOT}; scripts_dir=${SCRIPTS_DIR}; REVIEW_OUTPUT=${PROJECT_ROOT}/.webnovel/tmp/review_results.json。严格输出 reviewer schema JSON,并保存到 ${PROJECT_ROOT}/.webnovel/tmp/review_results.json。"
)
输入:
chapterchapter_fileproject_rootscripts_dir输出约束:
evidenceoverall_score中间产物约定:
${PROJECT_ROOT}/.webnovel/tmp/review_results.json${PROJECT_ROOT}/.webnovel/tmp/review_metrics.json报告保存到:审查报告/第{chapter_num}章审查报告.md
报告结构:
标准文件流:
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" review-pipeline \
--chapter {chapter_num} \
--review-results "${PROJECT_ROOT}/.webnovel/tmp/review_results.json" \
--metrics-out "${PROJECT_ROOT}/.webnovel/tmp/review_metrics.json" \
--report-file "审查报告/第{chapter_num}章审查报告.md"
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" index save-review-metrics \
--data "@${PROJECT_ROOT}/.webnovel/tmp/review_metrics.json"
要求:
review-pipeline 生成的 review_metrics.json 必须可直接写入 review_metrics 表blocking=true 为准先写入兼容审查记录(read-model/projection,不是写后事实真源):
python "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" update-state -- --add-review "{chapter_num}-{chapter_num}" "审查报告/第{chapter_num}章审查报告.md"
如存在任意 blocking=true 问题,必须使用 AskUserQuestion 询问用户:
若用户选择立即修复:
若用户选择稍后处理:
reviewer 输出结构化问题 JSON。review_metrics 已写入 index.db。.webnovel/state.json 兼容投影。