跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Postgres State Adapter

Skill 已验证
98

Postgres state adapter for chat (production)

AI 摘要

This adapter provides state persistence for chat applications using PostgreSQL as the primary datastore, supporting features like persistence, multi-instance usage, distributed locking, and key-value caching with Time-To-Live (TTL). It can auto-detect connection URLs or use an existing `pg.Pool` instance.

安装

npx skills add vercel/chat

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

更新于 6 days ago
查看源代码

类似扩展

Prisma Postgres Setup

99

Set up a new Prisma Postgres database and connect it to a local project using the Management API. Use when asked to "set up a database", "create a Prisma Postgres project", "get a connection string", "connect my app to Prisma Postgres", or "provision a database".

Skill
prisma

Chat Redis State Adapter

95

Redis state adapter for chat (production)

Skill
vercel

Prisma Postgres

95

Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK. Use when creating Prisma Postgres databases, working in Prisma Console, provisioning with create-db/create-pg/create-postgres, or integrating programmatic provisioning with service tokens or OAuth.

Skill
prisma

Tandem Panel Scaffold

100

Scaffold an editable Tandem control panel app

Skill
frumu-ai

ESLint Plugin React Hooks

99

ESLint rules for React Hooks

Skill
facebook

Fastify Best Practices

98

Guides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication, configuring CORS and security headers, integrating databases, working with WebSockets, and deploying to production. Covers the full Fastify request lifecycle (hooks, serialization, logging with Pino) and TypeScript integration via strip types. Trigger terms: Fastify, Node.js server, REST API, API routes, backend framework, fastify.config, server.ts, app.ts.

Skill
mcollina