agentsclimarketplace

Typescript coding conventions

Skill yend724/agent-skills/skills/typescript-coding-conventions

General TypeScript coding conventions for type safety, exported API design, and module structure. Auto-triggers when writing or refactoring TypeScript code outside framework-specific rules.From its SKILL.md

Install
npx -y skills add yend724/agent-skills --skill typescript-coding-conventions

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.3 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

TypeScript Coding Conventions

TypeScript 全般のコーディング規約集。型安全性、公開インターフェースの明示性、モジュール構造、命名規則を中心に定義する。

When to Apply

以下の作業時に自動で参照する:

  • TypeScript ファイルの新規作成
  • JavaScript から TypeScript への移行
  • 型エラー修正や型定義の改善
  • exported function / utility / service の設計
  • import / export 構造の整理

Compatibility

TypeScript 5.0+ / ES2022+

Rule Categories

CategoryPrefix
型安全性types-
インターフェース設計interface-
モジュール構成module-
命名規則naming-

Quick Reference

型安全性

インターフェース設計

モジュール構成

命名規則

How to Use

個別ルールの詳細は rules/ ディレクトリ内のファイルを参照。上記 Quick Reference のリンクから各ルールにアクセスできる。

各ルールファイルには以下を含める:

  • ルールの説明と根拠
  • Bad / Good のコード例
  • 迷いやすいケースの判断基準

What ships with it: 14 files

15.4 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.