Agent Skills: tidbx-javascript-mysqljs

Connect to TiDB from JavaScript/Node.js using the mysqljs/mysql driver (npm package: mysql). Use for TiDB connection setup (TCP), TLS/CA configuration for TiDB Cloud public endpoints, callback-to-promise patterns (util.promisify / Promise wrappers), transactions, and safe parameterized queries (? placeholders) with small runnable connection/CRUD templates.

UncategorizedID: pingcap/agent-rules/tidbx-javascript-mysqljs

Install this agent skill to your local

pnpm dlx add-skill https://github.com/pingcap/agent-rules/tidbx-javascript-mysqljs

Skill Files

Browse the full folder contents for tidbx-javascript-mysqljs.

Download Skill

Loading file tree…

Select a file to preview its contents.