data-engineering

data-engineering is a skill for Claude Code, Codex from rockyflux/yq-workflow. It costs 53 tokens per session (2,356 once invoked), scanned A, a copy of data-engineering, MIT.

A reference for data engineering: the work of moving, processing, and checking data. It covers workflow tools such as Airflow, Dagster, and Prefect, streaming tools such as Kafka Streams, Flink, and Spark Streaming, and data-quality tools such as Great Expectations, dbt, and Soda Core.

In plain words
What is it for?
Use it to design pipeline workflows, compare orchestration frameworks, configure retries and alerts, map dynamic tasks, manage data assets, and plan streaming or quality checks.
Why use it?
It helps compare ways to schedule data pipelines, process live data, and verify that data is reliable. It also documents common Airflow and Dagster patterns.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/rockyflux/yq-workflow/data-engineering
Any agent
npx skills add rockyflux/yq-workflow --skill data-engineering
Clone the repo
git clone --depth 1 https://github.com/rockyflux/yq-workflow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for data-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockyflux/yq-workflow/data-engineering.svg)](https://agentmods.dev/skills/rockyflux/yq-workflow/data-engineering)
Your own site
<a href="https://agentmods.dev/skills/rockyflux/yq-workflow/data-engineering"><img src="https://agentmods.dev/badge/skills/rockyflux/yq-workflow/data-engineering.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,356 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00053 $0.02356
Opus 5 $0.00026 $0.01178
Sonnet 5 $0.00011 $0.00471
Haiku 4.5 $0.00005 $0.00236

Measured 3d ago against content hash ac90f4d99b88, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

data-engineering scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to data-engineering — 414 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

templates/skills/domains/data-engineering/SKILL.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.

数据工程域 · Data Engineering

域概览

数据工程域涵盖数据管道编排、流式处理、数据质量保障三大核心领域。

数据管道层                流处理层              质量保障层
├── Airflow (调度编排)    ├── Kafka Streams     ├── Great Expectations
├── Dagster (资产管理)    ├── Flink             ├── dbt
└── Prefect (现代工作流)  └── Spark Streaming   └── Soda Core

数据管道编排

框架对比

特性 Airflow Dagster Prefect
核心模型 DAG + Task Asset + Op Flow + Task
学习曲线 陡峭 中等 平缓
资产管理 原生支持
动态任务 支持 支持 支持
本地开发 复杂 简单 简单
社区生态 最大 成长中 成长中

Airflow 核心模式

  • DAG 定义:with DAG(dag_id, schedule, default_args) as dag
  • TaskFlow API:@task 装饰器,自动 XCom 传递
  • 动态任务:@task + .expand() 实现 dynamic task mapping
  • Operators:PythonOperator / BashOperator / SQL / HTTP / S3
  • Sensors:FileSensor / HttpSensor / ExternalTaskSensor
  • 重试策略:retries=3, retry_delay=timedelta(minutes=5), retry_exponential_backoff=True
  • 失败回调:on_failure_callback 发送告警
  • SLA 监控:sla=timedelta(hours=2) + sla_miss_callback

Dagster 核心模式

  • Asset 定义:@asset(group_name, deps) 声明数据资产
  • MaterializeResult:返回元数据(行数、预览等)
  • Resources:ConfigurableResource 管理外部连接
  • Jobs:define_asset_job(selection=AssetSelection.groups(...))
  • Schedules:ScheduleDefinition(job, cron_schedule)
  • Sensors:@sensor(job) 监听外部事件触发
  • Partitions:DailyPartitionsDefinition 按日分区
  • Asset Checks:@asset_check 验证数据新鲜度/质量

Prefect 核心模式

  • Flow/Task:@flow + @task(retries=3, cache_key_fn=task_input_hash)
  • 并发:ConcurrentTaskRunner + task.map(items)
  • Deployments:Deployment.build_from_flow(schedule=CronSchedule(...))
  • Blocks:Secret / JSON 管理配置和密钥

调度策略 Checklist

  • Cron 表达式正确(0 2 * * * 日批 / */15 * * * * 实时)
  • 事件驱动:文件到达 / S3 / API 触发
  • 跨 DAG 依赖:ExternalTaskSensor / Asset deps
  • 幂等性:UPSERT / 分区覆盖写入
  • 增量处理:WHERE updated_at > last_run
  • 数据血缘:Dagster 原生 / Airflow Lineage / dbt ref()

流式处理

框架对比

特性 Kafka Streams Flink Spark Streaming
部署模式 嵌入式(JVM) 独立集群 独立集群
状态管理 RocksDB 内存/RocksDB 内存
Exactly-Once 支持 支持 支持
窗口类型 丰富 最丰富 基础
学习曲线 平缓 陡峭 中等
Python API kafka-python PyFlink PySpark

Read the full file on GitHub · 208 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 208 lines · 53 tokens per session scan A ac90f4d99b88

Subscribe to this mod's changes

data-engineering is a skill published in the GitHub repository rockyflux/yq-workflow (2 stars, last pushed 3mo ago), licensed MIT. It adds 53 tokens to every session and 2,356 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to data-engineering, differing in 414 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens