TypeScript
Writes, configures, and refactors TypeScript code following modern best practices and tooling conventions.
Provides comprehensive guidance for writing clean, consistent, and type-safe TypeScript code. This skill enforces modern best practices, such as preferring `type` over `interface`, avoiding the `any` type, and maintaining alphabetical order for properties and parameters to improve readability. It also standardizes project setup by integrating BiomeJS for linting and formatting and recommends `dayjs` for reliable date and time calculations, making it ideal for initializing new projects or refactoring existing ones.
Key Features
0158 GitHub stars
02Utilizes the `dayjs` library for reliable date and time calculations.
03Promotes code readability through consistent alphabetical ordering of properties, parameters, and type fields.
04Standardizes type declarations by preferring `type` aliases over `interface`.
05Integrates and configures BiomeJS for modern code linting and formatting.
06Enforces strict type safety by disallowing the `any` type.
Use Cases
01Applying modern best practices for writing clean, consistent, and maintainable TypeScript.
02Initializing a new project with a robust TypeScript and BiomeJS configuration.
03Refactoring existing code to improve type safety and fix common type errors.