What problem does it solve?
Setting up a consistent and efficient TypeScript development environment across multiple projects can be time-consuming and lead to fragmentation. This Skill provides a standardized default TypeScript stack, leveraging pnpm workspaces and Turborepo for task orchestration, strict TypeScript configurations, and developer experience helpers, automating your project setup.
Core Features & Use Cases
- Workspace & Package Manager: Standardizes on pnpm (9.x+) with
pnpm-workspace.yaml for monorepo management.
- Turbo as the Task Graph: Integrates Turborepo for efficient task orchestration, caching, and pipeline management across packages.
- TS Baseline: Defines strict TypeScript configuration (
strict: true, ESM, Node 18+) and project reference setup for multi-package builds.
- Standard Scripts: Recommends consistent
typecheck, lint, build, and test scripts for all packages.
- DX & Code Hygiene: Tips for using
tsx, validating inputs with zod, preferring unknown over any, and robust error handling.
- Lint / Format: Specifies ESLint with
@typescript-eslint/parser and recommended configs, along with Prettier for formatting.
- Maintenance Extras: Suggests tools like Knip/depcheck for unused code and Changesets for package versioning.
Quick Start
Set up a new TypeScript project using the default Lambda stack with pnpm workspaces and Turborepo.