clickhouse-architecture-advisor

โดย clickhouse

ต้องใช้เมื่อออกแบบสถาปัตยกรรม ClickHouse เลือกระหว่างรูปแบบการนำเข้าข้อมูลหรือการสร้างแบบจำลอง หรือแปลแนวปฏิบัติที่ดีที่สุดไปสู่ระบบที่เฉพาะเจาะจงกับปริมาณงาน…

npx skills add https://github.com/clickhouse/agent-skills --skill clickhouse-architecture-advisor

ClickHouse Architecture Advisor

This skill adds workload-aware architecture decisioning on top of clickhouse-best-practices.

Official docs remain the source of truth. This skill must always prefer official ClickHouse documentation when available.

Required behavior

Before producing recommendations:

  1. Identify the workload shape
    • observability
    • security / SIEM
    • product analytics
    • IoT / telemetry
    • market data / financial services
    • mixed OLAP with point-lookups
  2. Read the relevant decision rule files in rules/
  3. Use mappings/doc_links.yaml to attach official documentation
  4. Classify every recommendation as:
    • official
    • derived
    • field
  5. Never present field guidance as official guidance
  6. If a recommendation is uncertain, say so explicitly

Provenance rules

official

Use this when the recommendation is directly backed by official docs.

derived

Use this when the recommendation is not stated verbatim in docs but follows logically from documented ClickHouse behavior.

field

Use this only for experience-based guidance that may be situational. When using field, include:

  • a disclaimer that the advice is heuristic
  • a relevant official doc if one partially applies
  • the reason the advice depends on workload context

Read these rule files by scenario

Real-time ingestion design

  1. rules/decision-ingestion-strategy.md
  2. rules/decision-real-time-preaggregation.md
  3. Relevant best-practices insert rules

Time-series and retention design

  1. rules/decision-partitioning-timeseries.md
  2. Relevant best-practices schema partition rules

Enrichment and dimension lookups

  1. rules/decision-join-enrichment.md
  2. Relevant best-practices query join rules

Mutable state / late-arriving events

  1. rules/decision-late-arriving-upserts.md
  2. Relevant best-practices mutation avoidance rules

Output format

Structure responses like this:

## Workload Summary
- workload:
- latency target:
- data shape:
- primary query patterns:
- operational constraints:

## Key Decisions
- ...
- ...

## Recommendations

### <Recommendation title>

**What**
...

**Why**
...

**How**
...

**Category**
official | derived | field

**Confidence**
high | medium | heuristic

**Source**
- doc link(s)

**Validation**
- concrete SQL, metric, or smoke test

Architecture-specific guidance

Prefer decision frameworks over generic advice. Good responses should:

  • explain tradeoffs
  • identify the likely operating bottleneck
  • separate immediate actions from structural redesign
  • provide target architecture patterns, not just isolated settings

Full reference

See AGENTS.md for the compiled version and examples/ for sample outputs.

Skills เพิ่มเติมจาก clickhouse

chdb-sql
clickhouse
รัน ClickHouse SQL โดยตรงใน Python — ไม่ต้องใช้เซิร์ฟเวอร์ ค้นหาไฟล์ในเครื่อง ฐานข้อมูลระยะไกล และคลาวด์สตอเรจด้วยพลังของ ClickHouse SQL อย่างเต็มรูปแบบ
official
chdb-datastore
clickhouse
DataStore เป็นตัวแทน pandas แบบขี้เกียจที่ใช้ ClickHouse โค้ด pandas ที่มีอยู่ของคุณทำงานได้โดยไม่เปลี่ยนแปลง — แต่การดำเนินการจะถูกคอมไพล์เป็น SQL ที่ปรับให้เหมาะสมและดำเนินการเฉพาะเมื่อต้องการผลลัพธ์ (เช่น print() , len() , การวนซ้ำ)
official
clickhouse-best-practices
clickhouse
กฎแนวปฏิบัติที่ดีที่สุดของ ClickHouse จำนวน 28 ข้อ จัดตามการออกแบบสคีมา การปรับแต่งคิวรี และกลยุทธ์การนำเข้าข้อมูล ครอบคลุมสามด้านสำคัญ: การเลือกคีย์หลักและชนิดข้อมูล (การตัดสินใจออกแบบที่ไม่สามารถเปลี่ยนแปลงได้), การปรับแต่ง JOIN และคิวรี, และการทำแบทช์อินเสิร์ตพร้อมหลีกเลี่ยงมิวเทชัน รวมถึงกฎ 28 ข้อที่จัดลำดับตามผลกระทบ โดยกฎการออกแบบสคีมาและการปรับแต่งคิวรีถูกทำเครื่องหมายว่าสำคัญมาก (CRITICAL) เนื่องจากกลไกการจัดเก็บแบบคอลัมน์และดัชนีแบบกระจัดกระจายของ ClickHouse มีขั้นตอนการตรวจสอบที่มีโครงสร้างสำหรับ...
official
clickhousectl-cloud-deploy
clickhouse
ใช้เมื่อผู้ใช้ต้องการปรับใช้ ClickHouse ไปยังคลาวด์ ไปสู่ระบบผลิต ใช้ ClickHouse Cloud โฮสต์บริการ ClickHouse ที่มีการจัดการ หรือย้ายจากระบบภายในเครื่อง…
official
clickhousectl-local-dev
clickhouse
ใช้เมื่อผู้ใช้ต้องการสร้างแอปพลิเคชันด้วย ClickHouse, ตั้งค่าสภาพแวดล้อมการพัฒนา ClickHouse ในเครื่อง, ติดตั้ง ClickHouse, สร้างเซิร์ฟเวอร์ในเครื่อง,…
official
setup
clickhouse
แนะนำผู้ใช้ในการตั้งค่าการเชื่อมต่อเซิร์ฟเวอร์ ClickHouse MCP ที่มาพร้อมกับปลั๊กอินนี้ ใช้เมื่อผู้ใช้ติดตั้งปลั๊กอินครั้งแรกหรือพบปัญหา…
official
clickhouse-js-node-coding
clickhouse
อ้างอิง: https://clickhouse.com/docs/integrations/javascript
official
clickhouse-js-node-troubleshooting
clickhouse
อ้างอิง: https://clickhouse.com/docs/integrations/javascript
official