- Home
- Skills
- Frontend & Web Apps
- nextjs app router migration verifier
Works with the AI tools you already use
nextjs app router migration verifier
Migrate Next.js routes to App Router with mandatory verification of cache semantics and component boundaries.
$18
nextjs app router migration verifier
Example session with this skill installed
Migrate pages/profile/[id].tsx which uses getServerSideProps to fetch user data and next/head for the title.
- Read your context and instructions
- Compiled the nextjs app router
I have analyzed the source. The original uses getServerSideProps (always fresh). Converted to App Router: fetch now includes { cache: 'no-store' } to prevent stale data. The next/head block is now a generateMetadata function. Awaiting your review of these specific diffs before proceeding.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
Migrating from Next.js Pages Router to App Router is prone to silent regressions. Standard build checks and type systems cannot detect when a fresh getServerSideProps call is replaced by a default fetch, which Next.js caches by default, leading to stale data bugs in production.
What it does
- Performs a mandatory before/after comparison of data-fetching cache semantics, ensuring
getServerSidePropsandgetInitialPropsare correctly ported to{ cache: 'no-store' }. - Identifies and migrates
next/headtags to the Metadata API to prevent SEO tags from silently disappearing. - Verifies async conversion for
cookies()andheaders()to catch missing awaits that pass linting but fail at runtime. - Audits the Server/Client Component boundary to ensure internal database fields or API keys do not leak into the browser bundle.
- Converts legacy
getStaticPathsandfallbacklogic togenerateStaticParamsanddynamicParams.
Frameworks & tools
Next.js (Pages Router and App Router), React, TypeScript.
Why this beats prompting it yourself
General LLM prompts often hallucinate that fetch() is a drop-in replacement for legacy data methods, missing the critical caching default change. This skill enforces a hard stop between routes, preventing the "unsupervised bulk migration" pattern that causes developers to overlook layout-level fetching bugs and metadata omissions.
Use cases
- Converting complex authenticated routes that rely on per-request data freshness.
- Refactoring SEO-heavy marketing pages from legacy
next/headblocks to the modern Metadata API. - Moving Node.js-based API routes to Web-standard Route Handlers.
- Verifying that new
layout.jsdata fetching does not inadvertently cache user-specific data.
Known limitations
Does not handle middleware.ts logic or differences. Requires a manual review stop after every single route conversion to ensure accuracy.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install