doris-best-practices SKILL.md skillA

doris-best-practices from apache/doris-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add apache/doris-skills/doris-best-practices@v0.1.0

Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
apache/doris-skills
Path
skills/doris-best-practices/SKILL.md
Versions recorded
3
Latest version
v0.1.0, committed May 29, 2026
First version recorded
May 28, 2026
Size
17,208 bytes
Repository stars
47
License
Apache-2.0

Apache Doris table design and cluster sizing best practices. MUST USE when writing, reviewing, or optimizing Doris CREATE TABLE statements, partition/bucket strategies, data models, or cluster configurations. ALSO MUST USE whenever the doris-architecture-advisor skill produces DDL — apply the Pre-Flight Checklist to every CREATE TABLE before output. Also triggers on any workload design involving: IoT, analytics, dashboard, CDC, time-series, log analysis, real-time warehouse, point query, data…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Apache Doris Best Practices

> Problem-first table design intelligence for Apache Doris.
> 37 rules, 7 use case templates, 4 sizing guides.
> All details in `references/` directory.

---

## 1 ▸ Problem-First Routing

### I need to build…

| Problem | Template(s) | Key Rules |
|---------|-------------|-----------|
| Real-time log/event analytics | `usecase-log-event` | DUPLICATE, RANGE partition, dynamic TTL, ZSTD |
| CDC / MySQL sync to Doris | `usecase-cdc-sync` | UNIQUE MoW, sequence_col, HASH bucket |
| Dashboard with pre-aggregated metrics | `usecase-dashboard-metrics` | AGGREGATE, BITMAP_UNION, sync MV |
| User-facing API with low-latency point queries | `usecase-point-query` | UNIQUE MoW, store_row_column, BloomFilter |
| Star schema with JOIN-heavy analytics | `usecase-star-schema-join` | Colocation, same bucket key/count |
| Small dimension / lookup table | `usecase-dimension-lookup` | DUPLICATE, RANDOM bucket, 3 buckets |
| Observability (logs + traces + metrics) | `usecase-observability` | 3 tables: DUP logs, DUP traces, AGG metrics |
| Vehicle/fleet tracking | `usecase-log-event` + `usecase-point-query` | Time-series + point-query hybrid |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add apache/doris-skills/doris-best-practices@sha256:317ab6669aadcfc7

The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_pcisutqz447ohivx.svg)](https://markdownregistry.com/a/art_pcisutqz447ohivx)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between May 28, 2026 and May 29, 2026, more than one a day.

versioncommittedcommitsizeaudit
v0.1.0 latest2026-05-29 4d7fa0c 17,208 BA view · diff
v0.1.02026-05-29 790efae 17,098 BA view · diff
v3.1.02026-05-28 bf305c0 16,632 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (17208 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

apache/doris-skills · 47 stars · license Apache-2.0 · pushed 2026-09-30 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pcisutqz447ohivx
GET https://markdownregistry.com/api/v1/resolve?ref=apache/doris-skills/doris-best-practices
GET https://markdownregistry.com/api/v1/blob/317ab6669aadcfc71879276c55d5c11347f2e9c366fda786e5b2e0e3222d2bc0

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from apache/doris-skills

doris-architecture-advisor SKILL.md skill
apache/doris-skills · skills/doris-architecture-advisor/SKILL.md · Workload-aware architecture design for Apache Doris. MUST USE when designing data architectures, choosing between data…
git:20260529.790efae · audit A · 47 stars
doris-debug SKILL.md skill
apache/doris-skills · skills/doris-debug/SKILL.md · Apache Doris production diagnostics router. Use when Apache Doris queries are slow, imports are failing or timing out…
v0.3.0 · audit A · 47 stars
doris-debug-cloud SKILL.md skill
apache/doris-skills · skills/doris-debug/cloud/SKILL.md · Use for Doris storage-compute separation (cloud mode) issues: meta-service latency, cache miss storms, object store…
v0.2.0 · audit A · 47 stars
doris-debug-compaction SKILL.md skill
apache/doris-skills · skills/doris-debug/compaction/SKILL.md · Use for Doris -235 / too many versions and compaction lag. Error raised in RowsetBuilder::check_tablet_version_count…
v0.2.0 · audit A · 47 stars
doris-debug-data-lake SKILL.md skill
apache/doris-skills · skills/doris-debug/data-lake/SKILL.md · Use for Doris external catalog issues: Hive/Iceberg/Paimon/Hudi query failures, metadata refresh, filesystem S3/HDFS…
v0.2.0 · audit A · 47 stars
doris-debug-deployment SKILL.md skill
apache/doris-skills · skills/doris-debug/deployment/SKILL.md · Use for Doris FE/BE startup failures, port conflicts, priority_networks misrouting, meta_dir corruption, and ADD/DROP…
v0.2.0 · audit A · 47 stars
doris-debug-import SKILL.md skill
apache/doris-skills · skills/doris-debug/import/SKILL.md · Use for Doris Stream/Broker/Routine Load issues and Group Commit async_mode WAL pile-up. Tunables: table…
v0.1.0 · audit A · 47 stars
doris-debug-materialized-view SKILL.md skill
apache/doris-skills · skills/doris-debug/materialized-view/SKILL.md · Use for Doris sync MV (rollup) miss or async MTMV refresh/rewrite issues. Commands: SHOW ALTER TABLE MATERIALIZED VIEW…
v0.2.0 · audit A · 47 stars
doris-debug-node SKILL.md skill
apache/doris-skills · skills/doris-debug/node/SKILL.md · Use for Doris FE/BE OOM, crash, or false Alive. BE: MemTrackerLimiter lines in be.WARNING; FE: JVM heap / jstack…
v0.2.0 · audit A · 47 stars
doris-debug-query SKILL.md skill
apache/doris-skills · skills/doris-debug/query/SKILL.md · Use for Apache Doris slow/hanging/timeout queries. Covers FE planner (Nereids timeout), BE Profile bottlenecks, and…
v0.2.0 · audit A · 47 stars
doris-debug-resource-isolation SKILL.md skill
apache/doris-skills · skills/doris-debug/resource-isolation/SKILL.md · Use for Doris Workload Group / resource tag queue starvation, CPU/memory isolation leaks, and workload policy…
v0.2.0 · audit A · 47 stars
doris-debug-tablet SKILL.md skill
apache/doris-skills · skills/doris-debug/tablet/SKILL.md · Use for Doris tablet/replica health, version skew, clone backlog, disk balance, and tablet repair. Commands: SHOW PROC…
v0.2.0 · audit A · 47 stars

Every file in apache/doris-skills

Browse by kind, by grade A, or by owner.