← Files Vocabloot Deck KitARCHIVED FILE
skills/deck-pack/SKILL.md
1.49 KB · Oct 2, 2026 · 00:34 UTC
--- name: deck-pack description: Pack an approved Vocabloot deck folder into a .vlbackup with the app's own codec; refuses with the card named while any check fails. Use when a checked deck should become the file the app opens, or when the creator says /deck-pack, export the deck, or make the file. license: MIT compatibility: Requires Node 22 and the kit's scripts (npm install in the kit folder); network access to vocabloot.com for the language registry, with an offline snapshot fallback. --- # /deck-pack **Show your work.** This is step 5 of 6. Say so before the command, then post the result line (cards, stickers, size, SHA-256) and offer the file itself where the host can attach or download it, not only its path. Commands below run from the kit's root, the folder two levels above this file (`<kit>/skills/<this skill>/SKILL.md`); from anywhere else, prefix `scripts/` with that path. If a script answers that dependencies are not installed, run the `npm install` it prints. ```bash node scripts/pack.mjs <deck-folder> ``` The packer runs every check first and refuses with the reasons if any fail; there is no override. On success it prints the card and sticker counts, the file's SHA-256 and the path (`<deck-folder>/<deckId>.vlbackup`). The packer is the Vocabloot app's own codec compiled to JavaScript (`packer/`, built from the app's `shared/format` module); the file it writes is the same format the app exports. Tell the creator the file is ready and hand over to `/deck-publish` for how to open it.
SHA-256: 42c44966e7f6b9e6d1c9c15b90842b4b75d6686db6cb8987c6d4a7210d1b8ebf