Next Best Practices
vercel-labs/openreview
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Next.js App Router expert guidance. An agent skill from leonvanzyl/opencode-masterclass.
$ npx skills add leonvanzyl/opencode-masterclass --skill nextjs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install leonvanzyl/opencode-masterclass nextjs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/leonvanzyl/opencode-masterclass.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/nextjs .claude/skills/nextjs && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "nextjs" agent skill from https://github.com/leonvanzyl/opencode-masterclass/tree/master/.agents/skills/nextjs into .claude/skills/nextjs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/leonvanzyl/opencode-masterclass/tree/master/.agents/skills/nextjsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add leonvanzyl/opencode-masterclass --skill nextjs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install leonvanzyl/opencode-masterclass nextjs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/leonvanzyl/opencode-masterclass.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/nextjs .agents/skills/nextjs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nextjs" agent skill from https://github.com/leonvanzyl/opencode-masterclass/tree/master/.agents/skills/nextjs into .agents/skills/nextjs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add leonvanzyl/opencode-masterclass --skill nextjs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install leonvanzyl/opencode-masterclass nextjs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/leonvanzyl/opencode-masterclass.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/nextjs .cursor/skills/nextjs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "nextjs" agent skill from https://github.com/leonvanzyl/opencode-masterclass/tree/master/.agents/skills/nextjs into .cursor/skills/nextjs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/leonvanzyl/opencode-masterclass.git --path .agents/skills/nextjs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add leonvanzyl/opencode-masterclass --skill nextjs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install leonvanzyl/opencode-masterclass nextjs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/leonvanzyl/opencode-masterclass.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/nextjs .gemini/skills/nextjs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "nextjs" agent skill from https://github.com/leonvanzyl/opencode-masterclass/tree/master/.agents/skills/nextjs into .gemini/skills/nextjs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install leonvanzyl/opencode-masterclass nextjsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add leonvanzyl/opencode-masterclass --skill nextjs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/leonvanzyl/opencode-masterclass.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/nextjs .github/skills/nextjs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "nextjs" agent skill from https://github.com/leonvanzyl/opencode-masterclass/tree/master/.agents/skills/nextjs into .github/skills/nextjs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add leonvanzyl/opencode-masterclass --skill nextjs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install leonvanzyl/opencode-masterclass nextjs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/leonvanzyl/opencode-masterclass.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/nextjs .opencode/skills/nextjs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "nextjs" agent skill from https://github.com/leonvanzyl/opencode-masterclass/tree/master/.agents/skills/nextjs into .opencode/skills/nextjs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
nextjsNext.js App Router expert guidance. An agent skill from leonvanzyl/opencode-masterclass.
Nextjs is an agent skill from leonvanzyl/opencode-masterclass. Next.js App Router expert guidance. Use when building, debugging, or architecting Next.js applications — routing, Server Components, Server Actions, Cache Components, layouts, middleware/proxy, data fetching, rendering strategies, and deployment on Vercel.
Its SKILL.md is about 4.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 22 other files, including reference files (for example `overlay.yaml`, `references/app-router-files.md` and `references/async-patterns.md`).
It sits in Development. It works with Next.js and Vercel.
Read from SKILL.md and the folder at commit 27f18e7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Nextjs loads about 4.5k tokens when it runs, and up to ~24k if it reads all its reference files. Until then it costs about 66 tokens; SKILL.md has 375 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Without a licence we can't republish the file, so here is its outline and opening line. It has 375 words (~4,479 tokens).
“Apply these rules when writing or reviewing Next.js code.”
SKILL.md and 21 other files (references) in .agents/skills/nextjs of leonvanzyl/opencode-masterclass.
Open the folder on GitHubat commit 27f18e7
Nextjs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Nextjs this skillleonvanzyl/opencode-masterclass | 124 | — | ~4.5k | Automated safety check: Pass | None | |
| Next Best Practicesvercel-labs/openreview | 1.7k | 18 repos | ~1k | Automated safety check: Pass | None | |
| Next Upgradevercel-labs/openreview | 1.7k | 6 repos | ~502 | Automated safety check: Pass | None | |
| Create PRvercel/next.js | 143k | — | ~943 | Automated safety check: Pass | MIT | |
| Catalog Publishingepoko77-ai/design-diversity | 192 | — | ~775 | Automated safety check: Pass | Custom licence | |
| React Refactor Tournamentragnar-pwninskjold/tech-snacks | 136 | — | ~1.3k | Automated safety check: Pass | MIT |
vercel-labs/openreview
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
vercel-labs/openreview
Upgrade Next.js to the latest version following official migration guides and codemods
vercel/next.js
Create Git branches, commits, pushes, and GitHub pull requests for Next.js.
epoko77-ai/design-diversity
검증 통과한 디자인 팩을 GitHub 공개 레포로 구조화하고, 팩을 탐색·필터·복사할 수 있는 Next.js 카탈로그 웹사이트로 빌드해 Vercel에 배포하는 방법론 스킬.
ragnar-pwninskjold/tech-snacks
Review React/Next.js code against the real vercel-react-best-practices skill, backlog the performance findings keyed to actual rule ids + impact tiers, rank the most over-subscribed tiers, then fix…
affaan-m/ECC
React and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https://github.com/vercel-labs/agent-skills).
Categories
Next.js App Router expert guidance. An agent skill from leonvanzyl/opencode-masterclass. Nextjs is an agent skill from leonvanzyl/opencode-masterclass.js App Router expert guidance.
Nextjs fits situations like: architecting Next.js applications — routing; server Components; cache Components; middleware/proxy.
Run `npx skills add leonvanzyl/opencode-masterclass --skill nextjs -a claude-code`. Or copy the skill folder (.agents/skills/nextjs in leonvanzyl/opencode-masterclass) into .claude/skills/nextjs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add leonvanzyl/opencode-masterclass --skill nextjs -a codex`. Or copy the skill folder (.agents/skills/nextjs in leonvanzyl/opencode-masterclass) into .agents/skills/nextjs in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add leonvanzyl/opencode-masterclass --skill nextjs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nextjs, .gemini/skills/nextjs, .github/skills/nextjs and .opencode/skills/nextjs in your project.
SKILL.md names no scripts, command-line tools or credentials: Nextjs is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
No licence was found for Nextjs or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 4.5k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 20k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Nextjs: Next Best Practices (vercel-labs/openreview, 1.7k stars), Next Upgrade (vercel-labs/openreview, 1.7k stars), Create PR (vercel/next.js, 143k stars) and Catalog Publishing (epoko77-ai/design-diversity, 192 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
leonvanzyl (a GitHub user) maintains it in leonvanzyl/opencode-masterclass, which has 124 GitHub stars. The repository was last updated on May 5, 2026.
Source: leonvanzyl/opencode-masterclass on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.