bootstrap-ts-oss

Scaffold a TypeScript npm package with Bun, tsup, Biome, and Husky.

2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/miketromba/skills --skill bootstrap-ts-oss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bootstrap-ts-oss
Source: https://github.com/miketromba/skills/tree/main/skills/bootstrap-ts-oss
Command: npx skills add https://github.com/miketromba/skills --skill bootstrap-ts-oss

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the setup of a new TypeScript open-source npm package, ensuring it's production-ready from the start with modern tooling and best practices.

Core Features & Use Cases

  • Scaffolding: Initializes a new project with Bun, tsup, Biome, and Husky.
  • Dual Format Output: Builds both ESM and CJS formats with TypeScript declarations.
  • CI/CD: Sets up GitHub Actions for automated testing and publishing.
  • Use Case: When you need to quickly create a new, high-quality, and maintainable TypeScript library for public consumption.

Quick Start

Use the bootstrap-ts-oss skill to scaffold a new TypeScript npm package named 'my-awesome-lib'.

Frequently Asked Questions about bootstrap-ts-oss

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a production-ready TypeScript npm package?

Scaffolding a production-ready TypeScript npm package is automated by initializing a new project with Bun, tsup, Biome, and Husky, while configuring GitHub Actions for continuous integration and publishing.

Does this scaffolding setup support dual ESM and CJS publishing?

Yes, dual ESM and CJS publishing is fully supported. The build process uses tsup to generate both module formats alongside TypeScript declarations, ensuring broad compatibility for open-source libraries.

What is the best way to automate CI/CD pipelines for a new open-source TypeScript library?

Automating CI/CD pipelines for a new open-source TypeScript library is achieved by setting up GitHub Actions for automated testing and dual-format npm publishing during the initial project scaffolding phase.

Can I use Bun and Biome when bootstrapping a new TypeScript library?

Yes, you can use Bun and Biome. The project scaffolding specifically initializes your TypeScript package using Bun as the runtime and Biome for formatting and linting, alongside Husky for git hooks.

Why set up Husky and tsup when initializing an npm package?

Setting up Husky enforces pre-commit code quality checks, while tsup handles the dual ESM and CJS bundling with TypeScript declarations, ensuring your npm package is maintainable and production-ready from the start.