Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)48k · #5300

nextjs-app-router-patterns

Skill này làm gì

Công cụ này giúp xây dựng ứng dụng web hiện đại bằng Next.js, tập trung vào tổ chức mã và tận dụng các tính năng mới của React để đạt hiệu năng tốt nhất.

Khi nào nên dùng

  • ✓Khi bắt đầu một dự án Next.js mới.
  • ✓Khi chuyển một dự án cũ sang cấu trúc Next.js mới.
  • ✓Khi muốn dùng các tính năng nâng cao như component phía máy chủ.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/nextjs-app-router-patterns/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/nextjs-app-router-patterns/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi nên tổ chức mã Next.js của mình như thế nào cho một ứng dụng thương mại điện tử?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng các thực hành tốt nhất và ví dụ mã để chỉ cho bạn cách cấu trúc dự án Next.js. Nó hướng dẫn bạn từng bước để triển khai các tính năng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Next.js App Router Patterns

Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

Use this skill when

  • Building new Next.js applications with App Router
  • Migrating from Pages Router to App Router
  • Implementing Server Components and streaming
  • Setting up parallel and intercepting routes
  • Optimizing data fetching and caching
  • Building full-stack features with Server Actions

Do not use this skill when

  • The task is unrelated to next.js app router patterns
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Câu hỏi thường gặp

“Server Components” là gì?

Đó là các phần của ứng dụng chạy trực tiếp trên máy chủ, giúp website nhanh hơn và an toàn hơn.

“App Router” là gì?

Đây là cách mới nhất để tổ chức các trang và đường dẫn (route) trong ứng dụng Next.js.

Tôi có cần là lập trình viên giỏi để dùng công cụ này không?

Nên có kiến thức cơ bản về lập trình web, đặc biệt với React, để tận dụng tốt nhất công cụ này.

Chi tiết

Mô tả gốc của tác giả

Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5300
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự