Toolverse
All skills

nextjs-app-router-patterns

by wshobson

Master Next.js 14+ App Router with Server Components, streaming, parallel routes, and advanced data fetching. Use when building Next.js applications, implementing SSR/SSG, or optimizing React Server Components.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
wshobson
Category
Frontend
Views
37

About this skill

Master Next.js 14+ App Router with Server Components, streaming, parallel routes, and advanced data fetching. Use when building Next.js applications, implementing SSR/SSG, or optimizing React Server Components.

How to use

  1. Zainstaluj umiejętność w swoim środowisku agenta, wskazując ścieżkę do repozytorium wshobson/agents w katalogu skills/nextjs-app-router-patterns. 2. Zdefiniuj strukturę projektu Next.js zgodnie z konwencjami App Router: utwórz katalog app/ z plikami layout.tsx, page.tsx, loading.tsx, error.tsx i route.ts w zależności od potrzeb. 3. Wybierz odpowiedni tryb renderowania dla każdego komponentu: Server Components do pobierania danych i operacji serwerowych, Client Components do interaktywności i hooków React, Static do treści niezmiennych, Dynamic do danych spersonalizowanych. 4. Implementuj Server Actions dla funkcjonalności pełnostackowej, łącząc logikę serwerową z interfejsem użytkownika bez dodatkowych API. 5. Skonfiguruj streaming i Suspense boundaries dla progresywnego ładowania dużych stron i wolnych źródeł danych, używając pliku loading.tsx. 6. Zastosuj obsługę błędów i fallbacki za pomocą error.tsx i not-found.tsx, oraz rasy równoległe i przechwytujące dla zaawansowanych wzorców routingu.

Related skills

web-research

by langchain-ai

Use this skill for requests related to web research; it provides a structured approach to conducting comprehensive web research

Frontend
18114

frontend-slides

by sickn33

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual

Frontend
65135

theme-factory

by anthropics

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

Frontend
40139

better-icons

by better-auth

Use when working with icons in any project. Provides CLI for searching 200+ icon libraries (Iconify) and retrieving SVGs. Commands: `better-icons search u003cqueryu003e` to find icons, `better-icons get u003cidu003e` to get SVG. Also available as MCP server for AI agents.

Frontend
2037

screenshot-to-code

by OneWave-AI

Convert UI screenshots into working HTML/CSS/React/Vue code. Detects design patterns, components, and generates responsive layouts. Use this when users provide screenshots of websites, apps, or UI designs and want code implementation.

Frontend
94209

tailwind-design-system

by wshobson

Build scalable design systems with Tailwind CSS, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.

Frontend
2676