typescript

Enforce Google TypeScript Style Guide standards for naming, types, and architecture.

109|6|Updated Apr 15, 2021
One-click install
npx skills add https://github.com/rishighan/threetwo --skill typescript-rishighan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript
Source: https://github.com/rishighan/threetwo/tree/main/.claude/skills/typescript
Command: npx skills add https://github.com/rishighan/threetwo --skill typescript-rishighan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TypeScript projects often struggle with consistency and maintainability as they grow. This Skill provides authoritative guidelines based on Google's TypeScript Style Guide to standardize naming, types, and architecture decisions.

Core Features & Use Cases

  • Establishes naming conventions for classes, interfaces, types, enums, variables, and constants to improve readability.
  • Defines type and interface usage, inference, and safe patterns to reduce bugs.
  • Provides guidance for functions, modules, imports/exports, control structures, and error handling to enforce robust code.

Quick Start

Follow these guidelines to write, review, and refactor TypeScript code with Google's style standards.

Frequently Asked Questions about typescript

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

FAQPage Schema
What are the best practices for TypeScript naming conventions and type usage?

TypeScript best practices for naming and type usage involve establishing consistent conventions for classes, interfaces, enums, variables, and constants. Applying safe type inference patterns reduces bugs and improves code readability across growing projects.

How do I enforce consistent coding standards when refactoring TypeScript code?

Enforce consistent TypeScript coding standards during refactoring by applying rigorous rules for module organization, imports and exports, and function design. Standardizing architecture decisions ensures maintainability and reduces bugs in production-grade development.

Can I use these TypeScript style guidelines for production-grade software projects?

Yes, these TypeScript style guidelines suit production-grade development by specifying rigorous rules for class design, error handling, and tooling recommendations. They guide robust code architecture tailored for typical, scalable software projects.

What's the best way to structure TypeScript modules and interfaces?

The best way to structure TypeScript modules and interfaces is following authoritative style standards that define type usage, control structures, and export patterns. This approach enforces robust code organization and reduces structural inconsistencies.

Why does my TypeScript codebase struggle with maintainability as it grows?

TypeScript codebases struggle with maintainability as they grow due to inconsistent naming, type usage, and architectural decisions. Establishing authoritative guidelines for modules and error handling solves this by standardizing development patterns.