Headcount

Skills / Data & Analytics / Data governance

Skill

Data governance

Establishes ownership, definitions, quality, access, and lineage for the organization's data.

When it loads

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

Establishes ownership, definitions, quality, access, and lineage for the organization's data. Use this when metrics disagree between teams, when nobody knows which dataset is authoritative, when setting up data ownership or access policy, when data quality is unreliable, or before opening a dataset to a wider audience.

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-governance

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.

Governance has a reputation for bureaucracy because it is usually implemented as approval queues. Done properly it is the opposite: it makes data usable without asking anyone.

Start with definitions, not policy

The highest-value governance artifact is a metric dictionary. For each business metric:

  • The plain-language definition — what it counts, and what it deliberately excludes.
  • The computation, unambiguously: source table, filters, time grain, timezone.
  • The owner — a person who decides when it is disputed.
  • Known caveats — when it is misleading, and what changed historically.

Most metric disputes dissolve once both parties read the same definition and discover they were measuring different things. Almost none require a policy.

Watch the ones that look obvious. "Active customer," "revenue," and "signup" each have half a dozen defensible definitions, and the ambiguity surfaces at the worst moment.

Ownership

Every dataset has a named owner accountable for its quality and access — a person, not a team. Unowned datasets decay, and nobody notices until a decision is made on stale data.

The owner should sit with the business meaning, not with the pipeline. The team that generates the data understands what it means; the platform team understands how it moves.

Quality, measured rather than asserted

Test data like code, continuously, and alert on failures:

  • Freshness — did it arrive when expected?
  • Volume — is the row count within its normal range? A silent drop to zero is the classic failure.
  • Uniqueness and nullity on key fields.
  • Referential integrity across joins.
  • Distribution — has the shape shifted in a way nothing explains?

The point is finding breakage before a decision is made on it. A pipeline that fails loudly is better than one that silently produces yesterday's numbers.

Access

Default to open for internal, non-personal data. Restrictive-by-default drives the shadow spreadsheet layer, which is genuinely less safe than a governed warehouse.

Personal, financial, and regulated data are the exception: least privilege, purpose stated, reviewed periodically, with Legal & Risk involved on anything with a lawful-basis question.

Lineage

Know where a number came from and what feeds it. Without lineage, you cannot answer the two questions that matter during an incident: what broke upstream, and what downstream is now wrong.

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.

Never

  • Let two systems each claim to be the source of truth for the same fact.
  • Fix a data-quality issue in a dashboard. Fix it upstream or it recurs in every other consumer.
  • Retire a dataset because it looks unused — you cannot see every consumer. Deprecate, announce, then remove.

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