typescript-standards

Enforce standardized TypeScript coding practices across backend and frontend projects.

39|3|Updated Nov 21, 2025
One-click install
npx skills add https://github.com/LiorCohen/sdd --skill typescript-standards-liorcohen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-standards
Source: https://github.com/LiorCohen/sdd/tree/main/plugin/fullstack-typescript/skills/typescript-standards
Command: npx skills add https://github.com/LiorCohen/sdd --skill typescript-standards-liorcohen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardizes TypeScript coding practices across teams to reduce bugs, improve readability, and accelerate onboarding by providing a single, auditable blueprint for code quality.

Core Features & Use Cases

  • Strict TypeScript configuration guidelines (compiler options, noImplicitAny, strictNullChecks, etc.) to ensure reliable type safety.
  • Immutability governance with readonly types, ReadonlyArray, and immutable update patterns to prevent unintended mutations.
  • Module system rules that promote named exports, ES modules, and path alias usage; no default exports to improve tree-shaking and clarity.
  • Design guidance for interfaces vs types, semantic aliases, and advanced types to enhance expressiveness without sacrificing safety.
  • Error handling and async patterns guidelines to produce robust, predictable failure modes across services.

Quick Start

Start applying these standards to your TypeScript project to begin enforcing strict typing and immutable, maintainable code today.

Frequently Asked Questions about typescript-standards

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

FAQPage Schema
What are the best TypeScript coding standards for enforcing strict typing and immutability?

TypeScript coding standards for strict typing and immutability require enabling compiler options like noImplicitAny and strictNullChecks, using readonly types and ReadonlyArray to prevent unintended mutations, and applying immutable update patterns across your codebase.

How do I configure TypeScript module systems to avoid default exports?

To configure TypeScript module systems and avoid default exports, enforce rules that promote named exports, utilize ES modules, and establish path alias usage. This standard improves tree-shaking and module clarity across both backend and frontend projects.

When do I use interfaces vs types in TypeScript for advanced type design?

Use interfaces vs types in TypeScript based on semantic aliasing needs and advanced type expressiveness. Standards dictate applying functional patterns across interfaces, types, and generics to enhance safety without sacrificing reliability.

Can I apply standardized TypeScript practices to existing codebases of varying sizes?

You can apply standardized TypeScript practices to existing codebases of varying sizes by auditing frontmatter presence, strict typing, arrow-function usage, and error handling guidelines to ensure end-to-end code quality and predictable failure modes.

Why should I use readonly arrays and immutable update patterns in TypeScript?

You should use readonly arrays and immutable update patterns in TypeScript to prevent unintended mutations and enforce immutability governance. This strict coding standard reduces bugs, improves readability, and produces robust, maintainable code across services.