本文へスキップ
Kitbay
スキル

nullable-new-params

NOASSERTION2026年11月11日 更新72,390GitHubスタースクリプトあり

A contributor skill in the Remotion repository that enforces one TypeScript convention: newly added optional parameters, props and type members in internal code become required values that may be null, so every caller decides explicitly.

スキルの内容

A contributor skill in the Remotion repository that enforces one TypeScript convention: newly added optional parameters, props and type members in internal code become required values that may be null, so every caller decides explicitly. A bundled scanner finds new optional members in a diff; the agent classifies each as public or internal by checking package entry points and the docs, rewrites internal ones as T | null, updates every caller to pass a value or null, and replaces truthy checks that would treat zero, empty strings or false as missing. Public APIs stay optional and are converted to null at the boundary. It reruns the scanner and builds the touched packages.

できること

  • Find new optional parameters in a diff
  • Tell public APIs from internal ones
  • Convert optional members to required nullable types
  • Fix truthy checks that drop valid falsy values