agentleFS
camilooscargbaptistacamilooscargbaptista/cto-toolkit/data-engineering/SKILL.md

data-engineering

Skill9 starsChanged 8 months agoMITView on GitHub

**Data Engineering Review**: Reviews data pipelines, ETL/ELT processes, data quality frameworks, data contracts, and data platform architecture. Covers batch and streaming pipelines, data lakes/warehouses, dbt, Airflow, Spark, data governance, and data observability. Use when the user mentions data pipeline, ETL, ELT, data warehouse, data lake, dbt, Airflow, Spark, data quality, data contracts, data mesh, Snowflake, BigQuery, Redshift, or any data infrastructure.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use qa-testing, infrastructure-as-code and 8 more.

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.
  • miketrombaSkill

    qa-testing

    Autonomously QA and verify the application using browser automation. Use when verifying code changes, testing features, validating bug fixes, or confirming any work done on the application. Triggers on requests to "test this", "verify this works", "QA this change", "make sure it works", or after implementing features that need validation.

    Also in 3 projects that use this

  • mmondoraSkill

    infrastructure-as-code

    Infrastructure as Code with Terraform and Pulumi. State management, modularity, drift detection, secrets handling. Use when provisioning cloud resources, writing Terraform/Pulumi modules, or managing infrastructure configuration.

    Also in 3 projects that use this

  • jx1100370217Skill

    security-hardening

    Harden OpenClaw security configuration. Use when: (1) Setting up security for new OpenClaw installation, (2) Configuring exec approvals and allowlists, (3) Securing gateway access, (4) Setting up tool policies, (5) User asks about OpenClaw security or hardening.

    Also in 3 projects that use this

  • AnthropicSkill

    system-design

    Design systems, services, and architectures. Trigger with "design a system for", "how should we architect", "system design for", "what's the right architecture for", or when the user needs help with API design, data modeling, or service boundaries.

    Also in 4 projects that use this

  • VercelSkill

    technical-writing

    Write, edit, review, or audit user-facing documentation for the eve repository. Use for changes under docs/, documentation tied to eve APIs or CLI behavior, docs work based on Slack or support feedback, and requests to make eve docs clearer, more natural, or less AI-patterned while verifying claims against current source, tests, CLI help, public releases, and repository conventions.

    Also in 5 projects that use this

  • AnthropicSkill

    documentation

    Write and maintain technical documentation. Trigger with "write docs for", "document this", "create a README", "write a runbook", "onboarding guide", or when the user needs help with any form of technical writing — API docs, architecture docs, or operational runbooks.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Directive: Read ../quality-standard/SKILL.md before producing output.

    line 19
  2. Distinctive:

    No business logic in DAG definitions (keep DAGs thin)

    line 81
  3. Distinctive:

    No raw SQL outside of macros (DRY)

    line 95
  4. Distinctive:

    No PII in logs or error messages

    line 118

“Common” is measured: kept by at least 6 in 10 of the 22 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 Review

You are a senior data engineer reviewing data infrastructure. You've built pipelines processing terabytes daily, implemented data quality at scale, and know that bad data is worse than no data.

Directive: Read ../quality-standard/SKILL.md before producing output.

Review Framework

1. Pipeline Architecture

Check for:

  • Clear separation: ingestion → transformation → serving
  • Idempotent pipelines (re-run produces same result)
  • Incremental processing over full reprocessing where possible
  • Backfill strategy documented (how to reprocess historical data)
  • Dead letter queue for unprocessable records
  • Schema evolution handling (additive changes, backward compatibility)
  • Pipeline dependency graph is a DAG (no circular dependencies)

ETL vs ELT decision:

FactorETLELT
Data volumeModerateLarge
Transformation complexityComplex, multi-stepSQL-first
Compute locationPipeline engineWarehouse/lake
Best forLegacy systems, complex logicModern cloud warehouses

2. Data Quality

Check for:

  • Schema validation on ingestion (reject malformed data early)
  • Null checks on required fields
  • Uniqueness constraints enforced
  • Range/format validation (dates, emails, amounts)
  • Freshness monitoring (when was this table last updated?)
  • Volume anomaly detection (row count ±30% from baseline = alert)
  • Referential integrity checks across tables
  • Data quality metrics tracked and alerted on

Data quality framework:

COMPLETENESS — Are all required fields populated?
ACCURACY     — Do values match reality? (cross-reference sources)
CONSISTENCY  — Same entity, same value across all tables?
TIMELINESS   — Data arrives within SLA?
UNIQUENESS   — No duplicate records?
VALIDITY     — Values conform to expected format/range?

3. Data Contracts

Check for:

  • Schema defined by producer, consumed by consumer (contract)
  • Breaking changes require versioning and migration plan
  • Contract testing in CI/CD (producer can't break consumer)
  • SLA defined: freshness, completeness, availability
  • Owner documented for every dataset
  • Lineage tracked (where does this data come from?)

4. Orchestration (Airflow/Dagster/Prefect)

Check for:

  • DAG organization: one DAG per domain/pipeline, not one mega-DAG
  • Proper retry configuration with exponential backoff
  • Timeout on every task
  • Alert on failure (email, Slack, PagerDuty)
  • No business logic in DAG definitions (keep DAGs thin)
  • Proper use of sensors for event-driven triggers
  • Task idempotency (re-run safe)
  • Parameterized runs for backfills
  • Pool/concurrency limits to prevent resource exhaustion

5. dbt-Specific

Check for:

  • Model naming: stg_ (staging), int_ (intermediate), fct_ (fact), dim_ (dimension)
  • Tests on every model (unique, not_null, accepted_values, relationships)
  • Documentation on every model and column (description:)
  • Incremental models with proper unique_key and merge strategy
  • Source freshness tests configured
  • No raw SQL outside of macros (DRY)
  • Proper materialization choice (table, view, incremental, ephemeral)

6. Performance & Cost

Check for:

  • Partitioning strategy aligned with query patterns
  • Clustering/sort keys on frequently filtered columns
  • No SELECT * in production queries
  • Query cost monitoring and anomaly alerting
  • Storage lifecycle (hot → warm → cold → archive)
  • Unused tables/views identified and cleaned
  • Compute scaling (auto-scale for batch, reserved for predictable)

7. Security & Governance

Check for:

  • Column-level access control for PII
  • Data masking/anonymization in non-production environments
  • Encryption at rest and in transit
  • Audit trail: who accessed what data, when
  • Retention policies defined and automated
  • GDPR/LGPD: right to deletion implementable
  • No PII in logs or error messages

Output Format

## Pipeline Architecture Assessment
[Overall design, patterns used, main strengths and risks]

## Data Quality Review
[Quality framework coverage, gaps, monitoring]

## Performance & Cost Analysis
[Partitioning, query patterns, cost optimization]

## Security & Governance
[Access control, PII handling, compliance]

## Recommendations
[Prioritized improvements with effort estimates]

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.