/webnovel-writer:webnovel-learn [要记住的写作经验]from webnovel-writer
Extracts successful writing patterns from the current conversation and appends them to project_memory.json for web novel projects.
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.
.webnovel/state.json)export WORKSPACE_ROOT="${CLAUDE_PROJECT_DIR:-$PWD}"
export SCRIPTS_DIR="${CLAUDE_PLUGIN_ROOT:?}/scripts"
export PROJECT_ROOT="$(python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${WORKSPACE_ROOT}" where)"
提取可复用的写作模式(钩子/节奏/对话/微兑现等),追加到 .webnovel/project_memory.json。
"$PROJECT_ROOT/.webnovel/state.json" 的 progress.current_chapter 作为当前章节号;缺失则用 source_chapter: null,不阻断。/webnovel-learn 后的经验文本;为空则取本次对话中用户认可的写法),归类 pattern_type(hook/pacing/dialogue/payoff/emotion/format/other,无法归类用 other)。project-memory add-pattern 写入,不得手写或拼接 JSON:python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" project-memory add-pattern \
--pattern-type "{pattern_type}" \
--description "{用户输入或提炼后的完整描述}" \
--category "{分类,可空}" \
--importance "{high|medium|low}"
patterns;pattern_type + description 完全相同则跳过并告知用户,部分相似不去重。Write 或手工编辑 .webnovel/project_memory.json。project_memory.json 存在且格式合法,新 pattern 已追加到 patterns 数组。status: success 和完整 learned 对象。| 故障 | 恢复方式 |
|---|---|
project_memory.json 不存在 | 脚本自动初始化 {"patterns": []} 后继续 |
| JSON 解析失败 | 不写入脏数据,告知用户文件损坏并建议手动修复 |
state.json 缺失无法取章节号 | 用 source_chapter: null,不阻断 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
webnovel, writing-patterns, project-memory, pattern-extraction, learning
npx claudepluginhub lingfengqaq/webnovel-writer --plugin webnovel-writer8 skills in this plugin
/webnovel-dashboard启动只读小说管理面板,查看项目状态、实体图谱与章节内容。/webnovel-doctor对网文项目做只读体检/诊断(/webnovel-doctor)——检查目录、文件、JSON、SQLite、RAG 配置、依赖与 Dashboard 构建产物是否完整。/webnovel-init深度初始化网文项目。通过分阶段交互收集完整创作信息,生成可直接进入规划与写作的项目骨架与约束文件。/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