本文へスキップ
Kitbay
スキル

flags

MIT2026年11月11日 更新143,470GitHubスター

A maintainer skill in the Next.js repository for adding or changing an experimental feature flag from end to end.

スキルの内容

A maintainer skill in the Next.js repository for adding or changing an experimental feature flag from end to end. The agent declares the flag's type and its zod schema entry, then decides how it is read: code bundled by the user's project needs it in the define-env file, while the framework's prebuilt runtime bundles need either a real environment variable set by the server and export worker, or a separate bundle variant with its own define plugin entry, build tasks and selector. It explains how the runtime picks among up to sixteen bundle variants per route type, and warns that define entries scoped to the wrong bundle type can overwrite assignments in the server code.

できること

ドキュメントに記載なし