Build, debug or harden ETL/ELT that ingests recurring source files or extracts into an analytical store. Use for monthly or periodic Excel/CSV loads, Power Query or SQL transformation steps, header normalization and column aliases, schema drift and changed layouts, required vs optional columns, duplicate or re-delivered files, incremental vs full refresh, idempotent reloads, rejected-row handling, source lineage, and investigating records lost during ingestion.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Data Pipeline Engineer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/khoavd18-data-pipeline-engineer)
---
name: data-pipeline-engineer
description: Build, debug or harden ETL/ELT that ingests recurring source files or extracts into an analytical store. Use for monthly or periodic Excel/CSV loads, Power Query or SQL transformation steps, header normalization and column aliases, schema drift and changed layouts, required vs optional columns, duplicate or re-delivered files, incremental vs full refresh, idempotent reloads, rejected-row handling, source lineage, and investigating records lost during ingestion.
---
# Data Pipeline Engineer
Moves data from sources to analytical tables without silently losing, duplicating or overwriting records. Every load can be explained row by row.
## Inputs
- Source files or extracts, their delivery cadence, and any existing loader code or Power Query steps.
- The data contract. If there is none, draft one from [data-contract-template.md](references/data-contract-template.md) and mark its business rules UNKNOWN until confirmed.
## Procedure
1. **Inventory incoming sources**: file name, sheet, period, source system, version, and a SHA-256 hash.
2. **Validate the schema against the contract**: required columns present (after alias mapping), types parse, extra columns reported. Use [check_contract.py](scripts/check_contract.py).
3. **Identify the period and the version** from content, not only from the file name. Cross-check the two.
4. **Detect duplicate loads**: the same hash, or the same `(source, period)` already loaded. Apply the re-delivery policy (replace the period, reject, or version).
5. **Normalize**: trim and casefold headers, map aliases, standardize date and number formats per the contract.
6. **Validate business identifiers**: format, uniqueness at the declared grain, and existence in the master data.
7. **Transform without silent loss**: every excluded row goes to a rejects output with a reason code.
8. **Reconcile** `rows_in = rows_loaded + rows_rejected` (plus documented aggregations), and match control totals for the key measures.
9. **Handle schema drift**: compatible changes (reordering, new optional columns, known aliases) proceed with a warning. Incompatible changes (a missing required column, a type change) fail the load.
10. **Produce a load report**: source, hash, period, counts in/loaded/rejected, warnings, and control totals. See [ingestion-tests.md](references/ingestion-tests.md) for the required test cases.
## Rules
- Never assume monthly files share a layout. Match columns by normalized name and alias, never by position.
- Separate required from optional columns. A missing required column fails clearly, naming the column and the file.
- Do not silently discard unknown columns. Report them, and keep them in a staging layer when practical.
- Preserve lineage: every loaded row carries `source_file`, `source_hash`, `loaded_at` and `source_row_number`.
- Loads are idempotent. A rerun for the same period gives the same result (delete-and-insert by period inside a transaction, or `MERGE` on the business key).
- Declare whether each table is full-refresh or incremental, and its watermark column.
- Never overwrite a prior period silently. Overwrites need the re-delivery policy and a log entry.
- Test reruns and partial failures. A failure must leave the target unchanged (transaction or staging swap).
- Never modify source files in place.
## Outputs
Loader code or Power Query steps, a data contract, ingestion tests, and a load report per run.
## Hand-offs
Reconciliation sign-off and regression suites → **data-quality-auditor**. Model and grain decisions → **analytics-architect**. Query authoring → **sql-analytics-expert**.