What problem does it solve?
This Skill eliminates the complexity and manual effort involved in setting up new TypeScript libraries or standardizing existing ones. It provides a consistent, modern blueprint for tooling, build processes, testing, and code quality, ensuring your projects are always up-to-date and maintainable. Stop wrestling with configurations and start building.
Core Features & Use Cases
- New Project Setup: Guides you through creating a new TypeScript library from a battle-tested template, pre-configured with best practices.
- Existing Project Standardization: Automates the migration of older or inconsistent TypeScript projects to a unified, modern standard (tsup, Vitest, ESLint, Prettier, dual module format).
- Automated Quality Gates: Implements a single
pnpm validate command that formats, lints, tests, and builds your project, ensuring every commit meets high quality standards.
- Use Case: A development team needs to ensure all their TypeScript libraries follow the same build, test, and linting conventions. This Skill provides the definitive guide and tools to achieve this consistency across their entire codebase, saving countless hours in code reviews and debugging.
Quick Start
Scenario 1: Creating a New Project
Clone the template
git clone https://github.com/jordanburke/typescript-library-template.git my-library
cd my-library
Remove template's git history
rm -rf .git
git init
Install dependencies
pnpm install
Validate everything works
pnpm validate