Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
.claude/skills/gamedev-skills-visual-novel/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 45% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 37% | 0% |
| case-14 | ✓→✓ | = Same ✓ | 49% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 47% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 77% | 0% |
A playbook for visual novels — the branching script, the presentation (text box, characters, backgrounds), choices, and the quality-of-life systems players expect (save anywhere, backlog, skip, auto). This is a compositional skill: it drives a dialogue engine and a UI layer. It does not re-teach the dialogue engine or UI nodes; it defines the script model and the player conveniences that make a VN pleasant to read.
visual novel, dating sim, branching interactive fiction, story-choice game.
skip, auto-advance, save-anywhere).
When not to use: dialogue as one feature inside a larger game → rpg consuming dialogue-systems. Card/board play → other genres. For the branching-script engine itself, use dialogue-systems (Ink / Yarn Spinner).
Read a line → advance → (at a branch) make a choice → the story branches on flags/choices → read on → reach an ending. The "game" is the shape of the branching and whether choices feel consequential; everything else is presentation and convenience.
| Knob | Effect | Notes | |------|--------|-------| | Text speed / instant | reading comfort | Always allow instant + a skip. | | Auto-advance delay | hands-free reading | Tunable; pause on choices. | | Skip scope | re-reading | Skip read text only by default. | | Branch breadth/depth | replay value vs. cost | Branches multiply writing/art work. | | Flag-gated content | reactivity | Lines/choices that check past decisions. | | Route structure | story shape | Branch-and-merge vs. distinct routes (refs). | | Choice visibility | fairness | Show locked choices vs. hide them. | | Backlog length | convenience | Keep enough to re-read recent context. |
python# Pseudocode. Lines, choices, and jumps as data — usually authored in Ink/Yarn and stepped # through by that runtime. The engine asks the script for "the next thing to show". node = script.current() if node.kind == "line": show_text(node.speaker, node.text) # wait for advance input elif node.kind == "choice": options = [o for o in node.options if condition_met(o.condition, flags)] # gate by flags show_choices(options) # wait for selection elif node.kind == "set": flags[node.var] = eval_expr(node.expr, flags) script.advance(selected_option_or_none)
python# Pseudocode. Reveal characters over time; a click first completes the line, then advances. def show_text(speaker, text): name_label.text = speaker revealed = 0 while revealed < len(text): if advance_pressed(): # first press: reveal the whole line instantly revealed = len(text); break revealed += chars_per_second * dt body_label.text = text[:int(revealed)] push_to_backlog_when_complete(speaker, text) wait_for_advance() # second press: go to the next line
python# Pseudocode. Choices write flags; later conditions read them — that is "reactivity". def on_choice(option): if option.set: flags[option.set] = True # e.g. flags["helped_npc"] = True script.jump(option.target) # follow the branch # Elsewhere, a line/choice/ending checks the flag: if flags.get("helped_npc"): play_route("good_ending") else: play_route("neutral_ending")
position and all flags/variables (and seen-text data) so a load resumes the same line.
in the script and how it looks (sprites, transitions) in the engine layer.
baseline features, not extras.
visibly change later lines, choices, or endings.
variations over fully distinct trees (refs).
dialogue-systems (Ink / Yarn Spinner) — branching, conditions, variables, localization hooks.game-ui-ux for text-box/choice-menu layout, scaling, and safe areas; godot-ui-control for the concrete text box, choice menu, name plate, and backlog UI.save-systems for save-anywhere slots, seen-text/skip data, and settings.audio-design for per-scene music, SFX, and voice playback.Tween skill for sprite/background transitions; shader-programming for dissolves.prototype-fast to test the branch structure in plain text before adding art.save-anywhere + backlog/skip data, and the content/presentation split, read references/script-and-flow.md.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-14 | pass→pass | 10,387 | 4,038 | -61% | 1 | 1 | 0% | 1,511 | 2,247 | +49% | 0 | 0 | — |
case-01 | fail→pass | 30,515 | 36,572 | +20% | 1 | 1 | 0% | 4,818 | 6,969 | +45% | 0 | 0 | — |
case-02 | pass→pass | 22,316 | 16,863 | -24% | 1 | 1 | 0% | 3,142 | 4,611 | +47% | 0 | 0 | — |
case-03 | pass→pass | 12,335 | 10,866 | -12% | 1 | 1 | 0% | 1,993 | 3,537 | +77% | 0 | 0 | — |
case-04 | pass→pass | 13,546 | 10,518 | -22% | 1 | 1 | 0% | 2,181 | 3,338 | +53% | 0 | 0 | — |
case-05 | pass→pass | 18,775 | 10,814 | -42% | 1 | 1 | 0% | 2,894 | 3,435 | +19% | 0 | 0 | — |
case-06 | pass→pass | 20,703 | 19,850 | -4% | 1 | 1 | 0% | 3,351 | 4,782 | +43% | 0 | 0 | — |
case-07 | pass→pass | 21,440 | 16,193 | -24% | 1 | 1 | 0% | 3,098 | 4,220 | +36% | 0 | 0 | — |
case-08 | pass→pass | 14,138 | 9,500 | -33% | 1 | 1 | 0% | 2,239 | 3,150 | +41% | 0 | 0 | — |
case-09 | pass→pass | 11,091 | 5,846 | -47% | 1 | 1 | 0% | 1,816 | 2,534 | +40% | 0 | 0 | — |
case-10 | pass→pass | 12,716 | 9,005 | -29% | 1 | 1 | 0% | 1,963 | 3,090 | +57% | 0 | 0 | — |
case-11 | fail→pass | 16,549 | 14,201 | -14% | 1 | 1 | 0% | 2,846 | 3,888 | +37% | 0 | 0 | — |
case-12 | pass→pass | 13,675 | 8,885 | -35% | 1 | 1 | 0% | 2,119 | 2,969 | +40% | 0 | 0 | — |
case-13 | pass→pass | 14,679 | 16,219 | +10% | 1 | 1 | 0% | 2,791 | 4,859 | +74% | 0 | 0 | — |
case-15 | pass→pass | 4,896 | 2,262 | -54% | 1 | 1 | 0% | 845 | 2,014 | +138% | 0 | 0 | — |
case-16 | pass→pass | 18,492 | 11,888 | -36% | 1 | 1 | 0% | 3,182 | 3,721 | +17% | 0 | 0 | — |
case-17 | pass→pass | 16,816 | 15,463 | -8% | 1 | 1 | 0% | 2,353 | 4,016 | +71% | 0 | 0 | — |
case-18 | pass→pass | 15,540 | 9,734 | -37% | 1 | 1 | 0% | 2,439 | 3,064 | +26% | 0 | 0 | — |
case-19 | pass→pass | 17,151 | 11,737 | -32% | 1 | 1 | 0% | 2,795 | 3,711 | +33% | 0 | 0 | — |
case-20 | pass→pass | 26,011 | 28,207 | +8% | 1 | 1 | 0% | 4,777 | 6,894 | +44% | 0 | 0 | — |
case-21 | pass→pass | 6,614 | 9,138 | +38% | 1 | 1 | 0% | 1,176 | 3,448 | +193% | 0 | 0 | — |
case-22 | pass→pass | 17,617 | 14,284 | -19% | 1 | 1 | 0% | 2,801 | 4,636 | +66% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +9 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.