Skip to main content
Back to the directory
vercel/next.jsSoftware EngineeringFrontend and Design

dce-edge

Use this skill when changing conditional require() paths, Node-only imports, or edge/runtime branching.

SkillJury keeps community verdicts, source metadata, and external repository signals in separate lanes so ranking data never pretends to be a review.

SkillJury verdict
Pending

No approved reviews yet

Would recommend
Pending

Waiting on enough review volume

Install signal
697

Weekly or total install activity from catalog data

Sign in to review
0 review requests
Install command
npx skills add https://github.com/vercel/next.js --skill dce-edge
SkillJury does not have enough approved reviews to publish a community verdict yet. Source metadata and repository proof are still available above.
SkillJury Signal Summary

As of Apr 30, 2026, dce-edge has 697 weekly installs, 0 community reviews on SkillJury. Community votes currently stand at 0 upvotes and 0 downvotes. Source: vercel/next.js. Canonical URL: https://skills.sh/vercel/next.js/dce-edge.

Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Use this skill when changing conditional require() paths, Node-only imports, or edge/runtime branching. Webpack only DCEs a require() when it sits inside the dead branch of an if/else whose condition DefinePlugin can evaluate at compile time. What does NOT work: Always test edge changes with pnpm test-start-webpack on test/e2e/app-dir/app/standalone.test.ts (has edge routes), not with NEXT_SKIP_ISOLATE=1 which skips the full webpack compilation. Use if/else (not two independent if blocks) when assigning a variable conditionally on process.env.X . TypeScript cannot prove exhaustiveness across if (flag) { x = a }; if (!flag) { x = b } and will error with "variable used before being assigned". The if/else pattern satisfies both TypeScript (definite assignment) and webpack DCE. Platform-specific code (node vs web) can use a single .ts switcher module that conditionally require() s either .node.ts or .web.ts into a typed variable, then re-exports the shared runtime API as named exports. Keep the branch as if/else so DefinePlugin can dead-code-eliminate the unused require() .

Source description provided by the upstream listing. Community review signal and install context stay separate from this narrative layer.

Community reviews

Latest reviews

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does dce-edge do?

Use this skill when changing conditional require() paths, Node-only imports, or edge/runtime branching.

Is dce-edge good?

dce-edge does not have approved reviews yet, so SkillJury cannot publish a community verdict.

Which AI agents support dce-edge?

dce-edge currently lists compatibility with Skills CLI.

Is dce-edge safe to install?

dce-edge has been scanned by security audit providers tracked on SkillJury. Check the security audits section on this page for detailed results from Socket.dev and Snyk.

What are alternatives to dce-edge?

Skills in the same category include grimoire-morpho-blue, conversation-memory, second-brain-ingest, zai-tts.

How do I install dce-edge?

Run the following command to install dce-edge: npx skills add https://github.com/vercel/next.js --skill dce-edge

Related skills

More from vercel/next.js

Related skills

Alternatives in Software Engineering