generate-test-data

Installation
SKILL.md

nanook.xhub: Generate test data from an existing table

Takes a workbook with Nanook decision tables that already exists, hand-made, from an older Nanook version or from the create-equivalence-class-table skill, and turns it into one JSON fixture per test case that tests can read. Nanook does not throw on a failed generator or an unresolved reference, it logs and carries on, so every step here ends with a check.

Environment and bundled scripts

  • Project with @xhubio/nanook-table (3.1.0 or later, ESM). No exceljs needed.
  • Node.js 22.18 or later runs .ts/.mts directly; older 22.x need --experimental-strip-types, npx tsx works everywhere.
  • Default locations: resources/<name>-tests.xlsx, fixtures/<name>/, own generators in scripts/generators/. If the user names other folders, use theirs.
  • Output language: write comments, messages and test names in the language of the user's request, not in the language of these instructions.
Installs
1
GitHub Stars
19
First Seen
Oct 4, 2026