clickhouse
БесплатноБез исполняемых скриптовНе проверенUse when reviewing or writing ClickHouse schemas, queries, inserts, or operations. Check the checklist below and cite rules by name.
от duyet★ 16 звёзд на GitHubОб этом скилле
ClickHouse
ClickHouse has a sparse primary index, immutable parts, and background merges, so row-store habits mislead. Details: https://clickhouse.com/docs. Never put real credentials in examples.
Review output: list each rule checked as compliant or violated, cite as "Per rule-name", give current state, required state, and fix. End with prioritized recommendations.
Review checklist
Schema, ORDER BY cannot change after creation:
schema-pk-plan-before-creation: decide ORDER BY before creating the table.schema-pk-cardinality-order: order key columns low to high cardinality.schema-pk-prioritize-filters: put frequently filtered columns in ORDER BY.schema-pk-filter-on-orderby: queries filter on the ORDER BY prefix.schema-types-native-types: use native types, not String.schema-types-minimize-bitwidth: smallest numeric width that fits.schema-types-lowcardinality: LowCardinality for repeated strings under about 10K values.schema-types-avoid-nullable: avoid Nullable, use defaults.schema-types-enum: Enum for finite value sets.schema-partition-start-without: start without partitioning.schema-partition-low-cardinality: 100 to 1,000 partitions at most.schema-partition-lifecycle: partition for data lifecycle, drop partitions instead of DELETE.schema-partition-query-tradeoffs: queries spanning many partitions get slower.schema-json-when-to-use: JSON type only for dynamic schemas, typed columns otherwise.
Queries:
query-join-choose-algorithm: pick the join algorithm for table size to avoid OOM.query-join-use-any: ANY JOIN when one match is enough.query-join-filter-before: filter both sides before joining.query-join-consider-alternatives: dictionaries or denormalization instead of joins.query-join-null-handling: default values instead of NULL in outer joins.query-index-skipping-indices: skipping indices for non-ORDER BY filters.query-mv-incremental: incremental materialized views for real-time aggregation.query-mv-refreshable: refreshable materialized views for complex joins and batch.
Inserts and changes:
insert-batch-size: batch 10K to 100K rows per insert.insert-async-small-batches: async inserts when client batching is impractical.insert-format-native: Native format over JSONEachRow.insert-mutation-avoid-update: no ALTER UPDATE, use ReplacingMergeTree.insert-mutation-avoid-delete: no ALTER DELETE, use lightweight DELETE, CollapsingMergeTree, or DROP PARTITION.insert-optimize-avoid-final: no routineOPTIMIZE ... FINALorFINALreads.
Rules derive from ClickHouse/agent-skills (Apache-2.0).
Установить clickhouse в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл clickhouse?
Use when reviewing or writing ClickHouse schemas, queries, inserts, or operations. Check the checklist below and cite rules by name.
Как установить скилл clickhouse?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл clickhouse запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic