ai-chat
Build a complete AI chat application with database persistence, chat list management, and automatic title generation.
How do I install this agent skill?
npx skills add https://github.com/andrelandgraf/fullstackrecipes --skill ai-chatIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
This skill downloads multiple recipes from an untrusted external domain (fullstackrecipes.com) using curl commands. While the commands currently only fetch data, interacting with unknown third-party sources poses a risk of instruction injection or downloading malicious content.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · No issues
- Runlayerfail
1/1 file flagged
What does this agent skill do?
AI Chat
Build a complete AI chat application with database persistence, chat list management, and automatic title generation.
Prerequisites
Complete these recipes first (in order):
Type-Safe Environment Configuration with better-env
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
Neon + Drizzle 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
Next.js on Vercel
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
Shadcn UI & Theming
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
Authentication
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
URL State with nuqs
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
Pino Logging 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
Workflow Development Kit 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
Cookbook - Complete These Recipes in Order
AI Chat Persistence with Neon
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
Chat List & Management
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
Automatic Chat Naming
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
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/andrelandgraf/fullstackrecipes/ai-chat">View ai-chat on skillZs</a>