← Back to list
name: reviewing-type-safety
description: >
TypeScript type safety patterns and best practices for maximum type coverage.
Use when reviewing TypeScript code for type issues, eliminating

reviewing-type-safety
by thkt
⭐ 3🍴 0📅 Jan 24, 2026
SKILL.md
name: reviewing-type-safety
description: >
TypeScript type safety patterns and best practices for maximum type coverage.
Use when reviewing TypeScript code for type issues, eliminating any types,
or when user mentions type safety, 型安全, 型カバレッジ, strict mode.
allowed-tools: [Read, Grep, Glob, Task]
agent: type-safety-reviewer
context: fork
user-invocable: false
Type Safety Review
Detection
| ID | Pattern | Fix |
|---|---|---|
| TS1 | any | unknown + type guard |
| TS1 | Implicit any | Explicit type annotation |
| TS2 | value as Type | Type guard function |
| TS2 | value! (non-null assertion) | Explicit null check |
| TS3 | function fn(data) (untyped) | function fn(data: Type) |
| TS3 | Missing return type | Explicit : ReturnType |
| TS4 | default: without exhaustive | default: assertNever(value) |
Criteria
Type coverage >= 95%. Any usage = 0. Strict mode all enabled.
References
| Topic | File |
|---|---|
| Coverage | references/type-coverage.md |
| Guards | references/type-guards.md |
| Strict | references/strict-mode.md |
| Result | references/result-type.md |
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon