typescript-style-guide

A concise TypeScript style guide and Agent Skill for consistent, maintainable code.

Automatically checked · GitHub checked 2026-11-29

typescript-style-guide

Good fit for

It suits teams and coding agents that need a standard approach to writing TypeScript applications and maintaining consistent practices as projects grow in size and complexity.

Overview

TypeScript Style Guide

TypeScript Style Guide and Agent Skill. A concise set of conventions and best practices for consistent, maintainable code.

Go to 👉 TypeScript Style Guide

Agent Skills

Install and choose a skill interactively:

npx skills add mkosir/typescript-style-guide

Or install a specific skill:

  • Complete guide: npx skills add mkosir/typescript-style-guide --skill typescript-style-guide
  • Types: npx skills add mkosir/typescript-style-guide --skill typescript-types
  • Discriminated Unions: npx skills add mkosir/typescript-style-guide --skill typescript-discriminated-unions
  • Functions: npx skills add mkosir/typescript-style-guide --skill typescript-functions
  • Variables: npx skills add mkosir/typescript-style-guide --skill typescript-variables
  • Naming: npx skills add mkosir/typescript-style-guide --skill typescript-naming
  • Source Organization: npx skills add mkosir/typescript-style-guide --skill typescript-source-organization
  • React: npx skills add mkosir/typescript-style-guide --skill typescript-react
  • Tests: npx skills add mkosir/typescript-style-guide --skill typescript-tests

The complete guide loads only the sections relevant to the task, keeping the coding agent's context focused. Focused skills provide individual guide topics independently.

Why

  • As project grow in size and complexity, maintaining code quality and ensuring consistent practices become increasingly challenging.
  • Defining and following a standard approach to writing TypeScript applications leads to a consistent codebase and faster development cycles.
  • No need to discuss code styles during code reviews.
  • Saves team time and energy.

Contributing

All contributions are welcome! Open a PR, issue or discussion.