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.
ID: pingcap/agent-rules/tidbx-javascript-mysqljs
Install this agent skill to your local
Skill Files
The files that make up tidbx-javascript-mysqljs.
More agent skills
- azure-communication-common-javaAzure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.
- code-reviewerYou MUST use this when asked to review code: a pull request, a branch, a commit, staged or uncommitted changes, or \"check this before I merge\". Scopes the review to the diff, reads the surrounding code, hunts for real bugs (correctness, security, data loss, concurrency, broken callers, missing tests), verifies every finding against the code before reporting it, and returns a short severity-ranked list with a concrete failure scenario for each. Use it for any language; not for writing new code or for style-only cleanups.
- dart-mechanical-refactorDART Mechanical Refactor: perform a behavior-preserving mechanical refactor
- create-planCreate a concise plan. Use when a user explicitly asks for a plan related to a coding task.
- iterate-prIterate on a PR until actionable CI passes and high/medium review feedback is addressed. Use for PR CI failures, review feedback, or green-check loops; do not wait for human approval, draft status, or merge gates.
- react-flowReact Flow (@xyflow/react) for workflow visualization with custom nodes and edges. Use when building graph visualizations, creating custom workflow nodes, implementing edge labels, or controlling viewport. Triggers on ReactFlow, @xyflow/react, Handle, NodeProps, EdgeProps, useReactFlow, fitView.