Browse / Developer Tools / TypeScript

TypeScript

Writes, configures, and refactors TypeScript code following modern best practices and tooling conventions.

SkillDeveloper ToolsPatterns ArchitectureLanguage JavascriptCode QualityDocs StandardsConfig

The source repository doesn't declare a license. Check its terms before reusing the code.

Key features

  • Utilizes the `dayjs` library for reliable date and time calculations.
  • Promotes code readability through consistent alphabetical ordering of properties, parameters, and type fields.
  • Standardizes type declarations by preferring `type` aliases over `interface`.
  • Integrates and configures BiomeJS for modern code linting and formatting.
  • Enforces strict type safety by disallowing the `any` type.

Use cases

  • Applying modern best practices for writing clean, consistent, and maintainable TypeScript.
  • Initializing a new project with a robust TypeScript and BiomeJS configuration.
  • Refactoring existing code to improve type safety and fix common type errors.

FAQ

When should I use this skill?

Use this skill when you ask Claude to perform tasks like 'configure TypeScript', 'fix type errors', 'set up BiomeJS', or write code in `.ts` and `.tsx` files. It automatically activates when discussing TypeScript best practices or tooling.

What does the TypeScript Claude Code Skill do?

This skill instructs Claude to write, configure, and refactor TypeScript code using a strict set of modern best practices. It focuses on creating clean, type-safe, and highly readable code by default.

How does this skill improve my workflow?

It automates code quality and consistency. By enforcing rules like strict type safety, alphabetical ordering, and modern tooling with BiomeJS, it saves you time on manual configuration and refactoring, letting you focus on logic.

What key capabilities does it provide?

It enforces strict type safety (no `any` type), integrates and configures BiomeJS for linting and formatting, standardizes on `type` aliases over `interface`, uses `dayjs` for date handling, and promotes readability with alphabetical ordering.