跳到主要内容
知仓学习社ZHICANG

senior-data-engineer

>

读凭据读文件写文件执行命令联网严重 1 · 高危 0borghei/Claude-Skills

它会碰到什么

扫了多少9 个文本文件,263 KB
它会碰到什么读凭据读文件写文件执行命令联网
命中总数25 处
命中统计严重 1 · 高 0 · 中 23 · 低 0
逐条看命中(1 条严重或高危)
  • 严重 scripts/pipeline_orchestrator.py:114cred-paths
    's3': 'from airflow.providers.amazon.aws.operators.s3 import S3CreateBucketOperator',

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Senior Data Engineer

Generate pipeline configurations (Airflow, Prefect, Dagster), validate data quality with profiling and anomaly detection, and optimize SQL/Spark performance with actionable recommendations.

Core Capabilities

  • Pipeline generation — Airflow/Prefect/Dagster DAG code for batch and incremental loads, with DAG validation.
  • Data quality — schema validation, profiling, anomaly detection, data contracts, and Great Expectations suite generation.
  • ETL/ELT optimization — SQL and Spark analysis, partition strategy, and query cost estimation per warehouse.
  • Architecture decisions — batch vs streaming and warehouse vs lakehouse trade-off frameworks.
  • Reliability patterns — incremental watermarks, dead letter queues, freshness checks, and schema-drift detection.

When to Use

  • Designing a data architecture or choosing batch vs streaming / warehouse vs lakehouse.
  • Building or generating Airflow/Spark/dbt pipelines.
  • Adding data-quality checks or data contracts.
  • Optimizing slow ETL/ELT queries or troubleshooting pipeline failures.

Clarify First

Before generating pipelines, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • [ ] Orchestrator — Airflow / Prefect / Dagster (--type; changes the generated DAG code)
  • [ ] Source, destination & load mode — systems involved and batch vs incremental (--source/--destination/--mode; shapes the pipeline)
  • [ ] Data-quality expectations — the schema and contracts to enforce (drives the Great Expectations suite generation)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Quick Start

# Generate an Airflow DAG for incremental PostgreSQL -> Snowflake
python scripts/pipeline_orchestrator.py generate \
  --type airflow --source postgres --destination snowflake \
  --tables orders,customers --mode incremental --schedule "0 5 * * *"

# Validate data quality against a schema
python scripts/data_quality_validator.py validate data.csv \
  --schema schema.json --detect-anomalies --json

# Profile a dataset
python scripts/data_quality_validator.py profile data.csv --json

# Optimize a slow SQL query
python scripts/etl_performance_optimizer.py analyze-sql query.sql \
  --warehouse snowflake --json

# Estimate query cost
python scripts/etl_performance_optimizer.py estimate-cost query.sql \
  --warehouse bigquery --stats data_stats.json --json

Tools

| Tool | Subcommands | Purpose |

|------|-------------|---------|

| pipeline_orchestrator.py | generate, validate, template | Generate Airflow/Prefect/Dagster pipeline code, validate DAGs |

| data_quality_validator.py | validate, profile, generate-suite, contract, schema | Schema validation, profiling, anomaly detection, Great Expectations |

| etl_performance_optimizer.py | analyze-sql, analyze-spark, optimize-partition, estimate-cost, template | SQL/Spark optimization, partition strategy, cost estimation |

All subcommands support --json for machine-readable output and --output for file writing.

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • [references/pipeline-workflows.md](references/pipeline-workflows.md) — the three end-to-end worked pipelines with code: batch ETL (PostgreSQL → dbt → Snowflake), real-time streaming (Kafka → Spark → Delta Lake), and the data-quality framework. Read when building a concrete pipeline.
  • [references/decisions-and-troubleshooting.md](references/decisions-and-troubleshooting.md) — the batch-vs-streaming and warehouse-vs-lakehouse decision frameworks, anti-patterns, and the troubleshooting table. Read when choosing an architecture or diagnosing a failure.
  • [references/data_pipeline_architecture.md](references/data_pipeline_architecture.md) — deep reference on pipeline architecture patterns. Read for architecture design depth.
  • [references/data_modeling_patterns.md](references/data_modeling_patterns.md) — dimensional modeling and data-modeling patterns. Read when modeling marts and dimensions.
  • [references/dataops_best_practices.md](references/dataops_best_practices.md) — DataOps practices for CI/CD, testing, and operating pipelines. Read when operationalizing pipelines.

Integration Points

| Skill | Integration |

|-------|-------------|

| senior-data-scientist | Feature engineering consumes curated mart data |

| senior-ml-engineer | ML pipelines depend on feature store tables |

| senior-devops | CI/CD for dbt, Airflow deployment, container orchestration |

| senior-architect | Architecture reviews for lakehouse vs warehouse decisions |

| code-reviewer | Pipeline code reviews for DAGs, dbt models, Spark jobs |

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。