create-equivalence-class-table
Installation
SKILL.md
nanook.xhub: Create a decision table
Creates formatted Excel files with nanook.xhub decision tables for any test object (pages, APIs, forms). Includes colour formatting, formulas, correct marker logic and 100% coverage.
Technology
- exceljs (not xlsx) — needed for cell styling (fills, fonts) and formulas
- Nanook's
ImporterXlsxreads the generated file — so the structure must match the ParserDecision format exactly
Environment and bundled scripts
- Project with
@xhubio/nanook-table(3.1.0 or later, ESM; 3.0.1 works, but without the scripts in the package) andexceljsas a devDependency (npm install -D exceljs) —exceljsis not a dependency of Nanook. - Node.js 22.18 or later runs
.ts/.mtsdirectly; older 22.x need--experimental-strip-types,npx tsxworks everywhere. - Default locations:
scripts/create-<name>-table.ts,resources/<name>-tests.xlsx,fixtures/<name>/. If the user names other folders, use theirs. - Output language: write comments, error messages and expected results in the language of the user's request, not in the language of these instructions.