Headcount

Skills / Data & Analytics / Data engineering

Skill

Data engineering

Builds and operates data pipelines — ingestion, transformation, orchestration, quality testing, and reliability of data delivery.

When it loads

Your assistant reads this description and loads the skill when a request matches it. Nothing else is in context until then.

Builds and operates data pipelines — ingestion, transformation, orchestration, quality testing, and reliability of data delivery. Use this to design or debug a pipeline, decide batch versus streaming, add data quality checks, handle late or duplicate data, or work out why a dashboard's numbers changed without anyone changing the dashboard.

Add it to your assistant

This skill ships in the Data & Analytics department, with 6 others.

Claude Code

/plugin marketplace add cbrock84/headcount
/plugin install data-analytics@headcount

ChatGPT and Codex

This department is packaged for the ChatGPT plugin directory and not listed there yet. Until it is, add this repository as a plugin marketplace, or copy plugins/data-analytics/skills/ into .agents/skills/ in your own project.

GitHub Copilot CLI

copilot plugin marketplace add cbrock84/headcount
copilot plugin install data-analytics@headcount

Cursor

The repository is a Cursor plugin marketplace. On a Teams or Enterprise plan, import it under Dashboard, Plugins & MCPs, New marketplace, Import from a repository. To try this department on one machine, copy plugins/data-analytics into ~/.cursor/plugins/local/ and reload the window.

Gemini CLI

Gemini CLI installs one skill at a time:

gemini skills install https://github.com/cbrock84/headcount.git --path plugins/data-analytics/skills/data-engineering

The skill is identical in every tool. The Copilot, Cursor and Gemini steps follow each tool's published format and have not been run end to end here.

What the skill tells the assistant

The full text, as it installs. View the source on GitHub.

Pipelines are production systems whose failures are quiet. A broken service pages someone; a broken pipeline produces plausible numbers that people act on for a week.

This is movement and transformation. Schema and semantics belong to data-analytics:data-modeling, policy and stewardship to data-analytics:data-governance.

Land raw, transform downstream

Keep an immutable copy of source data exactly as received. Transformation logic will be wrong at some point, and raw data is what lets you reprocess rather than re-request from a source that may no longer have it.

Business logic belongs downstream where it is visible and testable, not buried in ingestion. The exception is transformation required for privacy — minimization, pseudonymization, dropping fields you have no basis to hold — which belongs at ingest precisely because raw storage is what the obligation attaches to. See legal-risk:privacy-and-data-protection.

Idempotence is the property that matters

Every pipeline will be re-run: after a failure, after a fix, after a late-arriving correction. A re-run that double-counts is worse than a failure, because it produces a wrong answer silently.

Design for exactly-once effect at the destination — deterministic keys, merges rather than blind appends, partitioned overwrites. Then re-running is safe and recovery stops being frightening.

Late, duplicate and out-of-order data

Real sources deliver all three. Decide explicitly, per pipeline: how late is an event still accepted, what happens to one arriving after its window closed, and how duplicates are identified.

Distinguish event time from processing time and partition on event time. Aggregations built on arrival time silently reassign yesterday's activity to today whenever a delivery is delayed.

Test data, not just code

Unit tests on transformation logic catch the wrong class of failure. Most damage comes from data that is valid but wrong. Assert on the data itself, in the pipeline, and fail loudly:

  • Row counts within an expected range, not merely non-zero.
  • Uniqueness of keys, and referential integrity across joins.
  • Freshness — the newest record is recent enough to be meaningful.
  • Distribution shifts in important columns.

A silent failure is worse than a loud one. Prefer stopping the pipeline to publishing data you do not trust.

Sources

references/sources.md in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding.

Tooling

Warehouses and lakehouses: Snowflake, BigQuery, Databricks, Redshift, and Postgres or DuckDB at small scale, and similar.

Ingestion: Fivetran, Airbyte, Stitch, and similar. Transformation: dbt, SQLMesh. Orchestration: Airflow, Dagster, Prefect, and similar.

Buy ingestion and build transformation. Connector maintenance returns nothing for the time your team puts into it.

Never

  • Transform on ingest for business reasons and discard the raw copy.
  • Build a pipeline whose re-run double-counts.
  • Aggregate on processing time when event time is available.
  • Let a pipeline fail silently and publish stale data as current.

Company context

Before answering, look for the company profile: the file .headcount/company.md in the working folder, or a document titled "Headcount company profile" in the conversation, the project's instructions or files, or saved memory. Where there is one, answer for that company and do not ask for anything it already states. Where it conflicts with what the person says now, the person is right, and say that the profile looks out of date. Where there is none, carry on: ask only for the facts this question turns on, and mention once that executive:company-onboarding records them so they are not asked again.

Other departments

A skill written as department:skill belongs to another department, and each department installs separately. If the one a question belongs to is not installed, name the department that owns it and how to add it, and do not improvise its work. references/departments.md in this skill lists each department this skill names, with the install step for Claude Code and for ChatGPT.

Files it ships with

Loaded only when the skill calls for them.

Sources it checks against

Where a question has an outside authority, the skill points the assistant at it instead of answering from memory.

More in Data & Analytics