Skip to content
Proyek

mkosir/typescript-style-guide

Lihat di GitHub

Tentang

⚙️ Panduan gaya TypeScript dan skill agen. Kumpulan konvensi dan praktik terbaik yang ringkas untuk menjaga konsistensi dan kemudahan pemeliharaan kode.

Pembelajaran dan pendidikan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+1
dalam 15 hari
+3
dalam 1 bulan
+4

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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.

Jelajahi proyek terkait

Memuat…