game-template

Community

Design and update game UI templates in Starworld.

AuthorTsukimiRini
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the problem of building and maintaining Starworld game interfaces by providing a reliable workflow to create and edit InterfaceTemplate definitions, including HTML layout, AI response extraction, variable rendering, triggers, and context assembly.

Core Features & Use Cases

  • InterfaceTemplate creation & modification: Define or update the full template structure (HTML Template, nested extraction rules, variable replacement rules, triggers, and context structure) for new game UI pages.
  • AI response parsing via nested extraction: Use regex-based nested capture layers to turn unstructured AI output into structured variables.
  • Rendering with variable replacement rules: Map extracted variables into HTML via append/replace rules, including media variables that must end with _asset.
  • Trigger configuration: Bind user interactions or on-load events to variable updates and AI calls, optionally gated by execution conditions.
  • Conversion workflow (TOML ↔ JSON): Edit TOML as the source of truth and generate JSON conversion artifacts using the provided convert.py script.

Quick Start

Use the game-template skill to create a new game interface template by preparing template.toml, response_format.toml, and trigger.toml under an example directory, then run the converter to produce template.json, response_format.json, and trigger.json.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: game-template
Download link: https://github.com/TsukimiRini/moyo-skills/archive/main.zip#game-template

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.