book-generator/SKILL.md
Generate, package, and validate weighted outcome books for slot/casino game modes. Use when defining mode book schemas, producing `books_*.jsonl(.zst)` files, generating `lookUpTable_*.csv` weights, assembling `index.json`, or running publication-ready integrity checks across books/index/weights artifacts.
npx skillsauth add egorfedorov/slot-casino-game-developer-skills-for-stake-engine book-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to create deterministic book packages that backend and replay systems can consume without schema drift.
books_<mode>.jsonl (or .jsonl.zst) with stable id fields.id, events, payoutMultiplier).lookUpTable_<mode>_0.csv with 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.index.json.modes[] with name, cost, events, and weights.python3 scripts/check_books_package.py \
--index <path/to/index.json>
Optional quick pass:
python3 scripts/check_books_package.py \
--index <path/to/index.json> \
--max-rows 50000
Return:
Mode Map: mode names, costs, and referenced files.Integrity Findings: pass/fail by mode for books and lookup coverage.Patch Plan: exact generator/index files to adjust.Verification: commands and expected pass criteria.Residual Risks: unresolved blockers.references/workflow.md: step-by-step generation lifecycle.references/data-contract.md: required fields and file contracts.references/signoff-template.md: packaging and release checklist template.development
Integrate, validate, and harden WebAssembly modules in frontend/backend application pipelines. Use when wiring WASM build artifacts with JS/TS loaders, validating module/loader contracts, checking init symbols and runtime assumptions, triaging WASM loading failures, or preparing release sign-off for wasm bundle integrity.
testing
Design retention-focused UX systems for games with measurable engagement impact. Use when defining habit loops, friction reduction patterns, re-engagement flows, or validating UX retention hypotheses against explicit success metrics.
testing
Design, review, and validate slot game UI/UX flows for desktop and mobile play. Use when defining control hierarchy, spin-state UX, bet/balance presentation, modal interactions, responsive layouts, accessibility constraints, animation-feedback timing, or release readiness checks for slot user experience contracts.
content-media
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.