typescript-coding-standards

Enforce TypeScript coding standards with strict type safety and ESLint/Prettier integration.

17|1|Updated Jun 8, 2025
One-click install
npx skills add https://github.com/williamzujkowski/standards --skill typescript-coding-standards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-coding-standards
Source: https://github.com/williamzujkowski/standards/tree/main/skills/coding-standards/typescript
Command: npx skills add https://github.com/williamzujkowski/standards --skill typescript-coding-standards

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill provides a comprehensive set of TypeScript coding standards, ensuring your projects are type-safe, maintainable, and production-ready. It automates the enforcement of strict type checking, modern ESNext features, and robust Jest/Vitest testing, reducing bugs and improving developer efficiency.

Core Features & Use Cases

  • Strict Type Checking: Guides on configuring tsconfig.json for maximum type safety and catching errors early.
  • Modern ESNext Features: Teaches best practices for using contemporary JavaScript features within a TypeScript context.
  • React/Node.js Best Practices: Offers specific guidelines for building performant and maintainable applications in both frontend and backend environments.
  • Use Case: Initialize a new TypeScript project by applying these standards, automatically configuring ESLint, Prettier, and Jest/Vitest to ensure all code adheres to consistent, high-quality, and type-safe standards from the start.

Quick Start

Generate a TypeScript utility type for making all properties of an object optional, demonstrating advanced type manipulation.

Frequently Asked Questions about typescript-coding-standards

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

FAQPage Schema
How do I enforce TypeScript coding standards across my project?

Enforce TypeScript coding standards by configuring strict type checking in tsconfig.json, integrating ESLint and Prettier, and automating checks in CI workflows. This skill provides comprehensive guidelines for strict mode, implicit any prohibition, explicit return types, and consistent module imports to maintain type safety and code quality.

What's the best way to configure TypeScript for maximum type safety?

Configure TypeScript for maximum type safety by enabling strict mode in tsconfig.json, enforcing explicit return types, using robust generics, and prohibiting implicit any. This skill guides setup of strict type checking that catches errors early and reduces bugs in production code.

Can I use ESLint and Prettier with TypeScript coding standards?

Yes, TypeScript coding standards integrate with ESLint and Prettier for automated code quality enforcement. This skill provides configuration and best practices for both tools working together during code reviews and CI workflows to ensure consistent, type-safe code.

How do I set up TypeScript standards for React and Node.js projects?

Set up TypeScript standards for React and Node.js by applying framework-specific guidelines for type safety, modern ESNext features, and testing with Jest or Vitest. This skill offers best practices for building performant, maintainable applications in both frontend and backend environments.

What happens if I don't enforce strict type checking in TypeScript?

Without strict type checking, implicit any types and type errors slip into production, increasing bugs and maintenance overhead. This skill automates enforcement of strict mode and explicit typing to prevent these issues from the start of development.

Do I need additional tools to initialize a TypeScript project with coding standards?

No additional tools beyond TypeScript, ESLint, Prettier, and Jest/Vitest are needed. This skill automates configuration of these standard tools to apply consistent coding standards, type safety, and testing conventions across your entire project from initialization.