book-generator
Book Generator
Use this skill to create deterministic book packages that backend and replay systems can consume without schema drift.
Workflow
- Define mode contract first.
- Specify each mode name, mode cost, event file path, and weight table path.
- Lock event schema and ID strategy before high-volume generation.
- Generate books deterministically.
- Produce
books_<mode>.jsonl(or.jsonl.zst) with stableidfields. - Ensure each record has required fields (
id,events,payoutMultiplier). - Keep generator seeds/config versions in run logs.
21→ 3. Generate weight lookups.
22→ - Build
lookUpTable_<mode>_0.csvwith simulation ID, weight, and payout columns. 23→ - Column structure:id(simulation number),weight(probability),payoutMultiplier. 24→ - Keep weights positive and aligned to existing book IDs. 25→ - Normalize total weight policy per product requirements.
More from egorfedorov/slot-casino-game-developer-skills-for-stake-engine
stake-game-developer
End-to-end Stake game development workflow for math, RGS contract, frontend playback, and compliance gating. Use when building or updating Stake games, defining game modes and RTP targets, validating generated books/index metadata, validating event streams, integrating frontend event playback, implementing RGS communication and replay mode, or preparing publication checks including social-language and jurisdiction requirements.
7css-motion-designer
Design CSS animation systems and motion recipes for casino game UI. Use when building round transitions, idle loops, inter-round motion, background patterns, or CSS-only animation specs.
5auto-balancer
Automatically tune game/system parameters toward target metrics under explicit constraints. Use when iterating configuration weights, payout tables, trigger rates, or other balancing levers; running balance loops against simulation outputs; validating tolerance gates; and preparing pass/fail balancing sign-off artifacts.
4turbo-spin-designer
Define turbo/quick spin behavior, timings, and UI rules for slot games. Invoke when implementing fast spin modes, stop/skip behavior, or spin-speed UX standards.
4rtp-optimizer
Optimize and validate slot/casino RTP against explicit targets using simulation evidence. Use when defining RTP targets per mode, tuning paytables and feature frequencies, validating convergence from simulation runs, comparing theoretical vs empirical RTP, or preparing release sign-off with pass/fail thresholds.
4parallel-computing
Design, optimize, and validate parallel execution across CPU threads/workers with measurable scaling evidence. Use when selecting parallelization strategy, diagnosing contention and load imbalance, evaluating speedup/efficiency curves, tuning task granularity, or triaging baseline-vs-current parallel performance regressions.
4