tidbx-serverless-driver
✓在 Node.js、无服务器和边缘环境中使用 TiDB Cloud Serverless Driver (Beta) 的指南。当使用 @tidbcloud/serverless 通过 HTTP 连接到 TiDB Cloud Starter/Essential 时,或者与 Vercel/Cloudflare/Netlify/Deno/Bun 中的 Prisma/Kysely/Drizzle 无服务器适配器集成时使用。使用此技能进行无服务器驱动程序设置和边缘运行时指导。
SKILL.md
Use this skill to guide users who need the TiDB Cloud serverless driver (Beta) in serverless or edge environments.
Serverless and edge runtimes often do not support long-lived TCP connections. Traditional MySQL drivers expect TCP, so they are a poor fit there. The TiDB Cloud serverless driver (Beta) uses HTTP instead, so it works in serverless and edge environments while keeping a similar developer experience.
Use the reference file for the canonical driver overview, examples, configuration, and limitations. Load only what you need, and use the table of contents to jump to the right section:
在 Node.js、无服务器和边缘环境中使用 TiDB Cloud Serverless Driver (Beta) 的指南。当使用 @tidbcloud/serverless 通过 HTTP 连接到 TiDB Cloud Starter/Essential 时,或者与 Vercel/Cloudflare/Netlify/Deno/Bun 中的 Prisma/Kysely/Drizzle 无服务器适配器集成时使用。使用此技能进行无服务器驱动程序设置和边缘运行时指导。 来源:pingcap/agent-rules。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/pingcap/agent-rules --skill tidbx-serverless-driver- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 tidbx-serverless-driver?
在 Node.js、无服务器和边缘环境中使用 TiDB Cloud Serverless Driver (Beta) 的指南。当使用 @tidbcloud/serverless 通过 HTTP 连接到 TiDB Cloud Starter/Essential 时,或者与 Vercel/Cloudflare/Netlify/Deno/Bun 中的 Prisma/Kysely/Drizzle 无服务器适配器集成时使用。使用此技能进行无服务器驱动程序设置和边缘运行时指导。 来源:pingcap/agent-rules。
如何安装 tidbx-serverless-driver?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/pingcap/agent-rules --skill tidbx-serverless-driver 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/pingcap/agent-rules