You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This directory contains GitHub Actions workflows for automating maintenance tasks.
4
+
5
+
## Sync Rules from ClickHouse/agent-skills
6
+
7
+
**File:**`sync-rules.yml`
8
+
9
+
### Purpose
10
+
Automatically syncs the 28 ClickHouse best practice rule files from the official [ClickHouse/agent-skills](https://github.com/ClickHouse/agent-skills) repository.
11
+
12
+
### Triggers
13
+
-**Manual:** Can be triggered manually from the Actions tab
14
+
-**Scheduled:** Runs weekly on Sunday at midnight UTC
15
+
16
+
### What It Does
17
+
1. Clones the latest ClickHouse/agent-skills repository
18
+
2. Copies rule files to `skills/clickhouse/rules/`
19
+
3. Automatically increments the version number
20
+
4. Creates a pull request with changes
21
+
22
+
### Permissions Required
23
+
-`contents: write` — To commit changes
24
+
-`pull-requests: write` — To create PRs
25
+
26
+
### Manual Trigger
27
+
To trigger manually:
28
+
1. Go to Actions tab in GitHub
29
+
2. Select "Sync Rules from ClickHouse/agent-skills"
30
+
3. Click "Run workflow"
31
+
32
+
### Review Process
33
+
When a sync PR is created:
34
+
1. Review the rule file changes
35
+
2. Ensure compatibility with our extended `references/` directory
36
+
3. Test the skill locally if needed
37
+
4. Merge if everything looks correct
38
+
39
+
### Custom Content Preservation
40
+
Our custom `references/` directory (15+ files) is never modified by the sync workflow. Only the `rules/` directory is updated.
Copy file name to clipboardExpand all lines: clickhouse/skills/clickhouse/SKILL.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,32 @@ description: MUST USE when reviewing ClickHouse schemas, queries, or configurati
5
5
6
6
# ClickHouse Best Practices
7
7
8
-
Guidance for ClickHouse covering schema design, query optimization, and data ingestion. Contains 28 atomic rules across 3 categories (schema, query, insert), prioritized by impact. Extended with 15+ reference files covering cluster management, Kubernetes, backups, monitoring, and integrations.
8
+
Guidance for ClickHouse covering schema design, query optimization, and data ingestion. Contains 28 atomic rules across 3 categories (schema, query, insert), prioritized by impact. Extended with 14 reference files covering cluster management, backups, monitoring, and integrations.
9
9
10
10
> **Official docs:**[ClickHouse Best Practices](https://clickhouse.com/docs/best-practices)
11
11
12
+
> **Official docs:**[ClickHouse Best Practices](https://clickhouse.com/docs/best-practices)
13
+
14
+
---
15
+
16
+
## ⚠️ Security Considerations
17
+
18
+
### Credential Placeholders
19
+
Example credentials in documentation (`password123`, `AKIAIOSFODNN7EXAMPLE`) are placeholders only. Never use these in production. Use proper secret management:
Copy file name to clipboardExpand all lines: clickhouse/skills/clickhouse/references/integrations.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
Kafka, S3, PostgreSQL, MySQL, RabbitMQ, and BI tools.
4
4
5
+
> ⚠️ **Credential Security**: All credentials in examples below (`password123`, `AKIAIOSFODNN7EXAMPLE`, etc.) are **placeholders only**. Never use these in production. Use proper secret management:
0 commit comments