typescript

Standardize TypeScript code quality with strict typing and immutability patterns.

1|2|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/michaelsvanbeek/personal-agent-skills --skill typescript-michaelsvanbeek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript
Source: https://github.com/michaelsvanbeek/personal-agent-skills/tree/main/skills/typescript
Command: npx skills add https://github.com/michaelsvanbeek/personal-agent-skills --skill typescript-michaelsvanbeek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardize TypeScript code quality across a project.

Core Features & Use Cases

  • Enforces strict typing practices across interfaces, types, and unions.
  • Rejects any and ts-ignore usage, promotes robust type definitions, and encourages immutability patterns.
  • Provides guidance for code reviews and safe refactors to improve maintainability.

Quick Start

Enable strict TypeScript settings in tsconfig and begin applying the TypeScript Standards guidelines to your codebase.

Frequently Asked Questions about typescript

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

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

To enforce strict TypeScript standards, enable strict mode in your tsconfig and apply coding guidelines that reject `any` and `ts-ignore` while promoting robust type definitions, discriminated unions, and immutability patterns.

What is the best way to eliminate `any` and `ts-ignore` in a TypeScript codebase?

The best way to eliminate `any` and `ts-ignore` is to adopt strict typing practices using discriminated unions and robust type definitions, ensuring type safety conformance during code reviews and safe refactors.

How does Zod runtime validation work with static TypeScript types?

Zod runtime validation works with static TypeScript types by enforcing type safety at runtime, bridging the gap between compile-time checks and external data inputs to maintain consistent type definitions.

Can I use these coding standards for TypeScript refactoring in a large codebase?

Yes, you can use these coding standards for TypeScript refactoring in a codebase of any size, providing guidance for safe refactors, interface design, and consistent type definitions to improve maintainability.

When do I need to use immutability patterns and discriminated unions in TypeScript?

You need to use immutability patterns and discriminated unions in TypeScript when enforcing strict type safety, preventing runtime errors by clearly defining distinct object states and avoiding mutable state during development.