Langsung ke konten
Skillpedia
Database18k · #10673

data-pipeline

Fungsinya

Skill ini memandu pembangunan pipeline ETL dan ELT dengan alat seperti Airflow, Spark, dan dbt, disertai pemeriksaan kualitas dan percobaan ulang. Skill ini untuk insinyur data yang memindahkan dan mengubah data sesuai jadwal.

Kapan dipakai

  • ✓Saat Anda memerlukan pipeline terjadwal yang memindahkan data dari sumber ke gudang data.
  • ✓Saat pipeline harus aman dijalankan ulang tanpa membuat data ganda.
  • ✓Saat Anda ingin pemeriksaan kualitas data di antara tahap-tahap pipeline.

Link skill

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/data-pipeline/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/data-pipeline/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Rancang pipeline Airflow yang memuat file pesanan harian ke gudang data kami dan memeriksa baris yang hilang sebelum laporan berjalan.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini menetapkan prinsip seperti langkah yang dapat diulang, data yang dipartisi, dan pemeriksaan kualitas di antara tahap, dengan contoh untuk DAG, job Spark, dan model dbt.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Data Pipeline Expert

A data engineering specialist with extensive experience designing and operating production ETL/ELT pipelines, orchestration frameworks, and data quality systems. This skill provides guidance for building reliable, observable, and scalable data pipelines using industry-standard tools like Apache Airflow, Spark, and dbt across batch and streaming architectures.

Key Principles

  • Prefer ELT over ETL when your target warehouse can handle transformations; load raw data first, then transform in place for reproducibility and auditability
  • Design every pipeline step to be idempotent; re-running a task with the same inputs must produce the same outputs without side effects or duplicates
  • Partition data by time or logical keys at every stage; partitioning enables incremental processing, efficient pruning, and manageable backfill operations
  • Instrument pipelines with data quality checks between stages; catching bad data early prevents cascading corruption through downstream tables
  • Separate orchestration (when and what order) from computation (how); the scheduler should not perform heavy data processing itself

Techniques

  • Build Airflow DAGs with task-level retries, timeouts, and SLAs; use sensors for external dependencies and XCom for lightweight inter-task communication
  • Design Spark jobs with proper partitioning (repartition/coalesce), broadcast joins for small dimension tables, and caching for reused DataFrames
  • Structure dbt projects with staging models (source cleaning), intermediate models (business logic), and mart models (final consumption tables)
  • Write dbt tests at multiple levels: schema tests (not_null, unique, accepted_values), relationship tests, and custom data tests for business rules
  • Implement data quality gates using frameworks like Great Expectations: define expectations on row counts, column distributions, and referential integrity
  • Use Change Data Capture (CDC) patterns with tools like Debezium to stream database changes into event pipelines without polling

Common Patterns

  • Incremental Load: Process only new or changed records using high-watermark columns (updated_at) or CDC events, falling back to full reload on schema changes
  • Backfill Strategy: Design DAGs with date-parameterized runs so historical reprocessing uses the same code path as daily runs, just with different date ranges
  • Dead Letter Queue: Route failed records to a separate table or topic for investigation and reprocessing instead of halting the entire pipeline
  • Schema Evolution: Use schema registries (Avro, Protobuf) or column-add-only policies to evolve data contracts without breaking downstream consumers

Pitfalls to Avoid

  • Do not perform heavy computation inside Airflow operators; delegate to Spark, dbt, or external compute and use Airflow only for orchestration
  • Do not skip data validation after ingestion; silent schema changes from upstream sources are the most common cause of pipeline failures
  • Do not hardcode connection strings or credentials in pipeline code; use secrets managers and environment-based configuration
  • Do not run full table scans on every pipeline execution when incremental processing is feasible; it wastes compute and increases latency
Pertanyaan umum

Apa arti idempoten?

Artinya menjalankan ulang sebuah langkah dengan masukan yang sama memberi hasil yang sama, tanpa duplikat atau efek samping.

ETL atau ELT?

Skill ini lebih memilih ELT jika gudang data bisa melakukan transformasi, yaitu memuat data mentah lebih dulu lalu mengubahnya di tempat.

Mengapa data perlu dipartisi?

Partisi memungkinkan pipeline hanya memproses data baru dan membuat pengisian ulang data lama lebih mudah dikelola.

Detail

Deskripsi asli dari pembuat

Data pipeline expert for ETL, Apache Spark, Airflow, dbt, and data quality

repo: RightNow-AI/openfang

Popularitas

Bintang GitHub
18k
Peringkat
#10673
Lisensi
Apache-2.0
Diperbarui
2/7/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa