_typescript

Enforce TypeScript type safety, naming conventions, and idiomatic patterns.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/drimchansky/agents-kit --skill typescript-drimchansky
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: _typescript
Source: https://github.com/drimchansky/agents-kit/tree/main/skills/_typescript
Command: npx skills add https://github.com/drimchansky/agents-kit --skill typescript-drimchansky

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses common challenges in TypeScript development by enforcing best practices for naming conventions, type definitions, and idiomatic coding patterns, leading to more robust and maintainable code.

Core Features & Use Cases

  • Consistent Naming: Enforces clear and predictable naming conventions for variables, functions, classes, and constants.
  • Precise Typing: Guides developers to define explicit types, avoid any, and leverage advanced type features like union types and generics.
  • Idiomatic Patterns: Promotes modern TypeScript patterns such as satisfies, type guards, and utility types for cleaner code.
  • Use Case: When writing a new TypeScript module, apply this Skill's guidelines to ensure all exported types and functions adhere to established conventions and are strongly typed.

Quick Start

Apply the _typescript skill to review the naming conventions for a new variable.

Frequently Asked Questions about _typescript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce TypeScript naming conventions and type safety in my code?

To enforce TypeScript naming conventions and type safety, apply guidelines that mandate specific casing rules, explicit type definitions, and idiomatic patterns like generics and type guards for robust code maintainability.

What are the best practices for avoiding any and defining precise types in TypeScript?

Best practices for avoiding any in TypeScript involve leveraging advanced type features like union types, generics, and utility types to define explicit, strongly typed structures for all exported functions and variables.

How do I use modern TypeScript patterns like satisfies and type guards when writing modules?

Using modern TypeScript patterns like satisfies and type guards involves applying idiomatic coding rules during module development to ensure predictable naming, precise typing, and cleaner code structure.

Can I use these TypeScript best practices for reviewing existing JavaScript programming code?

Yes, you can use these TypeScript best practices for reviewing existing JavaScript programming code, as the guidelines apply to all TypeScript development scenarios requiring code quality, maintainability, and type safety improvements.

Does writing idiomatic TypeScript code require advanced knowledge of generics and utility types?

Writing idiomatic TypeScript code requires an intermediate level of implementation depth, meaning developers should understand advanced type features like generics, union types, and utility types to fully leverage the guidelines.