

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1# ClickHouse Package23`@internal/clickhouse` - ClickHouse client for analytics and observability data.45## Migrations67Goose-format SQL migrations live in `schema/`. Two rules below are load-bearing — both can block a deploy.89### Rule 1: number to `max + 1`, never slot in1011Goose runs in strict mode in the deploy pipeline. If a migration file numbered *below* the version currently recorded in `goose_db_version` ever shows up, goose refuses to apply it and the deploy fails:1213```14goose run: error: found 1 missing migrations before current version 30:15 version 29: 029_add_task_kind_to_task_runs_v2.sql16```1718When adding a migration:19201. Look at `schema/` and take the largest existing number, call it `N`.212. Name your file `0(N+1)_descriptive_name.sql`.223. If you've been on a branch while main added migrations, **rebase and renumber** before opening the PR — a file numbered below the new max will block the next deploy after your PR merges.2324### Rule 2: DDL must be idempotent2526Migrations can be applied out of order in some environments (`goose up --allow-missing` for local recovery, manual fixups, etc.) and may be retried. Always use idempotent forms so a re-apply is a no-op:2728```sql29-- +goose Up30ALTER TABLE trigger_dev.your_table31 ADD COLUMN IF NOT EXISTS new_column String DEFAULT '';3233-- +goose Down34ALTER TABLE trigger_dev.your_table35 DROP COLUMN IF EXISTS new_column;36```3738Equivalent forms for other DDL:3940- `CREATE TABLE IF NOT EXISTS …`41- `DROP TABLE IF EXISTS …`42- `ADD INDEX IF NOT EXISTS …` / `DROP INDEX IF EXISTS …`43- `CREATE MATERIALIZED VIEW IF NOT EXISTS …` / `DROP VIEW IF EXISTS …`4445ClickHouse supports `IF [NOT] EXISTS` on all of the above. Older migrations in this directory predate the rule and are not idempotent — leave them as-is unless you're explicitly hardening one.4647## Naming Conventions4849- `raw_` prefix for input tables (where data lands first)50- `_v1`, `_v2` suffixes for table versioning51- `_mv_v1` suffix for materialized views52- `_per_day`, `_per_month` for aggregation tables5354See `README.md` in this directory for full naming convention documentation.5556## Purpose5758Stores time-series data for task run analytics, event streams, and performance metrics. Separate from PostgreSQL to handle high-volume writes from task execution.59
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| triggerdotdev/trigger.dev.cursor/rules/executing-commands.mdc · 16k | Cursor rules | test | 49/100 | 14 days ago | |
| triggerdotdev/trigger.dev.cursor/rules/webapp.mdc · 16k | Cursor rules | setuptestsecurity | 55/100 | 14 days ago | |
| triggerdotdev/trigger.dev.cursor/rules/writing-tasks.mdc · 16k | Cursor rules | setupbuildarchtypes+5 | 64/100 | 14 days ago | |
| triggerdotdev/trigger.devapps/webapp/CLAUDE.md · 16k | CLAUDE.md | setupbuildteststyle+5 | 88/100 | 14 days ago | |
| triggerdotdev/trigger.devinternal-packages/run-engine/CLAUDE.md · 16k | CLAUDE.md | buildteststyle | 70/100 | 14 days ago | |
| triggerdotdev/trigger.devpackages/core/CLAUDE.md · 16k | CLAUDE.md | no sections | 31/100 | 14 days ago | |
| triggerdotdev/trigger.devpackages/redis-worker/CLAUDE.md · 16k | CLAUDE.md | test | 29/100 | 14 days ago | |
| triggerdotdev/trigger.dev.cursor/rules/otel-metrics.mdc · 16k | Cursor rules | styledo-not | 61/100 | 14 days ago | |
| triggerdotdev/trigger.dev.github/copilot-instructions.md · 16k | Copilot instructions | teststyletypes | 32/100 | 14 days ago | |
| triggerdotdev/trigger.devAGENTS.md · 16k | AGENTS.md | setupbuildtestlint-format+8 | 88/100 | 14 days ago | |
| triggerdotdev/trigger.devinternal-packages/database/CLAUDE.md · 16k | CLAUDE.md | typesdatabasedo-not | 65/100 | 14 days ago | |
| triggerdotdev/trigger.devpackages/cli-v3/CLAUDE.md · 16k | CLAUDE.md | deploymentdo-notdocs | 51/100 | 14 days ago | |
| triggerdotdev/trigger.devpackages/trigger-sdk/CLAUDE.md · 16k | CLAUDE.md | do-not | 54/100 | 14 days ago | |
| triggerdotdev/trigger.devapps/supervisor/CLAUDE.md · 16k | CLAUDE.md | no sections | 25/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| dotCMS/corecore-web/CLAUDE.md · 949 | CLAUDE.md | teststylearchtesting-strategy+3 | 100/100 | 14 days ago | |
| tyrchen/geektime-bootcamp-aiw7/genslides/backend/CLAUDE.md · 230 | CLAUDE.md | testlint-formatstylearch+6 | 100/100 | 9 days ago | |
| nimbalyst/nimbalystpackages/android/CLAUDE.md · 1.4k | CLAUDE.md | setupbuildstylearch+2 | 100/100 | 14 days ago | |
| microsoft/playwrightCLAUDE.md · 94k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 7 days ago | |
| Adit-Jain-srm/NightmareNetCLAUDE.md · 45 | CLAUDE.md | buildtestlint-formatstyle+6 | 100/100 | 14 days ago | |
| bagisto/bagistoCLAUDE.md · 28k | CLAUDE.md | setupbuildteststyle+5 | 100/100 | 7 days ago | |
| livewire/livewireCLAUDE.md · 24k | CLAUDE.md | setupbuildteststyle+4 | 100/100 | 14 days ago | |
| dotCMS/coreCLAUDE.md · 949 | CLAUDE.md | setupbuildteststyle+7 | 99/100 | 9 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/triggerdotdev-trigger-dev-internal-packages-clickhouse-claude)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.