skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

clickhouse-js-node-coding

Application development guide for the Node.js ClickHouse client.

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/ClickHouse/agent-skills --skill clickhouse-js-node-coding

Overview

What This Skill Does

Provides helper guides, configuration parameters, and query execution scripts for the ClickHouse Node.js client (@clickhouse/client).

Application

When to use this Skill

Documentation

Show Skills.md file

ClickHouse Node.js Client — Coding

Reference: https://clickhouse.com/docs/integrations/javascript

⚠️ Node.js runtime only. This skill covers the @clickhouse/client package running in a Node.js runtime exclusively — including Next.js Node runtime API routes, React Server Components, Server Actions, and standard Node.js processes. Do not apply this skill to browser client components, Web Workers, Next.js Edge runtime, Cloudflare Workers, or any usage of @clickhouse/client-web. For browser/edge environments, the correct package is @clickhouse/client-web.


How to Use This Skill

  1. Match the user's intent to a row in the Task Index below and read the corresponding reference file before writing code. After reading it, scan any Answer checklist in that reference and make sure the final answer covers each relevant item; those checklists capture details users usually need but are easy to omit in short answers.
  2. Always import from @clickhouse/client (never @clickhouse/client-web) and create a client with createClient({ url }) or rely on supported defaults when appropriate. Close it with await client.close() preferably when it's no longer needed or during graceful shutdown for global resources.
Lines 1 - 25 of 128

Recommendations

Explore other random skills

All skillsMy patterns