data-pipeline
Installation
SKILL.md
Data Pipeline Design
Core Principles
Data pipelines are the arteries of modern data platforms. A well-designed pipeline is reliable, observable, idempotent, and cost-efficient. The following principles guide every decision:
- Idempotency First — Running a pipeline twice should produce the same result. This enables safe retries and backfills without data duplication.
- Observability by Default — Every stage must emit metrics, logs, and lineage metadata. If you can't see it, you can't fix it.
- Fail Gracefully — Assume failures will happen. Design dead letter queues, retry logic with exponential backoff, and alerting on anomalies.
- Incremental Processing — Process only what's changed. Full refreshes are for schema migrations and backfills only.
- Data Contracts — Define and enforce schemas at every boundary. Catch drift before it reaches downstream consumers.
- Separation of Concerns — Extract, transform, load are distinct phases. Each should be independently testable and debuggable.
- Cost Awareness — Every byte processed costs money. Partition, compress, and prune aggressively.