内置门户、管理后台、Capacitor 壳与 Expo 移动端四个应用
stackkeel — Next.js 后台模板
作者 chenson42
Stackkeel 是一个基于 Next.js 的开源 monorepo 起始套件,内置门户、管理后台、认证、RBAC、审计日志、邮件队列、帮助台、动态主题与移动端基础,并围绕 AGENTS.md 与 Agent Skills 提供跨 AI 助手的开发流程。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
认证与安全:NextAuth v5、TOTP 2FA、账户锁定、限流、OIDC 槽位
运营能力:追加式审计日志、功能开关、健康端点、清理定时任务
沟通与支持:重试邮件队列、应用内反馈、工单升级与帮助台
品牌主题:单一种子色生成符合 WCAG 的明暗主题,含管理端编辑器
AI 工作流:AGENTS.md 与 Agent Skills,六阶段流水线由 git hooks 和 CI 执行
模板详细介绍
Stackkeel 是面向 AI 辅助软件开发的开源 Next.js monorepo 起始套件。README 说明它提供已构建并测试的模块:门户(apps/portal)、管理后台(apps/admin)、Capacitor 壳(apps/shell)、Expo 移动端(apps/mobile),以及认证(NextAuth v5、TOTP 2FA、账户锁定、限流、OIDC 槽位)、角色与权限、审计日志、功能开关、重试邮件队列、支持工单、运行时主题和移动设备令牌认证。技术栈包括 Next.js、React、TypeScript、Tailwind、Drizzle + Postgres、Turborepo + pnpm、Vitest + Playwright。
该套件强调 AI 工作流位于仓库内:通过 AGENTS.md 和 Agent Skills 提供六阶段开发流水线,并由 git hooks 与 CI 执行门禁,不绑定特定模型。配套生命周期命令包括 /personalize(裁剪模块)、/upstream-sync(拉取套件更新)和 /downstream-sync(回馈通用修复)。
README 给出快速开始步骤:复制模板后运行 pnpm install,在 AI 助手中完成 /personalize,配置 .env.local,执行数据库迁移与种子,再运行 pnpm dev(门户 :3000,管理后台 :3001)。要求 Node ≥ 22、pnpm 10、Postgres(推荐 Neon);Resend、Upstash、Turnstile、Google/OIDC 等可选服务未配置时可降级。状态为 v0.1(2026 年 9 月),MIT 许可。README 未提供性能数据、生产环境部署细节或各模块的具体实现说明。
适合你的项目吗?
适用场景
- 需要快速启动包含认证、RBAC 和审计日志的 Next.js 全栈项目
- 希望使用 Claude Code、Codex、Copilot、Cursor 或 Gemini CLI 等助手协作开发,且不绑定单一模型
- 需要同时提供 Web 门户、管理后台以及 Capacitor/Expo 移动端基础
- 需要内置邮件队列、帮助台工单和动态主题等运营与品牌模块
- 希望通过 /upstream-sync 和 /downstream-sync 管理套件更新与回馈
适合人群
- 使用 Next.js 与 TypeScript 构建多应用 monorepo 的团队
- 采用 AI 辅助开发并希望将流程固化在仓库中的开发者
- 需要开箱即用的认证、权限、审计与支持工单基础的项目
- 接受 Node ≥ 22、pnpm 10 与 Postgres 环境要求的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
通过 GitHub “Use this template” 复制模板后运行 pnpm install,该命令同时安装 git hooks
- 2
在 AI 助手中打开仓库,按提示完成 /personalize(身份、应用、功能、品牌)
- 3
从 .env.example 配置 .env.local,然后执行 pnpm --filter @repo/db db:migrate 与 db:seed
- 4
运行 pnpm dev,门户默认 :3000,管理后台默认 :3001
- 5
环境要求 Node ≥ 22、pnpm 10、Postgres(推荐 Neon);Resend、Upstash、Turnstile、Google/OIDC 等可选服务未配置时可降级
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
- 运行环境要求 Node ≥ 22、pnpm 10 与 Postgres(推荐 Neon);Resend、Upstash、Turnstile、Google/OIDC 等可选服务未配置时可降级。
- Resend、Upstash、Turnstile、Google/OIDC 等可选服务需要相应凭据;未配置时相关功能会降级。
- 需通过 GitHub “Use this template” 复制模板后使用,而非直接克隆。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Requirements: Node ≥ 22, pnpm 10, Postgres (Neon recommended). Optional services
README 原文
(Resend, Upstash, Turnstile, Google/OIDC credentials) degrade gracefully when
README 原文
https://github.com/chenson42/stackkeel/blob/main/LICENSEhttps://github.com/chenson42/stackkeel/blob/main/README.md# 1. Copy the template (GitHub "Use this template"), then:
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-14。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 88 / 100
- 技术栈
- Next.js · React
- 网站类型
- 后台 · 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-10-08
- 截图检查日期
- 2026-10-14
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: codex-user-requested-batch-review-20261015 · 2026-10-15
查看当时使用的来源资料
SHA-256: 6700fe83e3dbcea065f4f96236241e8a1e3c0ba1a168e7bdad553ac4eb827cd3
2026-10-14T23:08:53.459Z
来源文件 / 仓库# Stackkeel  **Production-ready apps. AI-native development. No model lock-in.** *The keel is the first thing a shipyard lays down — the spine the whole vessel is built on. Stackkeel is that keel for your stack.* Stackkeel is an open-source Next.js monorepo starter kit built for AI-assisted software development. Start with a production-ready portal, admin app, authentication, RBAC, audit logging, queued email, a helpdesk, dynamic theming, and mobile foundations. Then build with Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, or any assistant that reads [AGENTS.md](https://agents.md) and [Agent Skills](https://agentskills.io). [](https://github.com/chenson42/stackkeel/actions/workflows/ci.yml) [](https://github.com/chenson42/stackkeel/releases) [](./LICENSE)  **[Documentation](https://stackkeel.org)** · **[Get started](https://stackkeel.org/getting-started/)** · **[Why Stackkeel](https://stackkeel.org/why-stackkeel/)** ## Why Stackkeel? 1. **You don't start from an empty repo.** Auth (credentials, Google, native Google ID-token, generic OIDC), TOTP 2FA, account lockout, roles and permissions with anti-lockout guarantees, an audit log with CI-enforced coverage, feature flags, a retrying email queue, a real support-ticket system, runtime theming with WCAG contrast guarantees, and device-token mobile auth are already built and tested. 2. **The AI workflow lives in the repository.** A structured six-phase development pipeline with work logs, evidence discipline, and gates enforced by git hooks and CI, not by any one assistant's goodwill. 3. **No model lock-in.** Instructions in `AGENTS.md`, procedures as Agent Skills, enforcement in git + CI. Use Claude today and Codex tomorrow; the project treats them identically. ## What you get | | | |---|---| | **Apps** | `apps/portal` (member-facing) · `apps/admin` (control plane) · `apps/shell` (Capacitor iOS/Android) · `apps/mobile` (Expo) | | **Identity & security** | NextAuth v5, TOTP 2FA + recovery codes, lockout, rate limiting, OIDC slot | | **Access control** | Feature catalog in code, role matrix UI, admin anti-lockout | | **Operations** | Append-only audit log, feature flags, health endpoints, cleanup crons | | **Communication** | Queued email (retry/backoff, delivery webhooks), What's New announcements | | **Support** | In-app feedback, promote-to-ticket, threaded helpdesk with triage queue | | **Branding** | One seed color → WCAG-safe light/dark themes, admin branding editor | | **Stack** | Next.js 16 · React 19 · TypeScript · Tailwind 4 · Drizzle + Postgres · Turborepo + pnpm · Vitest + Playwright | ## A starter kit that stays current The kit has a lifecycle, not just a download: personalization strips the modules you don't want, `/upstream-sync` pulls kit improvements as a reviewable punch-list, and `/downstream-sync` packages your generic fixes for contribution back. ## Works with Claude Code · OpenAI Codex · GitHub Copilot · Cursor · Gemini CLI, and any other tool that reads AGENTS.md and the Agent Skills `SKILL.md` format. [How the cross-assistant layer works.](https://stackkeel.org/cross-ai/) ## Quickstart ```bash # 1. Copy the template (GitHub "Use this template"), then: pnpm install # also installs the git hooks # 2. Open the repo in your AI assistant — it detects the fresh copy and # walks you through /personalize (identity, apps, features, branding). # 3. Configure .env.local from .env.example, then: pnpm --filter @repo/db db:migrate && pnpm --filter @repo/db db:seed pnpm dev # portal :3000, admin :3001 ``` Requirements: Node ≥ 22, pnpm 10, Postgres (Neon recommended). Optional services (Resend, Upstash, Turnstile, Google/OIDC credentials) degrade gracefully when unconfigured. ## Status v0.1, September 2026. New, and built end-to-end by the workflow it ships: every feature went through the six-phase pipeline, and the release was verified with more than 1,000 unit tests plus Playwright smoke suites against a live Postgres. MIT licensed. Contributions arrive as [contribution-kit specs](https://stackkeel.org/sync/) via PR.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

ai-website-cloner-template
Clone any website with one command using AI coding agents
Next.js · 启动器

Next.js SaaS Starter
Next.js SaaS Starter 是 Next.js 官方维护的 SaaS 起点模板,定位介于学习资源和可直接部署的脚手架之间。
Next.js · SaaS

Next.js Commerce
Next.js Commerce 是 Vercel 团队维护的电商启动模板,基于 Next.js App Router 构建,采用服务端渲染、React Server Components、Server Actions …
Next.js · 电商

Next-js-Boilerplate
Next-js-Boilerplate 是一个面向 Next.js 16、Tailwind CSS 4 和 TypeScript 的启动器,核心定位是开发者体验优先。
Next.js · 启动器

tailwind-nextjs-starter-blog
tailwind-nextjs-starter-blog 是一个面向个人技术博客的 Next.js 与 Tailwind CSS 启动模板,其 v2 版本基于 App Router 与 React Server Comp…
Next.js · 博客

next-forge
Production-grade Turborepo template for Next.js apps.
Next.js · 启动器
