一键导入
webnovel-init
// Initializes webnovel projects with settings, outline framework, and state.json. Supports quick/standard/deep modes. Activates when user wants to start a new novel or /webnovel-init.
// Initializes webnovel projects with settings, outline framework, and state.json. Supports quick/standard/deep modes. Activates when user wants to start a new novel or /webnovel-init.
Writes webnovel chapters (3000-5000 words) using v5.1 dual-agent architecture. Context Agent gathers context, writer produces pure text (no XML tags), review agents report issues, polish fixes problems, Data Agent extracts entities with AI.
Plans detailed volume outlines with chapter-by-chapter breakdown, cool-point distribution, and Strand Weave pacing. Activates when user requests outline planning or /webnovel-plan.
Queries project settings for characters, powers, factions, items, and foreshadowing. Supports urgency analysis and golden finger status. Activates when user asks about story elements or /webnovel-query.
Recovers interrupted webnovel tasks with precise workflow state tracking. Detects interruption point and provides safe recovery options. Activates when user wants to resume or /webnovel-resume.
Reviews chapter quality using 5 specialized checkers and generates comprehensive reports. Activates when user requests chapter review or /webnovel-review.
| name | webnovel-init |
| description | Initializes webnovel projects with settings, outline framework, and state.json. Supports quick/standard/deep modes. Activates when user wants to start a new novel or /webnovel-init. |
| allowed-tools | Bash Write Read Edit AskUserQuestion Task |
Copy and track progress:
项目初始化进度:
- [ ] Step 1: 加载题材套路 (cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/genre-tropes.md")
- [ ] Step 2: 加载数据规范 (cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/system-data-flow.md")
- [ ] Step 3: 确认上下文充足
- [ ] Step 4: 检查现有项目
- [ ] Step 5: 收集基本信息 (AskUserQuestion)
- [ ] Step 5.5: 加载题材模板 (根据用户选择)
- [ ] Step 6: 金手指设计 (Standard+)
- [ ] Step 7: 创意深挖 (Deep模式)
- [ ] Step 8: 生成项目文件
- [ ] Step 9: 验证并报告
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/genre-tropes.md"
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/system-data-flow.md"
检查清单:
如有缺失 → 返回对应 Step
ls .webnovel/state.json 2>/dev/null && echo "项目已存在"
如存在,询问用户:保留/备份/覆盖
| 模式 | 时长 | 内容 |
|---|---|---|
| ⚡ Quick | 5分钟 | 基本信息 |
| 📝 Standard | 15-20分钟 | +金手指+核心卖点 |
| 🎯 Deep | 30-45分钟 | +创意评估+市场定位+角色深度 |
使用 AskUserQuestion 收集:
参考 genre-tropes.md 建议合适的金手指类型。
用户选择题材后,必须加载对应模板:
| 题材 | 执行命令 |
|---|---|
| 修仙 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/修仙.md" |
| 系统流 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/系统流.md" |
| 都市异能 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/都市异能.md" |
| 狗血言情 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/狗血言情.md" |
| 知乎短篇 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/知乎短篇.md" |
| 古言 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/古言.md" |
| 现实题材 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/现实题材.md" |
| 规则怪谈 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/规则怪谈.md" |
| 替身文 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/替身文.md" |
| 多子多福 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/多子多福.md" |
| 黑暗题材 | cat "${CLAUDE_PLUGIN_ROOT}/templates/genres/黑暗题材.md" |
金手指设计参考(Standard+ 模式必须加载):
cat "${CLAUDE_PLUGIN_ROOT}/templates/golden-finger-templates.md"
加载核心设计参考:
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/creativity/selling-points.md"
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/worldbuilding/character-design.md"
按需加载世界构建参考(Standard+ 模式推荐):
# 势力体系设计
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/worldbuilding/faction-systems.md"
# 设定一致性指南
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/worldbuilding/setting-consistency.md"
# 世界规则设计
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/worldbuilding/world-rules.md"
使用 AskUserQuestion 收集:
如为 Deep 模式,额外加载:
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/creativity/inspiration-collection.md"
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/worldbuilding/power-systems.md"
# 创意组合方法
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/creativity/creative-combination.md"
# 市场定位分析
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-init/references/creativity/market-positioning.md"
收集:
python "${CLAUDE_PLUGIN_ROOT}/scripts/init_project.py" \
"./webnovel-project" \
"{title}" \
"{genre}" \
--protagonist-name "{name}" \
--target-words {count} \
--golden-finger-name "{gf_name}" \
--golden-finger-type "{gf_type}" \
--core-selling-points "{points}"
生成文件:
.webnovel/state.json - 运行时状态设定集/世界观.md - 世界设定设定集/力量体系.md - 力量体系设定集/主角卡.md - 主角卡设定集/金手指设计.md - 金手指设计大纲/总纲.md - 总纲ls -la .webnovel/state.json
ls -la 设定集/*.md
git init && git add . && git commit -m "初始化网文项目:{title}"
输出三大定律提醒: