typescript-javascript

Enforce TypeScript and JavaScript standards for typing, modules, testing, and security.

10|2|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/KiranEswaran/engineering-skills --skill typescript-javascript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-javascript
Source: https://github.com/KiranEswaran/engineering-skills/tree/main/typescript-javascript
Command: npx skills add https://github.com/KiranEswaran/engineering-skills --skill typescript-javascript

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

TypeScript and JavaScript teams often struggle with inconsistent patterns, configuration drift, and unsafe practices. This Skill provides a comprehensive, opinionated guide to standardize typing, module usage, testing, and security across modern web and Node.js projects.

Core Features & Use Cases

  • Enforces strict TypeScript configuration and type-safety patterns (e.g., noImplicitAny, strictNullChecks, discriminated unions)
  • Promotes modern JavaScript/TypeScript patterns: ES Modules, async/await, and robust testing with Jest/Vitest
  • Provides practical guidance for code reviews, onboarding, and architectural decision-making across .ts/.tsx/.js/.mjs files

Quick Start

Configure a project to follow TypeScript/JavaScript standards by enabling strict tsconfig options, ES module usage, and a testing setup with Jest or Vitest.

Frequently Asked Questions about typescript-javascript

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

FAQPage Schema
How do I enforce strict TypeScript configuration in my project?

To enforce strict TypeScript configuration, enable options like strict, noImplicitAny, and strictNullChecks in your tsconfig.json. This Skill establishes type-safety standards across .ts and .tsx files, preventing unsafe patterns and configuration drift in modern web and Node.js projects.

What's the best way to standardize ES Modules and async/await patterns across JavaScript files?

The best way to standardize ES Modules and async/await patterns is to apply consistent development standards across .js and .mjs files. This Skill provides opinionated guidance for module usage and asynchronous code to improve consistency and code quality.

How do I set up Jest or Vitest testing standards for a TypeScript project?

To set up Jest or Vitest testing standards, apply best practices for robust test configurations within your TypeScript or JavaScript project. This Skill enforces standardized testing patterns to ensure code quality and consistency across your web and Node.js applications.

Can I use this TypeScript and JavaScript standards guide for Node.js backend projects?

Yes, you can use this guide for Node.js backend projects. It covers modern web and Node.js environments, applying development standards to .ts, .tsx, .js, and .mjs files, along with package.json and common tooling configurations.

Why should I enable strictNullChecks and noImplicitAny in my tsconfig.json?

You should enable strictNullChecks and noImplicitAny to enforce strict type-safety and prevent runtime errors from undefined values. This Skill explains how these TypeScript configuration options standardize typing, eliminate unsafe practices, and improve overall code quality.

What are the limitations of applying opinionated TypeScript patterns to existing JavaScript codebases?

Applying opinionated TypeScript patterns requires resolving existing type errors and configuration drift, which can be challenging for legacy JavaScript codebases. This Skill provides guidance for code reviews and architectural decisions to help manage the transition to strict type-safety.