holocron-skill-util
Scaffolds a new utility package in utils/ of theholocron/holocron. The standalone theholocron/utils repo is archived.
Invoke as: /holocron-skill-util
Trigger: user asks to add a new utility package to the utils group.
What it produces
Section titled “What it produces”A new utils/<name>-utils/ directory with package.json, tsconfig.json, one-line tsdown.config.ts, vitest.config.ts, README.md, and a starter src/index.ts with tests beside the source (src/<module>.test.ts).
Key conventions
Section titled “Key conventions”- The
utils/folder is one version group: setversionto the group’s current version - MIT licence,
repository.directoryset,catalog:configs/catalog:dev dependencies - Run
pnpm install, add a codecov component under# utils, then add the docs page, theutils/index.mdxrow and the sidebar entry inastro.config.ts - Browser-API packages also add their path to the browser override in the root
eslint.config.ts - Reference implementations:
utils/array-utils(Node-only),utils/location-utils(browser)