tidbx-kysely
✓使用 TiDB Cloud (TiDB X) 设置 Kysely,包括针对无服务器或边缘环境的 TiDB Cloud 无服务器 HTTP 驱动程序上的 @tidbcloud/kysely,以及标准 TCP 使用。用于 Kysely + TiDB Cloud 连接设置、演示片段和特定于环境的指导。
SKILL.md
Use this skill when a user wants to connect Kysely to TiDB Cloud (TiDB X). Default to standard TCP (Node server/runtime). Only use the TiDB Cloud serverless driver over HTTP for serverless or edge runtimes.
Use this for Node servers, long-lived runtimes, or when TCP is available. This is the primary path unless the user explicitly needs serverless/edge. Uses TCP with a mysql2 pool.
Use this only when the runtime cannot keep TCP connections (serverless/edge). Requires the TiDB Cloud serverless driver and Starter/Essential clusters. Use from backend services only (browser origins may be blocked by CORS). See references/serverless-kysely-tutorial.md for the full walkthrough.
使用 TiDB Cloud (TiDB X) 设置 Kysely,包括针对无服务器或边缘环境的 TiDB Cloud 无服务器 HTTP 驱动程序上的 @tidbcloud/kysely,以及标准 TCP 使用。用于 Kysely + TiDB Cloud 连接设置、演示片段和特定于环境的指导。 来源:pingcap/agent-rules。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/pingcap/agent-rules --skill tidbx-kysely- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 tidbx-kysely?
使用 TiDB Cloud (TiDB X) 设置 Kysely,包括针对无服务器或边缘环境的 TiDB Cloud 无服务器 HTTP 驱动程序上的 @tidbcloud/kysely,以及标准 TCP 使用。用于 Kysely + TiDB Cloud 连接设置、演示片段和特定于环境的指导。 来源:pingcap/agent-rules。
如何安装 tidbx-kysely?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/pingcap/agent-rules --skill tidbx-kysely 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/pingcap/agent-rules
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01