‹ 首页

clickhouse-architecture-advisor

@clickhouse · 收录于 昨天 · 上游提交 2 天前

MUST USE when designing ClickHouse architectures, selecting between ingestion or modeling patterns, or translating best practices into workload-specific system designs. Complements clickhouse-best-practices with decision frameworks and explicit provenance labels.

适合你,如果正在为分析平台设计 ClickHouse 架构

/ 通过 npx 安装 校验哈希
npx oh-my-skill add clickhouse/agent-skills/clickhouse-architecture-advisor
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- clickhouse/agent-skills/clickhouse-architecture-advisor
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify clickhouse/agent-skills/clickhouse-architecture-advisor
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
498GitHub stars
~582最小装载
~3K含声明引用
~5.1K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 6e5458d · 表述以原文为准
它做什么

Claude 会先识别工作负载类型(如可观测性、SIEM),然后读取对应规则文件,为每条推荐打上 official、derived 或 field 标签,并链接官方文档。不确定时明确说明。最终输出结构化的架构决策建议,包含分组、推荐和验证。

什么时候触发

当你询问 ClickHouse 架构设计、选择摄入或建模模式,或需要将最佳实践转为特定工作负载系统设计时触发。

装好后可以这样说
识别工作负载并给出带来源标签的推荐。
读取 ingestion 规则文件,分析权衡。
触发 late-arriving upserts 决策流程。
技能原文 SKILL.md作者撰写 · Apache-2.0 · 6e5458d

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
  2. observability
  3. security / SIEM
  4. product analytics
  5. IoT / telemetry
  6. market data / financial services
  7. mixed OLAP with point-lookups
  8. Read the relevant decision rule files in rules/
  9. Use mappings/doc_links.yaml to attach official documentation
  10. Classify every recommendation as:
  11. official
  12. derived
  13. field
  14. Never present field guidance as official guidance
  15. 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.

按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。