Building a TypeScript library that other developers can use is a rewarding challenge. This skill gives you step-by-step guidance for setting up your project, configuring package.json exports, and choosing the right build tools like tsdown or unbuild. You will learn how to design type-safe APIs and write advanced TypeScript types that make your library easy to use.
You also get help with testing your code using vitest and setting up a smooth release workflow. Whether you are starting fresh or working in a monorepo, these patterns come from real-world libraries like unocss, zod, and vitest. Follow the quick reference to load the right files for your task.
Global
mkdir -p ~/.claude/skills/ts-libraryProject
mkdir -p .claude/skills/ts-libraryTypescript Advanced Typeswshobson/agents
Master advanced TypeScript types for safer and more flexible code
Python Executorqu-skills/skills
Execute Python code safely with 100+ libraries for data, scraping, and media
Golang Error Handlingsamber/cc-skills-golang
Learn to create, wrap, inspect, and log Go errors like a professional engineer
Golang Performancesamber/cc-skills-golang
Speed up your Go code using proven patterns for allocation reduction and CPU efficiency
Golang Design Patternssamber/cc-skills-golang
Idiomatic Go patterns for clean constructors error handling and graceful shutdown
Golang Concurrencysamber/cc-skills-golang
Write safe Go concurrency with goroutines, channels, and sync primitives
Golang Data Structuressamber/cc-skills-golang
Optimize Go data structures for speed and memory efficiency with internals knowledge
Golang Contextsamber/cc-skills-golang
Master Go context for cancellations, timeouts, and request values