book-generator
Installation
SKILL.md
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.