bootstrap-ts-oss
Installation
SKILL.md
Bootstrap TypeScript Open-Source Package
Scaffold a production-ready TypeScript npm package using Mike's stack: Bun runtime, tsup bundler, Biome linter/formatter, Husky git hooks, and GitHub Actions for CI + npm publishing with provenance.
Philosophy
- Anti-fragile: Always run
bun initfirst so scaffolding stays current, then overlay configs on top. - Dual format: Every package ships both ESM and CJS with full TypeScript declarations.
- Strict by default: Strict TypeScript, Biome linting, and pre-commit hooks enforcing lint + test.
- One-command ship: Tag-triggered publishing via GitHub Actions — no manual npm publish.
- AGENTS.md: Every repo gets an AGENTS.md so AI tools understand the project immediately.
Workflow
Step 0: Confirm names
Before starting, if the user hasn't already specified: