<Skill Name>
Free<What this skill does>
The English summary is being prepared. Showing the original description.
Detect null/undefined/empty handling gaps where callers or consumers may receive unexpected nullish values.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Primary pattern: Reviewer Secondary patterns: Inversion Why: null/undefined/emptyの処理漏れはランタイムエラーの主要因。差分内の関数・API境界でnullability契約が明示・遵守されているかをレビューする。
T | null、T | undefined、T | null | undefined)。[]、空オブジェクト{})もnullと同様に考慮する。null/undefinedを含む関数の呼び出しで、nullチェックなしにプロパティアクセスや関数呼び出しが行われている。Array.find() / Array.at() などundefinedを返しうる配列メソッドの結果を直接使用している。Map.get() の結果をノーチェックで使用している。as string / ! などで型システムをバイパスしてnull可能性を握りつぶしている。parseInt / parseFloat / Number() / 暗黙の数値・文字列変換の結果をNaNチェックなしに使用しており、変換失敗が下流へ伝播する(型変換によるデータ損失)。const item = map.get(key); if (!item) return null; return item.value;return map.get(key)!.value;const found = items.find(x => x.id === id); if (!found) throw new Error(\Item ${id} not found`);`return items.find(x => x.id === id).name;function getUser(id: string): User | null { ... } と戻り値型で明示。function getUser(id: string): User { ... } でnullを返す可能性を隠蔽。Array.find() / Map.get() などの結果はunwrapするか早期returnする。!)を除去し、型ガードまたはearly returnで代替する。Optional<T> パターン等)の導入を検討する。strictモード設定変更提案(別スキルのスコープ)。このスキルは以下の条件がすべて満たされない限りNO_REVIEWを返す。
*.ts または *.tsx)が含まれているゲート不成立時の出力: NO_REVIEW: nullability-contract — null/undefined処理のTypeScript差分がない
asserts関数やバリデーション後のnon-null保証が差分から確認できる場合は指摘しない。as unknown as T)は対象外。?? {} / ?? [] などのフォールバックを足すと、根絶したはずの silent drift を再導入する。この境界は値の出所で判断する。
argv / fs / network / 外部 API レスポンス)から入る値 = 防衛必須。例外を握りつぶさずに適切に処理し、null をハンドリングする。ここへの防衛欠落はむしろ指摘する(例: #1475 は fs.realpathSync を try/catch なしで呼び ENOENT でクラッシュした実バグ。#1480 の内部 registry への ?? {} は FP)。No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
<What this skill does>
The English summary is being prepared. Showing the original description.
画像・ボタン・フォーム要素に適切なアクセシブルネームがあるか確認する。
The English summary is being prepared. Showing the original description.
Ensure ADRs capture context, decision, alternatives, tradeoffs, and follow-ups in a way that prevents future drift.
The English summary is being prepared. Showing the original description.
敵対的分析手法を統合したレビューの entry skill。認知バイアス対策の3手法 (Pre-mortem / War Game / Logic Torturing)と、宣言・主張と実態の乖離を突く claim-vs-actual 検出3パターン(Self-Contradiction / Refactor-Claim Audit / Cross-File Leakage)へルーティングし、通常のレビューでは見えない設計の盲点・ 防御の穴・論理の弱点・宣言と実装のズレを可視化する。
The English summary is being prepared. Showing the original description.
Review changes to the Agent Skills import/export bridge for path safety, round-trip fidelity, and validation correctness.
The English summary is being prepared. Showing the original description.
Checks whether AI-assisted work defines review criteria, accessible context, explicit review loop, human judgment boundary, and feedback capture before delegating to an agent.
The English summary is being prepared. Showing the original description.