ai-chat by andrelandgraf/fullstackrecipes
npx skills add https://github.com/andrelandgraf/fullstackrecipes --skill ai-chat构建一个完整的 AI 聊天应用,具备数据库持久化、聊天列表管理和自动标题生成功能。
首先完成以下步骤(按顺序):
使用 better-env 配置模块实现类型安全的服务器/公共环境变量访问、功能标志以及“二者选一”的凭证约束。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/config-schema-setup
使用 Drizzle ORM 将 Next.js 应用连接到 Neon Postgres,并为 Vercel 无服务器函数优化连接池。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/neon-drizzle-setup
创建一个运行在 Bun 上的 Next.js 应用,配置开发环境,并部署到 Vercel,实现推送时自动部署。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/nextjs-on-vercel
使用 next-themes 添加支持深色模式的 Shadcn UI 组件。包括主题提供者和 CSS 变量配置。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/shadcn-ui-setup
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
使用 Better Auth 构建完整的身份验证系统,包括电子邮件验证、密码重置、受保护路由和账户管理。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/authentication
将 React 状态同步到 URL 查询参数,以实现可共享的过滤器、搜索查询和模态对话框的深度链接。在浏览器前进/后退导航时保留 UI 状态。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/nuqs-setup
使用 Pino 配置结构化日志记录。在开发环境中输出人类可读的彩色日志,在生产环境中输出结构化 JSON 以供日志聚合服务使用。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/pino-logging-setup
安装并配置工作流开发工具包,用于构建可恢复、持久化的 AI 智能体工作流,支持步骤级持久化、流恢复和智能体编排。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/workflow-setup
将 AI 聊天对话持久化到 Neon Postgres,全面支持 AI SDK 消息部分,包括工具、推理和流式传输。使用 UUID v7 生成可按时间顺序排序的 ID。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/ai-chat-persistence
构建一个具有搜索、重命名和删除功能的聊天列表页面。使用 nuqs 实现 URL 同步的过滤器和可深度链接的模态对话框。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/chat-list
使用快速 LLM 根据第一条消息生成描述性的聊天标题。在主响应之后作为后台工作流步骤运行,以避免延迟用户体验。
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/chat-naming
每周安装量
86
代码仓库
GitHub 星标数
8
首次出现
2026年1月21日
安全审计
安装于
opencode71
codex65
cursor63
gemini-cli59
github-copilot50
claude-code47
Build a complete AI chat application with database persistence, chat list management, and automatic title generation.
Complete these recipes first (in order):
Use better-env config modules for type-safe server/public env access, feature flags, and either-or credential constraints.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/config-schema-setup
Connect a Next.js app to Neon Postgres using Drizzle ORM with optimized connection pooling for Vercel serverless functions.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/neon-drizzle-setup
Create a Next.js app running on Bun, configure the development environment, and deploy to Vercel with automatic deployments on push.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/nextjs-on-vercel
Add Shadcn UI components with dark mode support using next-themes. Includes theme provider and CSS variables configuration.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/shadcn-ui-setup
Complete authentication system with Better Auth, email verification, password reset, protected routes, and account management.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/authentication
Sync React state to URL query parameters for shareable filters, search queries, and deep links to modal dialogs. Preserves UI state on browser back/forward navigation.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/nuqs-setup
Configure structured logging with Pino. Outputs human-readable colorized logs in development and structured JSON in production for log aggregation services.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/pino-logging-setup
Install and configure the Workflow Development Kit for resumable, durable AI agent workflows with step-level persistence, stream resumption, and agent orchestration.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/workflow-setup
Persist AI chat conversations to Neon Postgres with full support for AI SDK message parts including tools, reasoning, and streaming. Uses UUID v7 for chronologically-sortable IDs.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/ai-chat-persistence
Build a chat list page with search, rename, and delete functionality. Uses nuqs for URL-synced filters and deep-linkable modal dialogs.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/chat-list
Generate descriptive chat titles from the first message using a fast LLM. Runs as a background workflow step after the main response to avoid delaying the experience.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/chat-naming
Weekly Installs
86
Repository
GitHub Stars
8
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykWarn
Installed on
opencode71
codex65
cursor63
gemini-cli59
github-copilot50
claude-code47
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
116,600 周安装