Skip to content
Back to skills

Typescript

ASecurity

TypeScript best practices for clean, maintainable, and optimized code. MUST USE for writing or working with TypeScript code (.ts, .tsx, .mts files), including editing, reviewing or refactoring.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 22, 2026
developmenttypescriptrefactoring

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add NazmusSayad/skills --skill typescript --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Typescript?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Typescript
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nazmussayad-typescript/badge)](https://www.skillsdirectory.com/skills/nazmussayad-typescript)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: typescript
description: TypeScript best practices for clean, maintainable, and optimized code. MUST USE for writing or working with TypeScript code (.ts, .tsx, .mts files), including editing, reviewing or refactoring.
---

## Types

Avoid explicit type annotations when TypeScript can infer.
Do not use `any`, casts, or explicit generic type arguments when inference is sufficient.

## Variables

Use consistent, descriptive naming; avoid obscure abbreviations.
Do not use object or array destructuring in declarations, assignments, parameters, or loops; use direct property or indexed access instead, including for component props and tuple returns.

## Asynchronous

Prefer `async`/`await` over callbacks or `.then()` chains.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.