Agent skill · Audited from source
Nextjs Upgrade
skill · HoangNguyen0403/agent-skills-standardMIT licenceAudited 14 Oct 2026 · source 6f5be687a268
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 6f5be687a268 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Next.js version migrations using official guides and codemods. Use when migrating a Next.js project to a new major version using codemods.
Cite
Cite this page
ModelsAtlas. “Nextjs Upgrade (HoangNguyen0403/agent-skills-standard)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/hoangnguyen0403/nextjs-upgrade
Trust audit
Audit 0.4.1 · source read 14 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 6f5be687a268 · 14 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherHoangNguyen0403 GitHub userOwner of the repository this skill is read from
- Source folderHoangNguyen0403/agent-skills-standard/skills/nextjs/nextjs-upgradeThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict6f5be687a268A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Next.js version migrations using official guides and codemods. Use when migrating a Next.js project to a new major version using codemods.
---
name: nextjs-upgrade
description: Next.js version migrations using official guides and codemods. Use when migrating a Next.js project to a new major version using codemods.
metadata:
triggers:
files:
- 'package.json'
keywords:
- next upgrade
- migration guide
- codemod
---
# Next.js Upgrade Protocol
Automated and manual migration steps for Next.js version upgrades (e.g., v14 to v15).
## **Priority: P1 (HIGH)**
## Workflow: Upgrade Next.js to New Major Version
1. Check current versions of `next`, `react`, `react-dom` in `package.json`
2. Plan incremental path (e.g., v13 -> v14 -> v15; never skip majors)
3. Run codemods: `npx @next/codemod@latest <transform> <path>`
4. Update dependencies:
See [implementation examples](references/example.md)
5. Verify async APIs: ensure `cookies()`, `headers()`, `params` awaited (v15+)
6. Audit `fetch` caching: v15 defaults to `no-store`; add `force-cache` where needed
7. Run `next build` and fix hydration or Turbopack errors
8. Report codemod failures or manual fixes to team
## Implementation Guidelines
- **Upgrade Detection**: Always check `package.json` for versions of `next`, `react`, and `react-dom`.
- **Planning**: For major version jumps (v13 to v15), perform incremental upgrade (v13 -> v14, then v14 -> v15). Follow official Next.js Migration Guides.
- **Automated Codemods**: Use `npx @next/codemod@latest <transform> <path>` to automate syntax migration.
- **Breaking Changes (v15)**: Respond to `next-async-request-api` transform by ensuring `params`, `searchParams`, `cookies()`, and `headers()` awaited.
- **React Parity**: Upgrade `react` and `react-dom` to match Next.js peer dependencies (e.g., React 19 for Next.js 15).
- **Validation**: Run `next dev` and `next build` after each incremental step. Check console errors for hydration warnings.
## Anti-Patterns
- **No major version skipping**: Upgrade one major version at time (13 -> 14, then 14 -> 15).
- **No manual breaking-change fixes**: Always run `npx @next/codemod@latest` transforms first.
- **No assumed caching behavior post-upgrade**: v15 defaults to `no-store`; audit all `fetch` calls.
- **No async page functions in Pages Router**: `export default async function Page()` fatal.
## Canonical response anchors
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
- incremental
- one majorExcerpt, first 2,436 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 6f5be68
npm install next@latest react@latest react-dom@latest npm install --save-dev @types/react@latest @types/react-dom@latest
git clone https://github.com/HoangNguyen0403/agent-skills-standard git -C agent-skills-standard checkout 6f5be687a268
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 6f5be687a268 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
6f5be687a268
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/hoangnguyen0403/nextjs-upgrade/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →HoangNguyen0403/agent-skills-standard
Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
HoangNguyen0403/agent-skills-standard
Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF…
HoangNguyen0403/agent-skills-standard
Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM…
HoangNguyen0403/agent-skills-standard
Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation…
HoangNguyen0403/agent-skills-standard
Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
HoangNguyen0403/agent-skills-standard
Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData…
Add this badge to your README
[](https://modelsatlas.com/skills/hoangnguyen0403/nextjs-upgrade/)
<a href="https://modelsatlas.com/skills/hoangnguyen0403/nextjs-upgrade/"><img src="https://modelsatlas.com/skills/hoangnguyen0403/nextjs-upgrade/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Nextjs Upgrade
What does the Nextjs Upgrade skill do?
Is Nextjs Upgrade safe to install?
What can Nextjs Upgrade access on my machine?
How current is this page?
Sources
- github.com/HoangNguyen0403/agent-skills-standard/tree/develop/sk — the audited source at commit 6f5be687a268 and every finding aboveObserved · 14 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Nextjs Upgrade skill do?
- Is Nextjs Upgrade safe to install?
- What can Nextjs Upgrade access on my machine?