[skills] Remove the Next.js framework skills in favor of Next.js's bundled docs #282
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 389 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.357
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #282"
general
weight: 0.35
aurorascharff
Supersedes #121, redone on current
main.Next.js retired
vercel-labs/next-skills. Its README now says the reference knowledge "is now delivered automatically through Next.js bundled docs (next/dist/docs/) and theAGENTS.md/CLAUDE.mdagent rules thatnext devgenerates (Next.js 16.3+), so it no longer ships as a skill", and the remaining workflow skills moved tovercel/next.js/skills. Our copies duplicate that and drift from the installed version (for example, #272'sretrychange is right on 16.3+ and broken on 16.0–16.2).Removed
nextjs,next-upgrade,next-cache-components(from next-skills), andturbopack(plugin-owned, but its content is Next.js framework docs that now ship withnext).SKILL_TO_CHUNKmappings,chainTotargets inrouting-middleware,vercel-storage, andcdn-caching,⤳ skill:links invercel.md, and the{{include:skill:nextjs…}}sections inagents/performance-optimizer.md.tmpl.Added: official guidance
Sources: https://nextjs.org/docs/app/guides/ai-agents and https://nextjs.org/docs/app/getting-started/upgrading
knowledge-update(injected at session start for Next.js and Vercel projects) gets a Next.js section:- Read
node_modules/next/dist/docs/before writing Next.js code.- 16.3+
next devwritesAGENTS.md/CLAUDE.md. On 16.2 the docs are bundled but there's noAGENTS.md. On ≤16.1, runnpx @next/codemod@canary agents-md.- Upgrade with
next upgrade(16.1+) ornpx @next/codemod@canary upgrade latest.- Workflow skills install with
npx skills add vercel/next.js.vercel.md: the same pointers in the Next.js graph node and the "Next.js and Rendering" session chunk.performance-optimizer: a topic → bundled-doc lookup table replaces the inlined skill content.cdn-caching: points to the bundled docs and the officialnext-cache-components-optimizerskill.routing-middleware: keeps themiddleware.ts→proxy.tsvalidate rule, now pointing to the bundled docs instead ofSkill(nextjs).Tests
routing-middleware,shadcn,next-forge), so they cover the same behaviour.inject-claude-mdtest that a Next.js project gets the bundled-docs guidance at session start.Verification
bun run build,bun run validate,build:skills:check,build:from-skills:check, andbun run test(1038 pass, 0 fail) all pass. Main has 1056 tests. The difference is the 16 per-include tests for the deleted performance-optimizer includes, plus the deliberate removals and renames above.Follow-ups