Chuyển đến nội dung
Skillpedia
Cơ sở dữ liệu5.1k · #15094

omh-data-pipelines

Skill này làm gì

Skill này lên kế hoạch cho job ETL hoặc streaming, backfill và replay để mỗi lần chạy lại an toàn, cửa sổ replay có giới hạn và mỗi lần nạp được kiểm tra. Skill dành cho kỹ sư dữ liệu chạy pipeline.

Khi nào nên dùng

  • ✓Khi một pipeline dữ liệu hoặc backfill đang tạo ra bản ghi trùng.
  • ✓Khi bạn lên kế hoạch chạy lại hoặc backfill một job dữ liệu.
  • ✓Khi thay đổi schema trong một pipeline ảnh hưởng đến dữ liệu phía hạ nguồn.

Liên kết skill

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-data-pipelines/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-data-pipelines/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Backfill ETL Airflow của chúng tôi đang tạo ra sự kiện trùng lặp. Tìm nguyên nhân và lên kế hoạch chạy lại an toàn.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm khóa làm mỗi bản ghi là duy nhất ở đích, viết quy tắc để các lần chạy lại không nhân đôi dòng, giới hạn cửa sổ và yêu cầu kiểm tra trước khi mỗi lần nạp được chấp nhận.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Data Pipelines

This is an OMH data-pipelines workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

data-pipelines exists because pipeline work had no owner: backend owns a service's schema migration, data-analysis analyzes data it is handed, and relational-db owns a database's locks and indexes, while a backfill that duplicated events or a schema change with unknown readers reached memory and event lanes with no idempotency contract or replay bound at all.

First Steps

  • Ask what makes a row unique at the sink before planning any rerun.
  • Bound the window and the targets before ordering any replay or backfill step.

Do Not Use When

  • The ask is a service's own database migration, API, or queue design; use omh-backend.
  • The ask is analyzing, charting, or summarizing a dataset that was handed over; use omh-data-analysis.
  • The ask is a slow query, an index, or DDL locking a live table; use omh-relational-db.
  • The ask is remembering or syncing what the assistant knows about the user.

Examples

Good example:

  • Prompt: our airflow etl backfill is producing duplicate events
  • Expected behavior: Find the sink's unique key, name the append that duplicated rows, write the idempotency contract (event-id dedupe or partition overwrite), then bound the backfill window and gate it on key uniqueness and row count against the prior window.
  • Why: Rerunning an appending backfill doubles the duplicates it was meant to fix.

Bad example:

  • Prompt: just delete the duplicates and rerun the whole history
  • Expected behavior: Refuse the unbounded rerun: fix the write to be idempotent first, then backfill a bounded window behind a quality gate.
  • Why: Deleting duplicates without fixing the write guarantees the next rerun duplicates again.

Completion Checklist

  • The sink's unique key and the idempotency contract are stated.
  • Every replay or backfill is bounded by window and target.
  • Every downstream reader of a schema change is named with its impact.
  • Every load names its data-quality gate and the value that stops it.
  • OMH ran nothing, and every count cites observed output or is marked unverified.

Recovery Notes

  • If no unique key exists at the sink, the first step is defining one; say so before any rerun.
  • If lineage is unavailable, list readers found by search and mark the map incomplete.

When to Use

Use when a batch or streaming data pipeline needs planning or repair: an ETL, ELT, Airflow, dbt, Spark or Kafka job; a backfill or a replay of past events; duplicate or missing rows; a schema change whose downstream readers are unknown; a lineage question; or a data-quality regression. The output is the lineage, the schema change's downstream impact, an idempotency contract, a bounded replay or backfill plan, and the data-quality gate each load must pass; OMH runs no job and reads no warehouse.

Strong routing signals: `data-pipelines`, `data pipeline`, `data pipelines`, `etl`, `elt`, `etl pipeline`, `etl job`, `etl backfill`, `airflow dag`, `airflow etl`, `airflow backfill`, `dagster`, `dbt model`, `dbt run`, `spark job`, `kafka topic`, `kafka events`, `kafka consumer`, `backfill`, `data backfill`, `replay events`, `replay the events`, `event replay`, `idempotent`, `idempotency`, `exactly once`, `exactly-once`, `duplicate events`, `lineage`, `data lineage`, `data quality`, `data quality check`, `schema evolution`, `late arriving data`, `dead letter queue`, `batch job`

Catalog Metadata

Category: planning Phase: data-pipelines Quality tier: idempotent-replay-gated Reasoning demand: standard

Quality bar:

  • Find what makes a row unique at the sink before proposing any rerun.
  • Load references/pipeline-method.md for the idempotency patterns, the schema compatibility table, the replay and backfill procedure, and the quality checks instead of recalling them.
  • Map lineage from the orchestrator's graph first and mark anything found only by search.
  • Treat duplicates as an idempotency defect, not a cleanup task: fix the write, then repair the rows.
  • Keep prepared, run, and verified as separate states for every load and check.

Required inputs:

  • the pipeline: its orchestrator, its sources, its sinks, and its schedule or trigger
  • the unit of the problem: the table, topic, or model, and the time window affected
  • what makes a row unique at the sink: the natural key, the event id, or the partition
  • the do
Câu hỏi thường gặp

Nó có thay đổi dữ liệu production của tôi không?

Nó lên kế hoạch cho lần chạy lại an toàn. Mỗi lần nạp phụ thuộc vào các kiểm tra bạn quan sát được.

Đây có phải để tối ưu hiệu năng cơ sở dữ liệu không?

Không. Truy vấn chậm và chỉ mục được bao phủ bởi một skill cơ sở dữ liệu quan hệ.

Nó có bao gồm phân tích dữ liệu không?

Không. Phân tích một tập dữ liệu là một skill riêng.

Chi tiết

Mô tả gốc của tác giả

[omh] Data pipeline work -- an ETL or streaming job, a backfill or replay, duplicate events, a schema change downstream, a lineage question, a data-quality regression: make every rerun idempotent, bound every replay, and gate each load on observed checks. Use when the user says: data-pipelines, data pipeline, data pipelines, etl, elt, etl pipeline, etl job, etl backfill.

repo: rlaope/oh-my-hermes

Độ phổ biến

Sao GitHub
5.1k
Vị trí xếp hạng
#15094
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự