nextjs-16 SKILL.md skillB
nextjs-16 from mjunaidca/mjs-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mjunaidca/mjs-agent-skills/nextjs-16@git:20251221.f6c90d7Pins git:20251221.f6c90d7 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mjunaidca/mjs-agent-skills
- Path
docs/taskflow-vault/skills/engineering/nextjs-16/SKILL.md- Versions recorded
- 1
- Latest version
- git:20251221.f6c90d7, committed Dec 21, 2025
- Size
- 16,766 bytes
- Repository stars
- 28
- License
- none declared
Build Next.js 16 applications with the correct patterns. Use this skill when creating pages, layouts, middleware (now proxy.ts), dynamic routes, or upgrading from Next.js 15. Covers breaking changes like async params/searchParams, Turbopack defaults, proxy.ts (replacing middleware.ts), and cacheComponents.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Next.js 16
Build Next.js 16 applications correctly. This skill prevents common mistakes when working with Next.js 16's breaking changes.
## When to Use
- Creating new Next.js 16 projects
- Upgrading from Next.js 15 to 16
- Working with dynamic routes and params
- Implementing request proxying (formerly middleware)
- Configuring Turbopack builds
- Using cacheComponents (formerly dynamicIO)
## Critical Breaking Changes
### 1. params and searchParams are Now Promises
**THIS IS THE MOST COMMON MISTAKE.** In Next.js 16, `params` and `searchParams` are asynchronous.
```typescript
// WRONG - Next.js 15 pattern (WILL FAIL)
export default function Page({ params }: { params: { id: string } }) {
return <div>ID: {params.id}</div>
}
// CORRECT - Next.js 16 pattern
export default async function Page({
params,
}: {
params: Promise<{ id: string }>
}) {
const { id } = await params
return <div>ID: {id}</div>
}
```
**For searchParams:**
```typescript
// WRONG - Next.js 15 pattern
export default function Page({
searchParams
}: {
searchParams: { query: string }
}) {
return <div>Query: {searchParams.query}</div>
}
// CORRECT - Next.js 16 pattern
…Read the whole file at its exact version.
How to install
mdr add mjunaidca/mjs-agent-skills/nextjs-16@sha256:a1ed4266f5363e72The line at the top of this page pins the label git:20251221.f6c90d7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_okheesfjykjr7bkt)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Dec 21, 2025.
Audit of the latest version
- fail: No script tag (matched: <Script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (16766 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
mjunaidca/mjs-agent-skills · 28 stars · license none declared · pushed 2026-08-12 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_okheesfjykjr7bkt GET https://markdownregistry.com/api/v1/resolve?ref=mjunaidca/mjs-agent-skills/nextjs-16 GET https://markdownregistry.com/api/v1/blob/a1ed4266f5363e725352c7245fabf8d6298bf9a3a1c4379f1cead74b0a63e0de
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from mjunaidca/mjs-agent-skills
Every file in mjunaidca/mjs-agent-skills