game-script-builder

Generate runnable ChoiceScript games with branching scenes and stat systems.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/mohaktnbt/text-game --skill game-script-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: game-script-builder
Source: https://github.com/mohaktnbt/text-game/tree/main
Command: npx skills add https://github.com/mohaktnbt/text-game --skill game-script-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps authors convert game concepts into fully playable ChoiceScript files, automating the bottleneck of turning ideas into runnable code.

Core Features & Use Cases

  • End-to-end IF script creation from concept to playable scenes in ChoiceScript.
  • Frontmatter-driven startup with metadata, scene_list, and achievements.
  • Architectural patterns like hub scenes, opposed_pair, and route-based endings to enable scalable, replayable narratives.
  • World-building pipeline including skill checks, relationship meters, and narrative branching.
  • Use Case: You provide a concept and I output a ready-to-run ChoiceScript project with multiple endings.

Quick Start

Describe your interactive fiction concept and I will generate a complete ChoiceScript game script.

Frequently Asked Questions about game-script-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn a game concept into a playable ChoiceScript file?

To turn a game concept into a playable ChoiceScript file, you provide a high-level idea and the system generates a complete project with 3-5 scenes, branching narratives, and multiple endings.

Can ChoiceScript handle branching narratives with stat systems and multiple endings?

ChoiceScript handles branching narratives by using fairmath-based axes for stat systems, hub patterns with disable_reuse, and route-based ending logic to create scalable and replayable interactive fiction.

How do I set up startup metadata and scene_list in ChoiceScript?

Setting up startup metadata and scene_list in ChoiceScript involves configuring frontmatter-driven startup files that define achievements, game metadata, and scene routing for your interactive fiction project.

What is the best way to structure hub scenes and opposed_pair variables in interactive fiction?

The best way to structure hub scenes and opposed_pair variables in interactive fiction is applying architectural patterns like hub scenes with disable_reuse and fairmath-based axes to enable scalable, replayable narratives.

How to generate ChoiceScript achievements and fairmath-based axes from an idea?

To generate ChoiceScript achievements and fairmath-based axes from an idea, the system applies an end-to-end world-building pipeline that outputs frontmatter validation, stat systems, and fully terminated endings.