Token导航 LogoToken导航

Agent Skill · 前端设计

nextjs-fullstack-scaffold(Next.js fullstack scaffold 前端)

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

nextjs-fullstack-scaffold 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 8,447。

总安装 285周安装 12GitHub Stars 3下载 385核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/hopeoverture/worldbuilding-app-skills --skill nextjs-fullstack-scaffold

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于快速搭建 Next.js 全栈项目的初始结构。包含目录组织、基础组件与依赖预配置。适合新项目启动时的标准化模板生成。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。可根据团队技术栈定制脚手架选项,提升初始化效率。

nextjs-fullstack-scaffold 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/nextjs-fullstack-scaffold

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/hopeoverture/worldbuilding-app-skills --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

nextjs-fullstack-scaffold 怎么安装?

在终端执行 npx skills add https://github.com/hopeoverture/worldbuilding-app-skills --skill nextjs-ful…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

nextjs-fullstack-scaffold 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

nextjs-fullstack-scaffold 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

nextjs-fullstack-scaffold 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

nextjs-fullstack-scaffold 用的人多吗?

公开数据是累计安装 285 次,近一周安装 12 次,下载 385 次,GitHub 3 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

nextjs-fullstack-scaffold 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
nextjs-fullstack-scaffold

Next.js fullstack scaffold 前端 · 本页

2853接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Next.js Full-Stack Scaffold

To scaffold a production-grade Next.js 16 full-stack application with modern tooling and best practices, follow these steps systematically.

Prerequisites Check

Before scaffolding, verify the target directory:

  1. Confirm the current working directory is where files should be generated
  2. Check if directory is empty or if user wants to override existing files
  3. Confirm user wants to proceed with scaffold generation

Step 1: Gather Project Information

Prompt the user for the following details using the AskUserQuestion tool:

  • Project name (for package.json)
  • Project description
  • Author name

Use sensible defaults if user prefers to skip.

Step 2: Create Folder Structure

Create the complete folder structure as defined in assets/folder-structure.txt. Generate all necessary directories by writing files to them (directories are created automatically).

Step 3: Generate Configuration Files

Create all configuration files in the project root. Consult references/stack-architecture.md for architectural guidance.

Essential Config Files

Generate these files using Write tool:

  • package.json - Use template from assets/templates/package.template.json, replacing placeholders
  • tsconfig.json - TypeScript config with strict mode and path aliases
  • next.config.ts - Next.js configuration with server actions
  • tailwind.config.ts - Tailwind v4 with dark mode and shadcn/ui colors
  • postcss.config.mjs - PostCSS with Tailwind plugin
  • eslint.config.mjs - ESLint v9 flat config
  • prettier.config.js - Prettier with Tailwind plugin
  • .gitignore - Standard Next.js ignore patterns
  • .env.example - Environment variable template
  • vitest.config.ts - Vitest test configuration
  • playwright.config.ts - Playwright E2E configuration

Step 4: Generate App Router Files

Create all Next.js app router files following RSC conventions.

Root Files

  • app/layout.tsx - Root layout with metadata and providers
  • app/page.tsx - Landing page
  • app/globals.css - Tailwind directives and CSS variables

Authentication Routes

  • app/(auth)/layout.tsx - Auth layout (centered)
  • app/(auth)/login/page.tsx - Login page with form

Protected Routes

  • app/(protected)/layout.tsx - Protected layout with auth check
  • app/(protected)/dashboard/page.tsx - Dashboard with stats
  • app/(protected)/profile/page.tsx - User profile page
  • app/(protected)/data/page.tsx - Data table page

API Routes

  • app/api/data/route.ts - Example API endpoint

Middleware

  • middleware.ts - Supabase auth middleware

Step 5: Generate UI Components

Create shadcn/ui components in components/ui/:

  • button.tsx, card.tsx, input.tsx, label.tsx, form.tsx, table.tsx, dropdown-menu.tsx, avatar.tsx

Create custom components:

  • components/providers.tsx - App providers with Toaster
  • components/layout/header.tsx - Header with navigation
  • components/layout/sidebar.tsx - Sidebar navigation
  • components/layout/nav.tsx - Navigation links
  • components/auth/login-form.tsx - Login form with RHF + Zod
  • components/auth/auth-button.tsx - Sign in/out button
  • components/dashboard/stats-card.tsx - Stats display card
  • components/dashboard/data-table.tsx - Interactive data table

All components must be TypeScript and accessible.

Step 6: Generate Lib Files

Create utility and action files:

Utilities

  • lib/utils.ts - cn() function and utilities
  • lib/prisma.ts - Prisma client singleton

Supabase Clients

  • lib/supabase/client.ts - Client-side Supabase client
  • lib/supabase/server.ts - Server-side Supabase client
  • lib/supabase/middleware.ts - Middleware helper

Server Actions (all must start with 'use server')

  • lib/actions/auth.ts - signIn(), signOut()
  • lib/actions/user.ts - updateProfile()
  • lib/actions/data.ts - CRUD operations

Validation Schemas (Zod)

  • lib/validations/auth.ts - Login/signup schemas
  • lib/validations/user.ts - Profile update schema
  • lib/validations/data.ts - Data CRUD schemas

Step 7: Generate Prisma Schema

Create prisma/schema.prisma:

  • PostgreSQL datasource with connection pooling
  • User model (id, email, name, timestamps)
  • Item model (example data model with relations)
  • Proper indexes and constraints

Create prisma/seed.ts:

  • TypeScript seed script
  • Sample users and items

Step 8: Generate Tests

Create test files:

  • tests/unit/utils.test.ts - Unit test for utilities
  • tests/integration/auth.test.tsx - Integration test for auth
  • tests/e2e/login.spec.ts - E2E test for login flow

Step 9: Generate CI Workflow

Create .github/workflows/ci.yml:

  • Lint, type check, test, build jobs
  • Run on push and PR

Step 10: Generate README

Create comprehensive README.md with:

  • Project overview and tech stack
  • Prerequisites and installation steps
  • Environment setup instructions
  • Database setup (Prisma commands)
  • Development and testing commands
  • Deployment guide
  • Folder structure explanation

Step 11: Final Verification

After generating all files:

  1. Confirm all files were created successfully
  2. List the folder structure for user review
  3. Provide next steps for installation and setup

Implementation Notes

TypeScript

  • All files must use TypeScript
  • Proper type annotations
  • No any types unless necessary

Server Components

  • Use Server Components by default
  • Only add "use client" when required for interactivity

Accessibility

  • Use shadcn/ui accessible components
  • Include ARIA labels
  • Ensure keyboard navigation

Security

  • Validate inputs with Zod
  • Use Server Actions for mutations
  • Never expose secrets to client

Consulting References

Throughout scaffolding:

  • Consult references/stack-architecture.md for patterns
  • Consult references/implementation-checklist.md to track progress

Completion

When finished:

  1. Summarize what was created
  2. List all major files and directories
  3. Provide next steps
  4. Offer to answer questions

平台分布

Codex

35.12%
按下载量换算135

Claude

30.54%
按下载量换算118

Cursor

17.43%
按下载量换算67

Gemini CLI

9.33%
按下载量换算36

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills