Pular para o conteúdo
Kitbay
Skill

flags

MITAtualizado em 11 de nov. de 2026143.470Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

Não informado na documentação