# Flags

> How to add or modify Next.js experimental feature flags end-to-end.

How to add or modify Next.js experimental feature flags end-to-end. Use when editing config-shared.ts, config-schema.ts, define-env-plugin.ts, next-server.ts, export/worker.ts, or module.compiled.js. Covers type declaration, zod schema, build-time injection, runtime env plumbing, and the decision between runtime env-var branching vs separate bundle variants.

- Page: https://ss33.ai/skills/vercel/flags-46301313005
- Publisher: vercel
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [Languages & frameworks](https://ss33.ai/skills/category/software-development-t44z8z/languages-and-frameworks-rgvrso)
- Source: https://github.com/vercel/next.js/blob/ef0bc5f39a8e7bc9169830bd8b4391c69f5a44b5/.agents/skills/flags/SKILL.md

## Skill

This skill's licence does not allow redistribution, so the store does not serve its text. Get it from the author: https://github.com/vercel/next.js/blob/ef0bc5f39a8e7bc9169830bd8b4391c69f5a44b5/.agents/skills/flags/SKILL.md
