book-generator

Generate deterministic mode books, lookup tables, and index metadata for slot modes.

39|12|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine --skill book-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: book-generator
Source: https://github.com/egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine/tree/main/book-generator
Command: npx skills add https://github.com/egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine --skill book-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires zstandard, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a deterministic workflow to generate, package, and validate weighted outcome books for slot/casino game modes, enabling release-ready artifacts with consistent IDs and integrity checks.

Core Features & Use Cases

  • Generate books_<mode>.jsonl(.zst) files with stable ids and required fields.
  • Build lookUpTable_<mode>_0.csv for weights, and assemble index.json to represent mode configurations.
  • Run end-to-end integrity checks across books, weights, and index to ensure schema, coverage, and consistency before deployment.

Quick Start

Use this skill to generate a complete mode book package from a defined mode contract, run validation, and prepare release artifacts.

Frequently Asked Questions about book-generator

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

FAQPage Schema
How do I generate weighted outcome books for slot game modes deterministically?

You generate weighted outcome books by creating JSONL files with stable IDs, building CSV lookup tables for weights, and assembling an index.json file to represent mode configurations.

What validation checks are needed for casino mode books before release?

Casino mode book validation requires end-to-end integrity checks across books, weights, and index files to ensure schema compliance, coverage, ID uniqueness, required fields, and cross-file consistency before deployment.

How do I package release-ready slot game artifacts with consistent IDs?

Packaging release-ready slot game artifacts involves generating deterministic mode books, compressing them into Zstandard archives, and running validation checks to ensure cross-file consistency and ID uniqueness.

Does zstandard work with JSONL book files for slot game mode packaging?

Zstandard is used to compress JSONL book files into .zst archives, enabling deterministic packaging and release-ready validation of weighted outcome books for slot and casino game modes.

Why are cross-file consistency checks important for casino mode index metadata?

Cross-file consistency checks for casino mode index metadata prevent release blockers by verifying schema compliance, coverage, ID uniqueness, and required fields across generated books, CSV weights, and index files.