lingfengqaq/webnovel-writer/webnovel-learn
Claude Code and agent skill by lingfengqaq/webnovel-writer
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
从当前会话提取成功写作模式并写入 project_memory.json
Install
npx vskill@latest install lingfengqaq/webnovel-writer/webnovel-learnSKILL.md
The same SKILL.md was published earlier as lingfengqaq/webnovel-writer/webnovel-learn.
/webnovel-learn
Project Root Guard(必须先确认)
- 必须在项目根目录执行(需存在
.webnovel/state.json) - 用统一入口解析项目根,避免写错目录:
目标
提取可复用的写作模式(钩子/节奏/对话/微兑现等),追加到 .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:
约束
- 不删除旧记录,仅追加。
- 追加前扫描已有
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,不阻断 |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwebnovel-writer/skills/webnovel-learn/SKILL.md
Popularity
- Repository stars
- 7,861
- Repository forks
- 1,270
- 7-day trend score
- 42
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lingfengqaq/webnovel-writer/webnovel-learn)