ts-library

Scaffold TypeScript libraries with dual exports, strict config, and release workflows.

45|3|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/Charles5277/nuxt-supabase-starter --skill ts-library
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ts-library
Source: https://github.com/Charles5277/nuxt-supabase-starter/tree/main/.claude/skills/ts-library
Command: npx skills add https://github.com/Charles5277/nuxt-supabase-starter --skill ts-library

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

TypeScript library authors often struggle to bootstrap projects, manage exports, and maintain consistent tooling from setup through release.

Core Features & Use Cases

  • Project scaffolding for single-package or monorepos, including exports mappings and TS config presets
  • Build tooling guidance (tsdown/unbuild), testing setups, and release workflows
  • API design patterns and type-inference tricks distilled from popular libraries

Quick Start

Create a TypeScript library skeleton with exports, tooling, and release setup.

Frequently Asked Questions about ts-library

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

FAQPage Schema
How do I scaffold a TypeScript library project with dual-exports and strict configuration?

To scaffold a TypeScript library, this automates project setup by generating package exports mappings, strict TS config presets, and build tooling for single-package or monorepo projects to ensure consistent dual-exports outputs.

What is the best way to set up a TypeScript monorepo build and release workflow?

The best way to set up a TypeScript monorepo release workflow is using an automated approach that integrates build tooling, testing setups, and CI pipelines to enforce a repeatable publishing process across packages.

Does this TypeScript library tooling support both tsdown and unbuild?

Yes, this TypeScript library tooling supports build guidance for both tsdown and unbuild, allowing you to configure package outputs and dual-exports according to your specific project requirements.

Can I use these API design patterns and type-inference tricks in an existing library?

You can apply these API design patterns and type-inference tricks to existing libraries, as the guidance is distilled from popular packages to improve your TypeScript project's type safety and inference behavior.

When do I need dual-exports outputs in a TypeScript library?

You need dual-exports outputs in a TypeScript library when distributing packages that must provide both ESM and CJS formats, ensuring downstream consumers receive strict type definitions and compatible module resolutions.