본문으로 건너뛰기
Skillpedia
데이터베이스18k · #10673

data-pipeline

하는 일

이 스킬은 Airflow, Spark, dbt 같은 도구로 ETL 및 ELT 데이터 파이프라인을 만드는 방법을 안내하며, 품질 점검과 재시도를 포함합니다. 데이터를 일정에 따라 옮기고 변환하는 데이터 엔지니어를 위한 스킬입니다.

사용하는 경우

  • ✓원본에서 웨어하우스로 데이터를 옮기는 예약 파이프라인이 필요할 때.
  • ✓중복 데이터를 만들지 않고 파이프라인을 안전하게 다시 실행해야 할 때.
  • ✓파이프라인 단계 사이에 데이터 품질 점검을 넣고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/data-pipeline/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“매일 들어오는 주문 파일을 웨어하우스에 적재하고, 보고서가 실행되기 전에 누락된 행이 없는지 확인하는 Airflow 파이프라인을 설계해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 반복 가능한 단계, 파티션된 데이터, 단계 사이의 품질 점검 같은 원칙을 제시하며, DAG, Spark 작업, dbt 모델 예시를 제공합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
자주 묻는 질문

멱등성이란 무엇인가요?

같은 입력으로 단계를 다시 실행해도 중복이나 부작용 없이 같은 결과가 나온다는 뜻입니다.

ETL과 ELT 중 무엇을 쓰나요?

웨어하우스가 변환할 수 있으면 원본을 먼저 적재하고 그 자리에서 변환하는 ELT를 선호한다고 스킬은 말합니다.

데이터를 왜 파티션하나요?

파티션을 쓰면 파이프라인이 새 데이터만 처리할 수 있고, 과거 데이터 재처리도 관리하기 쉬워집니다.

상세 정보

작성자의 원본 설명

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

repo: RightNow-AI/openfang

인기도

GitHub 스타
18k
순위
#10673
라이선스
Apache-2.0
업데이트
2026. 7. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬