Next.js App Router
FreeBest practices for Next.js App Router apps: caching, tooling and server/client boundaries.
Purpose
Install the original Next.js App Router instruction file from github/awesome-copilot and use it in GitHub Copilot.
Procedure
--- name: copilot-nextjs description: Best practices for Next.js App Router apps: caching, tooling and server/client boundaries. ---
Next.js App Router
Purpose
Install the original Next.js App Router instruction file from github/awesome-copilot and use it in GitHub Copilot.
Procedure
Source: https://github.com/github/awesome-copilot/blob/main/instructions/nextjs.instructions.md Maintainer: GitHub (github/awesome-copilot). Skilling lists this instruction file; the original lives in that repository.
Install
mkdir -p .github/instructions curl -fsSL https://raw.githubusercontent.com/github/awesome-copilot/main/instructions/nextjs.instructions.md -o .github/instructions/nextjs.instructions.md
Run this in the root of your repository. Copilot applies the file to the paths in its applyTo line. Commit the file so the whole team gets it.
What it does
- Server and client boundaries
- Modern caching
- Aligned with Next.js 16
How to use it
Copilot applies it to your .ts, .tsx and .css files.
Example requests
1. Use Next.js App Router
Request: Copilot applies it to your .ts, .tsx and .css files. Expected: Server and client boundaries.
Dependencies
GitHub Copilot in a repository, and curl.
Compatibility
This document follows the Agent Skills layout (a folder named copilot-nextjs containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it.
Example prompts
Use Next.js App Router
Copilot applies it to your .ts, .tsx and .css files.
Expected: Server and client boundaries.
Choose the agent
This skill is installed for one agent at a time. Pick the section you are using.
Related
- Accessibility (WCAG 2.2)
Web accessibility standards based on WCAG 2.2 AA, with common anti-patterns, ARIA patterns and framework fixes.
- HTML/CSS Color Guide
Color usage and styling rules for HTML elements so designs stay accessible and professional.
- Tailwind v4 + Vite
Set up and use Tailwind CSS v4 in Vite projects with the official @tailwindcss/vite plugin.
Reviews
No reviews yet.
Sign in to review.
Report a problem
Inaccurate steps, an unsafe instruction, or a licensing concern.
Sign in to report.