typescript-guidelines

Community

Enforce strict, safe TypeScript coding.

Authorgileck
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a concise, prescriptive set of TypeScript guidelines to improve type safety, consistency, and maintainability across a codebase.

Core Features & Use Cases

  • Strict type safety: Enforces no usage of any and encourages explicit types, parameters, and return types.
  • Generics and typing patterns: Recommends descriptive generic types, union types over enums, and proper use of interfaces vs types.
  • Project-wide configuration: Encourages enabling strict mode in tsconfig.json and maintaining cohesive type-naming conventions.
  • Use Case: Ideal when starting a new TypeScript project or auditing an existing one to improve reliability and developer happiness.

Quick Start

Review the TypeScript guidelines when writing or reviewing code. Apply the rules to a sample module by annotating parameters and return types, removing any usage of any, and replacing enums with union types where appropriate. For the AI assistant, prompt: "Apply the TypeScript guidelines to the following codebase to improve type safety and consistency."

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: typescript-guidelines
Download link: https://github.com/gileck/app-template-ai/archive/main.zip#typescript-guidelines

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.