Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

nextjs-stackNext.js stack 搜索

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

823

周安装

35

GitHub Stars

11

下载量

288
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nextjs-stack(Next.js stack 搜索)
来源仓库:https://github.com/fusengine/agents
仓库路径:skills/nextjs-stack
安装命令:
npx skills add https://github.com/fusengine/agents --skill nextjs-stack
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/fusengine/agents --skill nextjs-stack

简介

用于查找和筛选 Next.js 相关技术栈信息,辅助项目选型决策。

  • 适合在 Codex、Claude、Cursor 等宿主中根据关键词快速定位候选方案。
  • 使用时需结合项目需求和团队技能,评估技术组合的可行性。
  • 安装方式:GitHub 仓库,命令为 npx skills add <repo> --skill nextjs-stack。
  • 注意:需确认权限范围和维护状态,避免触发不必要的文件读写或网络请求。

SKILL.md

Next.js Complete Stack

Master skill combining all framework documentation for modern Next.js development.

Agent Workflow (MANDATORY)

Before ANY implementation, use TeamCreate to spawn 3 agents:

  1. fuse-ai-pilot:explore-codebase - Analyze project structure and existing patterns
  2. fuse-ai-pilot:research-expert - Verify latest docs for all stack technologies
  3. mcp__context7__query-docs - Check integration compatibility

After implementation, run fuse-ai-pilot:sniper for validation.


Overview

When to Use

  • Starting a new Next.js 16 project from scratch
  • Need the complete recommended technology stack
  • Building production applications with authentication
  • Implementing forms, state management, and UI components
  • Understanding how all parts fit together

Technology Stack

LayerTechnologySkill Reference
FrameworkNext.js 16 (App Router)nextjs-16
Database ORMPrisma 7prisma-7
AuthenticationBetter Auth 1.2better-auth
UI Componentsshadcn/ui 3.8.0nextjs-shadcn
FormsTanStack Formnextjs-tanstack-form
StateZustandnextjs-zustand
StylingTailwind CSS 4tailwindcss
i18nnext-intl 4.0nextjs-i18n

Stack Decisions

Why These Technologies

ChoiceReason
Better Auth over NextAuth.jsTypeScript-first, plugin system, self-hosted
Prisma 7 over DrizzleMature ecosystem, migrations, studio
TanStack Form over React Hook FormModern API, server actions, type safety
Zustand over Redux/ContextMinimal boilerplate, SSR-friendly
shadcn/ui over MUI/ChakraCopy/paste ownership, Radix primitives

Forbidden Patterns

  • NextAuth.js - Use Better Auth instead
  • Pages Router - Use App Router for new projects
  • React Hook Form - Use TanStack Form
  • Client Components by default - Server Components first

SOLID Architecture

Project Structure

src/
├── app/                    # Route handlers only
│   ├── [locale]/          # i18n routing
│   ├── api/               # API routes
│   └── layout.tsx         # Root layout
├── modules/
│   ├── cores/             # Shared infrastructure
│   │   ├── i18n/          # Internationalization
│   │   ├── shadcn/        # UI components
│   │   ├── lib/           # Utilities (cn, etc.)
│   │   └── db/            # Prisma client
│   ├── auth/              # Authentication module
│   └── [feature]/         # Feature modules
└── proxy.ts               # Route protection

Module Pattern

Each feature module contains:

  • src/services/ - Business logic
  • src/hooks/ - React hooks
  • src/components/ - UI components
  • src/interfaces/ - TypeScript types

Integration Points

Authentication + Database

Better Auth integrates with Prisma adapter for user storage. Schema in prisma/schema.prisma includes User, Session, Account, Verification tables.

Forms + UI + Validation

TanStack Form with Zod validation using shadcn/ui Field components. Server Actions for form submission.

State + Server Components

Zustand stores for client state only. Server Components fetch data directly. No global state for server data.

i18n + Routing

next-intl with [locale] segment. proxy.ts handles locale detection and redirects.


Quick Reference

Next.js 16

FeatureReference
App Routernextjs-16/app-router.md
Server Componentsnextjs-16/server-components.md
Cachingnextjs-16/caching.md, cache-components.md
proxy.tsnextjs-16/proxy.md

Prisma 7

FeatureReference
Schemaprisma-7/schema.md
Clientprisma-7/client.md
Migrationsprisma-7/migrations.md
TypedSQLprisma-7/typed-sql.md

Better Auth

FeatureReference
Setupbetter-auth/installation.md
OAuthbetter-auth/providers/
Pluginsbetter-auth/plugins/
Prisma adapterbetter-auth/adapters/prisma.md

Best Practices

  1. Server Components default - Add 'use client' only when needed
  2. Colocate code - Keep related code in feature modules
  3. Type everything - Full TypeScript, no any
  4. Fetch where used - No prop drilling for data
  5. Validate at boundary - Zod schemas for all inputs
  6. Cache explicitly - Use use cache directive

Getting Started

  1. Review nextjs-16 for App Router fundamentals
  2. Set up prisma-7 for database
  3. Add better-auth for authentication
  4. Install nextjs-shadcn components
  5. Configure nextjs-i18n if multilingual
  6. Add nextjs-zustand for client state

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.24%
按下载量换算104

Claude

29.49%
按下载量换算85

Cursor

17.27%
按下载量换算50

Gemini CLI

8.58%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/fusengine/agents --skill nextjs-stack 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills