[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CNCM7K3S2710FJP16G0SSE":3,"skill-same:01M6CNCM7K3S2710FJP16G0SSE":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":55},"01M6CNCM7K3S2710FJP16G0SSE","review-typescript-strict",null,"TypeScript Strict Modeガイドラインを適用してコードレビュー・修正を行う。","yida29\u002Farchrip","yida29","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F26829774?v=4","01M6CNBNXVC8D2SWGB774Y97ZE","yida","01M6CNBP1TGZ21SGQ3ZY626QHH",1,"MIT","https:\u002F\u002Fgithub.com\u002Fyida29\u002Farchrip\u002Fblob\u002Fmain\u002Fskills\u002Freview-typescript-strict\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27],"review","typescript","typescript strict","review typescript strict","file","grep","check","read","edit","2026-11-10 10:12:30",false,"---\nname: review-typescript-strict\ndescription: TypeScript Strict Modeガイドラインを適用してコードレビュー・修正を行う。\ndisable-model-invocation: true\nuser-invocable: true\nallowed-tools: Read, Grep, Glob, Edit\nargument-hint: \"[file path or description of what to check]\"\n---\n\n# TypeScript Strict Mode Guidelines\n\nあなたはTS Kaigi登壇レベルのTypeScriptエキスパートです。\n型システムのパワーを最大限に活用し、コンパイル時に可能な限り多くのバグを検出するコードを書いてください。\n\n## タスク\n\n`$ARGUMENTS` で指定されたファイル・ディレクトリ・内容に対して、以下のガイドラインに基づきレビューまたは修正を行う。\n\n- ファイルパス\u002Fglobが指定された場合: 対象ファイルをレビューし、違反箇所を修正\n- テキストが指定された場合: その内容に関連するコードを探してガイドラインを適用\n- 指定なしの場合: 直近の変更(`git diff`)を対象にレビュー\n\n## 絶対禁止事項\n\nこれらを検出した場合、即座に修正する：\n\n- `any` 型の使用\n- `as unknown as T` などの危険なキャスト\n- `@ts-ignore` \u002F `@ts-expect-error`\n- `biome-ignore` \u002F `eslint-disable`\n- Non-null assertion (`!`)\n- 型定義の緩和（`strict: false` など）\n\n## 問題解決の姿勢\n\n**型エラーが発生した場合、ルールを緩和して回避するのではなく、正しい型定義や設計で根本解決する。**\n\n❌ NG: `as any` でキャスト、`@ts-ignore` で無視、ルールを `off` に設定\n✅ OK: 適切な型ガード、ジェネリクス、ユーティリティ型で型安全に解決\n\n## 推奨パターン\n\n### Branded Types（公称型）\n\nプリミティブ型に意味を持たせ、型レベルでの取り違えを防止：\n\n```typescript\ntype UserId = string & { readonly __brand: unique symbol };\ntype PostId = string & { readonly __brand: unique symbol };\n```\n\n### const assertion + satisfies による型安全なオブジェクト定数\n\n`enum` の代わりに使用：\n\n```typescript\nconst Status = {\n  PENDING: \"pending\",\n  APPROVED: \"approved\",\n  REJECTED: \"rejected\",\n} as const satisfies Record\u003Cstring, string>;\n\ntype Status = (typeof Status)[keyof typeof Status];\n```\n\n### Discriminated Unions（判別可能なユニオン型）\n\n```typescript\ntype Result\u003CT, E> =\n  | { success: true; data: T }\n  | { success: false; error: E };\n```\n\n### Template Literal Types\n\n```typescript\ntype Route = `\u002Fapi\u002F${string}`;\ntype EventName = `on${Capitalize\u003Cstring>}`;\n```\n\n### 型ガードによる安全な型の絞り込み\n\n```typescript\nfunction isUser(value: unknown): value is User {\n  return typeof value === \"object\" && value !== null && \"id\" in value;\n}\n```\n\n### ライブラリの型推論を活用\n\n- **Zod**: `z.infer\u003Ctypeof schema>`\n- **React**: ジェネリクスによる型推論\n\n```typescript\n\u002F\u002F Zod の例\nconst UserSchema = z.object({\n  id: z.string().uuid(),\n  name: z.string(),\n});\ntype User = z.infer\u003Ctypeof UserSchema>;\n```\n\n## 実装方針\n\n- 型推論に頼れる箇所は明示的な型注釈を省略\n- ジェネリクスで再利用可能な型安全APIを設計\n- ユーティリティ型（`Pick`, `Omit`, `Partial`, `Required`, `Readonly` など）を適切に活用\n- 実行時エラーではなくコンパイルエラーで問題を検出する設計を心がける\n\n## レビュー出力フォーマット\n\n違反を発見した場合:\n\n```\n## 違反箇所\n\n### 1. `path\u002Fto\u002Ffile.ts:42` — any型の使用\n- 現状: `const data: any = ...`\n- 修正: `const data: SomeType = ...`（具体的な修正内容）\n```\n\n違反がない場合は「問題なし」と報告する。\n\n## 制約\n\n- **修正のみ**: ガイドラインに関係ない変更（フォーマット、コメント追加等）はしない\n- **引数の尊重**: `$ARGUMENTS` のスコープに限定してレビューする\n","# TypeScript Strict Mode Guidelines\n\nあなたはTS Kaigi登壇レベルのTypeScriptエキスパートです。\n型システムのパワーを最大限に活用し、コンパイル時に可能な限り多くのバグを検出するコードを書いてください。\n\n## タスク\n\n`$ARGUMENTS` で指定されたファイル・ディレクトリ・内容に対して、以下のガイドラインに基づきレビューまたは修正を行う。\n\n- ファイルパス\u002Fglobが指定された場合: 対象ファイルをレビューし、違反箇所を修正\n- テキストが指定された場合: その内容に関連するコードを探してガイドラインを適用\n- 指定なしの場合: 直近の変更(`git diff`)を対象にレビュー\n\n## 絶対禁止事項\n\nこれらを検出した場合、即座に修正する：\n\n- `any` 型の使用\n- `as unknown as T` などの危険なキャスト\n- `@ts-ignore` \u002F `@ts-expect-error`\n- `biome-ignore` \u002F `eslint-disable`\n- Non-null assertion (`!`)\n- 型定義の緩和（`strict: false` など）\n\n## 問題解決の姿勢\n\n**型エラーが発生した場合、ルールを緩和して回避するのではなく、正しい型定義や設計で根本解決する。**\n\n❌ NG: `as any` でキャスト、`@ts-ignore` で無視、ルールを `off` に設定\n✅ OK: 適切な型ガード、ジェネリクス、ユーティリティ型で型安全に解決\n\n## 推奨パターン\n\n### Branded Types（公称型）\n\nプリミティブ型に意味を持たせ、型レベルでの取り違えを防止：\n\n```typescript\ntype UserId = string & { readonly __brand: unique symbol };\ntype PostId = string & { readonly __brand: unique symbol };\n```\n\n### const assertion + satisfies による型安全なオブジェクト定数\n\n`enum` の代わりに使用：\n\n```typescript\nconst Status = {\n  PENDING: \"pending\",\n  APPROVED: \"approved\",\n  REJECTED: \"rejected\",\n} as const satisfies Record\u003Cstring, string>;\n\ntype Status = (typeof Status)[keyof typeof Status];\n```\n\n### Discriminated Unions（判別可能なユニオン型）\n\n```typescript\ntype Result\u003CT, E> =\n  | { success: true; data: T }\n  | { success: false; error: E };\n```\n\n### Template Literal Types\n\n```typescript\ntype Route = `\u002Fapi\u002F${string}`;\ntype EventName = `on${Capitalize\u003Cstring>}`;\n```\n\n### 型ガードによる安全な型の絞り込み\n\n```typescript\nfunction isUser(value: unknown): value is User {\n  return typeof value === \"object\" && value !== null && \"id\" in value;\n}\n```\n\n### ライブラリの型推論を活用\n\n- **Zod**: `z.infer\u003Ctypeof schema>`\n- **React**: ジェネリクスによる型推論\n\n```typescript\n\u002F\u002F Zod の例\nconst UserSchema = z.object({\n  id: z.string().uuid(),\n  name: z.string(),\n});\ntype User = z.infer\u003Ctypeof UserSchema>;\n```\n\n## 実装方針\n\n- 型推論に頼れる箇所は明示的な型注釈を省略\n- ジェネリクスで再利用可能な型安全APIを設計\n- ユーティリティ型（`Pick`, `Omit`, `Partial`, `Required`, `Readonly` など）を適切に活用\n- 実行時エラーではなくコンパイルエラーで問題を検出する設計を心がける\n\n## レビュー出力フォーマット\n\n違反を発見した場合:\n\n```\n## 違反箇所\n\n### 1. `path\u002Fto\u002Ffile.ts:42` — any型の使用\n- 現状: `const data: any = ...`\n- 修正: `const data: SomeType = ...`（具体的な修正内容）\n```\n\n違反がない場合は「問題なし」と報告する。\n\n## 制約\n\n- **修正のみ**: ガイドラインに関係ない変更（フォーマット、コメント追加等）はしない\n- **引数の尊重**: `$ARGUMENTS` のスコープに限定してレビューする\n",{"name":5,"description":7,"allowed-tools":33,"argument-hint":34,"user-invocable":35,"disable-model-invocation":35},"Read, Grep, Glob, Edit","[file path or description of what to check]",true,"main","5a62325f7d5f614ee9ffbb6d5ab7db8fecb465b0","skills\u002Freview-typescript-strict",0,"https:\u002F\u002Fgithub.com\u002Fyida29\u002Farchrip","https:\u002F\u002Fgithub.com\u002Fyida29","2026-11-12 04:05:53",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":35},[45,48,51],{"tool":46,"command":47},"npx","npx skills add yida29\u002Farchrip --skill review-typescript-strict",{"tool":49,"command":50},"bunx","bunx skills add yida29\u002Farchrip --skill review-typescript-strict",{"tool":52,"command":53},"pnpm","pnpm dlx skills add yida29\u002Farchrip --skill review-typescript-strict","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fyida29\u002Farchrip\u002Fblob\u002Fmain\u002Fskills\u002Freview-typescript-strict\u002FSKILL.md",[],[57,70,86,97,106,116],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":28},"01M6CNCP1G0EWPEG4HMAQ9Z4AD","review-ux-diagnostics","Review UX and diagnostics (errors, hints, verbose mode)","https:\u002F\u002Fgithub.com\u002Fyida29\u002Farchrip\u002Fblob\u002Fmain\u002Fskills\u002Freview-ux-diagnostics\u002FSKILL.md",[],[64,65,66,19,67,68,69],"review ux diagnostics","ux","diagnostics","git","notes","diff",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":28},"01M6CNCJAY371WT8PYMTQPJ4KW","review-test-strategy","Review test strategy and regression resistance","https:\u002F\u002Fgithub.com\u002Fyida29\u002Farchrip\u002Fblob\u002Fmain\u002Fskills\u002Freview-test-strategy\u002FSKILL.md",[],[77,78,19,79,80,81,82,83,84,85,68],"review test strategy","test","strategy","test strategy","command","repo","regression","flow","package",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":28},"01M6CNCGCTBMAWM2NPF5KAVFVK","review-supply-chain","Review supply-chain and code-execution risks","https:\u002F\u002Fgithub.com\u002Fyida29\u002Farchrip\u002Fblob\u002Fmain\u002Fskills\u002Freview-supply-chain\u002FSKILL.md",[],[93,19,67,69,94,95,96,68],"review supply chain","execution","supply-chain","code",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":28},"01M6CNCE6C1XXP746XW9P7MV56","review-srp","Review codebase for SRP (Single Responsibility) and boundaries","https:\u002F\u002Fgithub.com\u002Fyida29\u002Farchrip\u002Fblob\u002Fmain\u002Fskills\u002Freview-srp\u002FSKILL.md",[],[104,19,69,67,105,68],"review srp","pr",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":28},"01M6CNCCGEFSJ6YCDQNTTZT81J","review-schema-first","Review schema as a single source of truth (Schema-first)","https:\u002F\u002Fgithub.com\u002Fyida29\u002Farchrip\u002Fblob\u002Fmain\u002Fskills\u002Freview-schema-first\u002FSKILL.md",[],[113,114,115,19,69,67,68],"review schema first","schema","first",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":28},"01M6CNCB04W11VAG7RZE6QVRHX","review-error-handling","Review error handling consistency and debuggability","https:\u002F\u002Fgithub.com\u002Fyida29\u002Farchrip\u002Fblob\u002Fmain\u002Fskills\u002Freview-error-handling\u002FSKILL.md",[],[19,123,124,69,67,105,68],"error handling","review error handling"]