@tank/nextjs

Guide Next.js App Router development with server-first rendering and caching.

1|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/tankpkg/skills --skill tank-nextjs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: @tank/nextjs
Source: https://github.com/tankpkg/skills/tree/main/skills/nextjs
Command: npx skills add https://github.com/tankpkg/skills --skill tank-nextjs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to building modern web applications with Next.js, focusing on the App Router's server-first architecture, efficient data handling, and advanced routing patterns.

Core Features & Use Cases

  • Server-First Rendering: Learn to leverage Server Components and Server Actions for optimal performance and SEO.
  • Advanced Routing: Implement parallel routes, intercepting routes, and dynamic routing strategies.
  • Caching Strategies: Understand and implement Next.js's caching hierarchy for improved data fetching performance.
  • Use Case: Develop a complex e-commerce product page using Server Components for data fetching, Server Actions for adding items to the cart, and parallel routes to display related products and reviews side-by-side.

Quick Start

Use the nextjs skill to explain how to create a server component that fetches data.

Frequently Asked Questions about @tank/nextjs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch data in Next.js App Router using Server Components?

Next.js App Router uses a server-first architecture where Server Components fetch data directly during server-side rendering. This approach improves performance and SEO by executing data fetching logic on the server before sending HTML to the client.

What is the best way to handle form submissions in Next.js App Router?

Server Actions are the recommended way to handle form submissions in Next.js App Router. They allow you to write server-side mutation logic directly without creating separate API endpoints, streamlining data updates for e-commerce carts or similar interactive features.

How does caching work in Next.js and when should I configure it?

Next.js caching operates through a multi-layer hierarchy that optimizes data fetching performance. You should configure caching strategies when building performant React applications to minimize redundant network requests and reduce server load.

Can I display related products and reviews side-by-side using Next.js routing?

Parallel routes in Next.js App Router allow you to render multiple route segments simultaneously. This advanced routing pattern enables side-by-side display of independent page sections like related products and reviews on a complex e-commerce product page.

Does Next.js App Router support streaming for faster page loads?

Next.js App Router supports streaming to progressively send HTML to the browser as it renders. This mechanism reduces time to first byte and improves perceived performance for data-heavy React applications by displaying content incrementally.

When should I use Route Handlers instead of Server Actions in Next.js?

Route Handlers are used when you need to expose HTTP endpoints for third-party webhooks or external API consumption. Server Actions are preferred for client-side mutations within your React application, keeping data flow tightly coupled to your components.