Zum Inhalt springen
Kitbay
Skill

flags

MITAktualisiert am 11. Nov. 2026143.470GitHub-Sterne

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

Was der Skill vermittelt

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.

Funktionen

In der Dokumentation nicht angegeben