Visual Novel
/visual-novel
Build a visual novel: a branching script, character and background display, a text box with choices, save/load, backlog, and skip/auto.
- 许可证
- Apache-2.0
- 出品
- GameSkill 出品
所属合集
Awesome Gamedev Agent Skills
77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.
我们测过
在 Godot 4.7.2 上通过 33/33 项检查(2026-10-30):能触发、有可运行示例、有截图和自检清单、单一职责、中英文文档齐全。触发检查是把提示词和 skill 描述做匹配,不是真实 agent 运行。
测试报告这个 skill 做什么
什么时候触发
Build a visual novel: a branching script, character and background display, a text box with choices, save/load, backlog, and skip/auto. Use for a VN, dating sim, or branching story game.
GameSkill 测过的版本
GameSkill 调优版:skill 文件取自提交 19d93f97c9c1,按我们的 skill 流程加上可运行示例、测试报告、自检清单和中文指南。
协议:基于 gamedev-skills/awesome-gamedev-agent-skills(作者 gamedev-skills),协议 Apache-2.0。ZIP 保留协议文件(LICENSE, NOTICE),CHANGES.md 列出了 GameSkill 加的所有文件。

自检清单
- 打字机用可见字符数逐字显示,不要切字符串,否则标签被切断、换行会跳 / Reveal with visible-character count, not string slicing.
- 存档要存脚本位置和全部 flag,读档回到同一行 / Save the exact script position and all flags; load resumes the same line.
- 跳过默认只快进已读文本,未读文本停下 / Skip fast-forwards read text only and stops at unseen text.
- 选项要写 flag,后面的台词、选项或结局要能读到它 / Choices set flags that later lines, choices, or endings read.
- 内容放脚本里,立绘和转场放引擎层,不要混在一起 / Keep content in the script and presentation in the engine layer.
中文指南
这个 skill 做什么
这个 skill 讲视觉小说的类型层:分支脚本的数据模型、路线和 flag、文本框与选项的呈现,以及存档、回滚、已读跳过、自动前进和 backlog 这些阅读便利功能。它不重讲对话引擎和 UI 节点,而是组合 dialogue-systems、game-ui-ux、save-systems 等 skill。
什么时候用
- 游戏主要是读分支文本,带立绘和背景:视觉小说、恋爱模拟、分支互动小说
- 设计选项和路线结构、剧情 flag,或让后面的台词和选项读取之前的决定
- 要做存档、回滚、backlog、跳过已读、自动前进这些阅读便利功能
怎么装
下载本页的 ZIP,把 visual-novel/ 整个文件夹放进 agent 的 skills 文件夹:Claude Code 用 .claude/skills/,Codex、Gemini CLI、OpenCode 用 .agents/skills/,Cursor 用 .cursor/skills/,Copilot 用 .github/skills/,Windsurf 用 .windsurf/skills/,然后重启 agent。也可以直接对 agent 说:Install the skill from https://gameskill.dev/skills/visual-novel/install.md
最小示例
gameskill/examples/ 是一个 Godot 视觉小说小例子:vn.gd 是脚本模型和阅读状态,main.gd 和 main.tscn 是文本框、选项和 backlog 的界面,tests/run_tests.gd 是检查,tests/screenshot.gd 渲染截图。
我们怎么测的
总分 33/33。在 Godot 4.7.2 无头模式下跑 21 项检查:脚本能解析,开局停在第一行;打字机效果先只显示一部分,按键后整行显示完;一行显示完才进 backlog,已读文本被记录;推进一行,行没显示完时先补全再推进;选项列出可选分支,选中后设置 flag 并跳到目标行;回滚恢复上一行的位置和状态,没有可回滚内容时不出错;存档再读档恢复脚本位置和变量;跳过只快进已读文本,遇到未读文本停下;backlog 有长度上限;被 flag 锁住的选项不出现;flag 分支能走到对应内容;最后能走到结局。结果在 gameskill/test-report.json。
和站内其他 skill 的区别
站内的 dialogue-systems 是对话引擎,管台词、分支和条件;这个 skill 是视觉小说的类型层,管脚本格式、路线、回滚、跳过已读和 backlog。引擎本身不重讲,这里只定义脚本模型和阅读便利功能。
搭配
dialogue-systems:分支脚本引擎,负责台词、条件和变量save-systems:存档槽、已读数据和设置ccgs-localize:文本放数据里,留好本地化路径
安装
告诉你的 AI
Install the skill from https://gameskill.dev/skills/visual-novel/install.md
GameSkill 测过的版本
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/visual-novel.zip -o /tmp/gameskill-visual-novel.zip
unzip -oq /tmp/gameskill-visual-novel.zip -d .claude/skills
rm /tmp/gameskill-visual-novel.zip包含内容
- Worked steps: Script as data the engine walks; Typewriter reveal + advance; Choice sets a flag that branches later content
- A pitfalls section with the mistakes to avoid
- Bundled 1 reference doc the agent reads when needed
适合
- A VN, dating sim, or branching story game
试试这条提示词
Build a visual novel with branching choices, a backlog, save and load, and skip/auto.关于这个 Skill
Build a visual novel: a branching script, character and background display, a text box with choices, save/load, backlog, and skip/auto. Use for a VN, dating sim, or branching story game.
From the visual-novel SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.
What's inside
- Core loop
- Must-have systems
- Design knobs
- Script as data the engine walks
- Typewriter reveal + advance (skippable)
- Choice sets a flag that branches later content
- Composition (build it from these skills)
常见问题
游戏打磨流程 Game Polish Workflow
让 AI 把游戏真正改好的可复用流程:10 步打磨循环、中英双语提示词、AI 做游戏常见问题排障清单,以及试玩和发布检查表。
- 10 步打磨循环,每步有完成标准
- 14 条中文 + 14 条英文提示词
基于 gamedev-skills/awesome-gamedev-agent-skills (作者 gamedev-skills,协议 Apache-2.0)。ZIP 里保留原作者的 LICENSE 和 NOTICE,ATTRIBUTION.md 和 CHANGES.md 写明来源提交和 GameSkill 加的内容。
Awesome Gamedev Agent Skills 中的更多 Skills
查看全部 48 个2D Platformer
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards.
Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
相似 skills
Novel to Game
Agent skills for source-grounded adaptation of novels into games: cited design docs, target-runtime builds and evidence-based QA.
Novel to Game: Art Direction
Direct game art and creative vision.
Novel to Game: Book Analysis
Deconstruct a novel for game adaptation.
Novel to Game: Concept
Design game concepts from a novel.