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