YarnSpinnerTool/YarnSpinner ? reverse-engineered prompt

Reverse engineered prompt

Build me a friendly dialogue system for games called Yarn Spinner, focused on the core compiler and runtime pieces rather than a specific engine.

I want writers to be able to write conversations in a simple screenplay style, then have the app compile that into something a game can load and run. During a conversation it should be able to send back dialogue lines, choice options for the player, and commands that the game can react to. Make it feel solid for real game use, with clear error handling, tests, and good documentation so people can understand how to use it.

Please keep it engine agnostic, so it can sit underneath different game projects, and make sure the solution is structured like a real production library. If anything important is unclear, look up the current docs online first and follow the project’s existing style.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab