ts-library

Configure TypeScript library exports for dual CJS/ESM builds.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/narduk-enterprises/myboat --skill ts-library-narduk-enterprises
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ts-library
Source: https://github.com/narduk-enterprises/myboat/tree/main/.github/skills/ts-library
Command: npx skills add https://github.com/narduk-enterprises/myboat --skill ts-library-narduk-enterprises

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TypeScript library development often requires coordinating setup, exports configuration, tooling, testing, and publishing; this Skill consolidates those practices into a repeatable workflow.

Core Features & Use Cases

  • Standardized project scaffolding for TypeScript libraries and monorepos
  • Guided package.json exports setup for dual CJS/ESM and consistent publishing
  • Build and release tooling guidance with tsdown, unbuild, tests, and CI workflows

Quick Start

Initialize a new library project by installing the recommended tooling and running the standard build and test commands to verify the setup.

Frequently Asked Questions about ts-library

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

FAQPage Schema
How do I configure package.json exports for a TypeScript library supporting dual CJS and ESM?

Configuring dual CJS/ESM package exports requires defining conditional export paths in package.json. This Skill guides you through setting up consistent publishing standards for TypeScript libraries to ensure correct module resolution across environments.

What's the best way to scaffold a new TypeScript library or monorepo project?

Scaffolding a TypeScript library project requires coordinating standard tooling and directory structure. This Skill provides standardized project scaffolding for single packages and monorepos, streamlining the initial setup for library development.

How does tsdown compare to unbuild for TypeScript library build tooling?

Both tsdown and unbuild serve as build tooling for TypeScript libraries. This Skill provides guidance on configuring either tool, allowing you to compare approaches and select the appropriate build workflow for your project's API design and type inference needs.

How do I set up CI workflows and testing for publishing a TypeScript library?

Setting up CI workflows for a TypeScript library involves integrating testing and release tooling. This Skill covers configuring test suites and publishing workflows to ensure your library builds correctly and deploys consistently across CI environments.

Does this Skill require a specific SKILL.md format for TypeScript library setup?

Using this Skill requires YAML frontmatter with a name and description in SKILL.md. The root SKILL.md entry point must contain operational instructions to initiate the TypeScript library development workflow.