1---2name: etl-pipeline-review3enabled: true4description: |5 Use when performing etl pipeline review — reviews ETL/ELT pipeline6 architecture for reliability, performance, data quality, and maintainability.7 Covers pipeline design patterns, error handling, idempotency, monitoring,8 testing strategies, and optimization opportunities for batch and streaming9 data pipelines.10required_connections:11 - prefix: data-platform12 label: "Data Platform"13 - prefix: orchestrator14 label: "Pipeline Orchestrator"15config_fields:16 - key: pipeline_tool17 label: "Pipeline Tool/Framework"18 required: true19 placeholder: "e.g., Airflow, dbt, Spark, Fivetran, Glue, Dataflow"20 - key: pipeline_name21 label: "Pipeline Name or Domain"22 required: true23 placeholder: "e.g., orders-to-warehouse, customer-360"24 - key: pipeline_type25 label: "Pipeline Type"26 required: false27 placeholder: "e.g., batch ETL, streaming, ELT, CDC"28features:29 - DATA30 - ETL31 - PIPELINE32metadata:33 source: https://skillmd.com/skills/cloudthinker-ai/etl-pipeline-review34---3536# ETL Pipeline Review3738## Phase 1: Architecture Assessment391. Map the pipeline architecture40 - [ ] Data sources and ingestion methods41 - [ ] Transformation layers and logic42 - [ ] Target data stores and schemas43 - [ ] Orchestration and scheduling44 - [ ] Dependencies between pipelines45 - [ ] Data volume and processing time462. Document pipeline SLAs and requirements473. Identify single points of failure4849### Pipeline Architecture Summary5051| Component | Technology | Input | Output | Volume | SLA |52|-----------|-----------|-------|--------|--------|-----|53| Ingestion | | source | raw | GB/day | |54| Transform | | raw | cleaned | GB/day | |55| Load | | cleaned | warehouse | GB/day | |56| Orchestration | | N/A | N/A | N/A | |5758## Phase 2: Reliability Review591. Assess pipeline reliability60 - [ ] Idempotency: re-runs produce same result61 - [ ] Exactly-once or at-least-once semantics62 - [ ] Error handling and retry logic63 - [ ] Dead letter queues for failed records64 - [ ] Graceful handling of schema evolution65 - [ ] Backfill capability for historical data66 - [ ] Pipeline timeout configuration67 - [ ] Alerting on pipeline failures682. Review failure history and patterns6970### Reliability Checklist7172| Property | Implemented | Tested | Evidence |73|----------|-------------|--------|----------|74| Idempotent re-runs | [ ] | [ ] | |75| Retry with backoff | [ ] | [ ] | |76| Dead letter handling | [ ] | [ ] | |77| Schema evolution | [ ] | [ ] | |78| Backfill support | [ ] | [ ] | |79| Timeout handling | [ ] | [ ] | |80| Partial failure recovery | [ ] | [ ] | |8182## Phase 3: Performance Review831. Assess pipeline performance84 - [ ] Processing time vs. SLA85 - [ ] Resource utilization (CPU, memory, I/O)86 - [ ] Partitioning strategy for parallelism87 - [ ] Incremental processing (vs. full reload)88 - [ ] Pushdown optimization (filter/aggregate at source)89 - [ ] Data serialization format efficiency90 - [ ] Shuffle and data skew issues (Spark)91 - [ ] Connection pooling and resource management922. Identify performance bottlenecks9394### Performance Metrics9596| Stage | Avg Duration | P95 Duration | SLA | Data Volume | Bottleneck |97|-------|-------------|-------------|-----|-------------|-----------|98| | min | min | min | GB | CPU/IO/Network/Skew |99100## Phase 4: Data Quality Integration1011. Assess data quality checks in pipeline102 - [ ] Input validation (schema, null checks, ranges)103 - [ ] Row count reconciliation (source vs. target)104 - [ ] Business rule validation105 - [ ] Duplicate detection106 - [ ] Freshness checks107 - [ ] Quality gates that halt pipeline on failure108 - [ ] Data quality test framework (dbt tests, Great Expectations)1092. Review data quality incident history110111## Phase 5: Testing & Maintainability1121. Assess testing practices113 - [ ] Unit tests for transformation logic114 - [ ] Integration tests with test datasets115 - [ ] End-to-end validation tests116 - [ ] Test data management strategy117 - [ ] CI/CD for pipeline code changes1182. Assess maintainability119 - [ ] Code organized and modular120 - [ ] Documentation up to date121 - [ ] Naming conventions consistent122 - [ ] Configuration externalized (not hardcoded)123 - [ ] Version control for all pipeline code124 - [ ] Lineage tracking and metadata management125126## Phase 6: Recommendations1271. Prioritize improvements by impact and effort1282. Address reliability gaps first1293. Optimize performance bottlenecks1304. Enhance data quality checks1315. Improve testing coverage132133### Review Summary134135| Area | Score (1-5) | Key Finding | Recommendation | Priority |136|------|-----------|-------------|----------------|----------|137| Architecture | | | | |138| Reliability | | | | |139| Performance | | | | |140| Data Quality | | | | |141| Testing | | | | |142| Maintainability | | | | |143144## Counter-Rationalizations145146| Shortcut | Counter | Why |147|----------|---------|-----|148| "We can skip some steps for this case" | Adapt the workflow steps, don't skip them | Skipped steps are where incidents and oversights originate |149| "The user seems to already know what to do" | Complete all workflow phases with the user | The workflow catches blind spots that experience alone misses |150| "This is a minor case, full process is overkill" | Scale the process down, don't turn it off | Minor cases become major when unstructured; the process scales, not disappears |151| "I'll fill in the details later" | Complete each section before moving on | Deferred details are forgotten; real-time capture is more accurate |152| "The template output isn't necessary" | Always produce the structured output format | Structured output enables comparison, audit trails, and handoff to other teams |153154## Output Format155- **Architecture Diagram**: Pipeline flow with components and data stores156- **Reliability Assessment**: Failure modes and mitigation status157- **Performance Report**: Timing, bottlenecks, and optimization plan158- **Quality Check Inventory**: Current checks and gaps159- **Improvement Plan**: Prioritized recommendations160161## Action Items162- [ ] Document pipeline architecture and dependencies163- [ ] Implement missing reliability controls (idempotency, retries)164- [ ] Optimize top performance bottlenecks165- [ ] Add data quality checks at each pipeline stage166- [ ] Improve test coverage for transformations167- [ ] Set up pipeline monitoring and alerting168- [ ] Schedule quarterly pipeline review