agentleFS
HaiTrieu0902HaiTrieu0902/agent-skills-kit/skills/data-engineering/SKILL.md

data-engineering

Skill0 starsChanged 8 months agoMITView on GitHub

Modern data pipeline design — ELT, ingestion, transformation, orchestration, warehouse/lakehouse modeling, and data quality. Use when building or reviewing data pipelines, warehouses, data marts, or analytics infrastructure.

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use security-audit and code-review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CloudflareSkill

    security-audit

    Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

Files
SKILL.md

Data Engineering

Move data reliably, transform it transparently, and make it trustworthy.

Complements database-design (which covers OLTP schema/indexing). This skill is about analytics pipelines and warehousing.

Overview

A data platform turns raw operational data into clean, modeled, queryable datasets for BI, analytics, and ML. The goals: correctness, reproducibility, and freshness — in that order.

ELT vs ETL

PatternTransform happensUse when
ELTInside the warehouse, after loadDefault today — cloud warehouses are cheap to compute, transforms are versioned SQL
ETLBefore load, in a separate engineHeavy pre-processing, strict pre-load compliance, or non-SQL transforms

The Stack (roles, not products)

sources → ingestion → raw/landing → transform (modeled) → marts → BI / ML
                              ↑ orchestration + data quality run across all stages
LayerResponsibility
IngestionLand raw data; capture changes (CDC); be idempotent and replayable
TransformVersion-controlled SQL (e.g. dbt-style): staging → intermediate → marts
OrchestrationSchedule, sequence, retry, backfill (Airflow / Dagster / Prefect)
Warehouse / LakehouseStore and serve modeled data at query time
Data qualityTested assertions on freshness, volume, nullability, uniqueness

Modeling

ApproachUse for
Dimensional (star schema / Kimball)BI and self-serve analytics — fact + dimension tables, conformed dimensions
Wide / one-big-tablePerformance-critical dashboards, denormalized for read speed
Medallion (bronze→silver→gold)Layered refinement in a lakehouse
  • Separate staging (clean/rename, 1:1 with source) from marts (business logic).
  • Make models idempotent and prefer incremental processing for large tables (process new/changed rows, not full refresh).

Reliability Principles

PrincipleWhy
IdempotencyA re-run produces the same result — safe retries and backfills
IncrementalityProcess deltas, not the whole table, for cost and speed
Data contractsProducers agree on schema/semantics so pipelines don't silently break
LineageKnow what feeds what — for impact analysis and debugging
Tests as codeFreshness, row-count, uniqueness, referential checks run in the pipeline

Data Quality Checks

  • Freshness: is the data recent enough?
  • Volume: row counts within expected bounds (catch silent drops/dupes).
  • Schema: expected columns and types present.
  • Integrity: uniqueness of keys, no orphaned references, accepted value ranges.

Anti-Patterns

❌✅
Full-refresh everything nightlyIncremental + idempotent models
Business logic scattered in dashboardsCentralize logic in versioned transforms
No tests on dataFreshness/volume/integrity assertions in CI
Undocumented lineageTrack dependencies; one source of truth per metric
Transform during ingestion (ad hoc)Land raw, then transform in modeled layers

Raw data is an asset only after it is clean, modeled, tested, and traceable.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.