dce-edge
A maintainer skill in the Next.js repository with coding rules for conditional require calls that bundlers can remove, and for the limits of the edge runtime.
What the skill teaches
A maintainer skill in the Next.js repository with coding rules for conditional require calls that bundlers can remove, and for the limits of the edge runtime. It explains that webpack drops a require only in the dead branch of an if/else that its define plugin can resolve at build time, shows a switcher file pattern that picks a Node or web implementation, warns that the runtime variable is not a feature flag, and says how flags that guard Node-only imports must be forced off for edge builds. It closes with rules for the app page template and a standalone end-to-end test to run when edge bundling may have regressed.
Capabilities
Not stated in its documentation
About
- Publisher
- Vercel
- Tool
- Code review
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Code review | |
| Publisher | Vercel | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026143,470 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from Vercel
1 server · 61 skills
- vercel-cli (Skill)
- vercel-flags (Skill)
- access-protected-vercel-deployment (Skill)
- ai-gateway (Skill)
- ai-sdk (Skill)
- auth (Skill)
Also listed under: Code review
Sources
- GitHub repositorygithub.com/vercel/next.js · Backs: Publisher, Activity, LicenceNov 11, 2026
- Skill file (SKILL.md)github.com/vercel/next.js · Backs: Includes scriptsNov 10, 2026
- Folder in the repository (dce-edge)github.com/vercel/next.js · Backs: Includes scriptsNov 10, 2026