agentleFS
irahardiantoirahardianto/awesome-agv/.agents/skills/data-engineering/SKILL.md

data-engineering

Skill157 starsChanged 3 months agoMITView on GitHub

Data pipeline architecture, ETL/ELT patterns, data quality, batch vs stream processing, orchestration, and data governance principles.

13 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use backfill capabilities for historical reprocessing

    line 60

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Engineering Principles

Guidelines for building reliable, scalable data pipelines and platforms.

When to Invoke

  • Designing data pipelines (ETL/ELT)
  • Evaluating batch vs stream processing
  • Data quality and governance requirements
  • Data warehouse/lake architecture decisions

Pipeline Architecture

Design Principles

  1. Idempotent pipelines — re-running produces same result. Use upserts, not inserts.
  2. Schema evolution — handle new fields without breaking consumers.
  3. Exactly-once processing — deduplication at ingestion, idempotency keys.
  4. Incremental processing — process only new/changed data, not full reloads.

Patterns

PatternWhen to Use
Batch ETLScheduled, high volume, latency-tolerant
StreamingReal-time, event-driven, low latency
LambdaBoth batch and stream (complexity trade-off)
KappaStream-only, reprocessing via replay
MedallionBronze (raw) → Silver (cleaned) → Gold (curated)

Data Quality

Checks (Non-Negotiable)

  • Completeness — no unexpected nulls in required fields
  • Uniqueness — no duplicate records on primary keys
  • Referential integrity — foreign keys resolve
  • Freshness — data arrives within SLA window
  • Volume — row counts within expected range (±threshold)

Framework

Source → Validate (schema, nulls, types) → Transform → Validate (business rules) → Load → Verify (counts, checksums)

Orchestration

ToolStrength
Apache AirflowMost mature, Python-native, DAG-based
DagsterType-safe, asset-oriented, modern
PrefectPythonic, flow-based, cloud-native

Best Practices

  • DAGs should be idempotent and retriable
  • Separate orchestration from computation
  • Use backfill capabilities for historical reprocessing
  • Alert on SLA breaches, not just failures

Data Modeling

ModelWhen
Star schemaAnalytics, BI dashboards, simple queries
Data VaultEnterprise, auditability, multiple sources
DimensionalAggregated reporting, OLAP

Governance

  • Data lineage tracked (source → transformation → destination)
  • Access controls per dataset/table
  • PII identified and masked/encrypted
  • Retention policies documented and automated

Related

  • Database Design Principles @.agents/rules/database-design-principles.md
  • SQL Idioms @.agents/skills/sql-idioms/SKILL.md
  • Logging Implementation @.agents/skills/logging-implementation/SKILL.md

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.