clickhouse-architecture-advisor

ОБЯЗАТЕЛЬНО ИСПОЛЬЗОВАТЬ при проектировании архитектур 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
28 правил лучших практик ClickHouse, организованных по проектированию схемы, оптимизации запросов и стратегии загрузки данных. Охватывает три критически важные области: выбор первичного ключа и типов данных (неизменяемые проектные решения), оптимизация JOIN и запросов, а также пакетная вставка с избеганием мутаций. Включает 28 правил, приоритизированных по влиянию, причем правила проектирования схемы и оптимизации запросов помечены как КРИТИЧЕСКИЕ из-за колоночного хранения 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