Skip to content
TrustedSkillsbeta
Back to all skills

Nextjs App Router Patterns

Listed
ravinani02·vlatest·frontend

Helps with Next.js, patterns as part of building frontend UIs and user experiences workflows.

Install on your platform

This skill no longer installs under the name nextjs-app-router-patterns. ravinani02/opencode-agent-skills is deleted or private, so it cannot be installed from.

We check each listing against its upstream repository with the rules the skills CLI uses, last on 2026-10-22. We don't show a command we know will fail.

Repository install instructions

What we know about this skill

Publisher

ravinani02

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

Nobody has reviewed this code. TrustedSkills indexes and links skills; it does not audit, run or scan them. A skill runs with whatever access you give your agent — read the source before you install it.

Automated safety checks

scanned

We could not read this skill's source, so none of the checks below were run.

Not scanned. repository not found or private Source recorded as ravinani02/opencode-agent-skills.
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

This skill provides patterns and best practices for utilizing the Next.js App Router, a modern approach to building web applications with React. It enables AI agents to generate code that leverages features like server components, route groups, and dynamic routes within Next.js projects. The skill aims to streamline development workflows by offering pre-built solutions for common routing scenarios.

When to use it

  • Creating Dynamic Routes: Generate the necessary file structure and code for displaying content based on parameters (e.g., /blog/[slug]).
  • Organizing Route Logic: Structure complex applications using route groups to encapsulate related pages and APIs.
  • Implementing Server Components: Generate components that fetch data directly on the server, improving performance and reducing client-side JavaScript.
  • Building API Routes: Quickly scaffold API endpoints within your Next.js application for handling backend logic.

Key capabilities

  • Next.js App Router patterns
  • Server Component generation
  • Route Group creation
  • Dynamic Route implementation
  • API route scaffolding

Example prompts

  • "Create a dynamic route in my Next.js app to display blog posts based on their slug."
  • "Generate a route group for managing user authentication within my Next.js application."
  • "Show me how to create an API endpoint that returns data from a database using a server component."

Tips & gotchas

  • Requires familiarity with basic Next.js concepts and React components.
  • The skill focuses on code generation; you may need to adapt the generated code to your specific project's needs.