一键导入
npm-package-starter
Create a new TypeScript npm package project, or assess an existing npm package project for alignment with this starter.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new TypeScript npm package project, or assess an existing npm package project for alignment with this starter.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | npm-package-starter |
| description | Create a new TypeScript npm package project, or assess an existing npm package project for alignment with this starter. |
| argument-hint | <create|scaffold|update|sync> [package-name] |
Use this skill for npm package starter work. The first argument should choose the workflow.
create or scaffold: create a new TypeScript npm package project.
Read scaffold.md.update or sync: assess an existing npm package project and prepare a sync plan.
Read sync.md.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.
The starter defines a ready-to-publish TypeScript package setup with build, test, lint, release, and CI wired together. The default setup is Bun and Biome. Node.js/pnpm, ESLint, and PostgreSQL-in-CI are supported variants with their own starter blocks, so existing projects can be assessed or updated without forcing a full migration to the default stack.
The block files live under blocks/ in this skill directory.
Treat them as the source of truth.
| Block | Purpose |
|---|---|
base/ | Shared package skeleton and baseline defaults |
runtime/bun/ | Bun runtime for development and testing |
runtime/pnpm/ | Node/pnpm runtime for development and testing |
linting/biome/ | Biome linting and formatting |
linting/eslint/ | ESLint linting and formatting |
ci/postgres/ | PostgreSQL service for GitHub Actions tests |
SKILL.md.BLOCK.md as local notes for that block.