Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Postgres State Adapter

Skill Verifiziert
98

Postgres state adapter for chat (production)

KI-Zusammenfassung

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.

Installation

npx skills add vercel/chat

Führt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.

about 23 hours ago
1.9k stars
MIT
Aktualisiert about 15 hours ago
Quellcode ansehen

Ähnliche Erweiterungen

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