npm-package-starter
Installation
SKILL.md
npm-package-starter
Use this skill for npm package starter work. The first argument should choose the workflow.
Contract
createorscaffold: create a new TypeScript npm package project. Read scaffold.md.updateorsync: assess an existing npm package project and prepare a sync plan. Read sync.md.- If the first argument is missing or ambiguous, stop and ask the user to choose one of those workflows. Do not infer the workflow from a package name or directory name.
Blocks
Blocks are reusable project slices used by both workflows.
Each block owns one concern, such as the package skeleton, runtime setup, or linting setup.
The scaffold workflow applies selected blocks to create a project; the sync workflow compares an existing project against the same blocks to describe drift.