/entropy-data-skills:contract-change-reviewfrom entropy-data-skills
Data Product Owners. On a pull request or before a planned change to a data contract or data product in Entropy Data, classifies each change as breaking or not, finds the affected consumers, downstream data products, and lineage, and returns a green/yellow/red verdict with a rollout plan and notification drafts. Use when an owner or engineer plans to change a schema, rename or remove a field, tighten quality rules, change an output port, or deprecate or retire a data product, and asks what breaks, who to tell, whether a change is breaking, or for an impact analysis.
Ships in entropy-data-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Persona: data product owner, data engineer Trigger: on a pull request that touches a data contract, or before a planned change or retirement Output: a green/yellow/red verdict, affected consumers, rollout plan, notification drafts
Answers "if I make this change, what breaks and who is affected?" before anything changes. Read-only unless the user explicitly asks to stage the change on a branch.
Follow the entropy-data-cli skill, Step 2.
Make a scratch directory and run one export dir of dataproducts,datacontracts,access,policies into it (see "Collecting data at scale" in the entropy-data-cli skill). Identify the data contract (entropy-data datacontracts get <id> for a given id, search only if unclear), then the data product and output port through outputPorts[].contractId in the export. Read the policies for rules on changes, notice periods, and personal data. Save the published contract in every case:
entropy-data datacontracts yaml <contract-id> --file "$SCRATCH/published.odcs.yaml"
Then get the change in one of these forms:
git diff, gh pr diff <n>), and compare it with the published contract.entropy-data datacontracts branches changes <contract-id> <branch> -o json
customer_email", "retire the product").Also run entropy-data datacontracts branches list <contract-id> -o json and report other open branches that change the same elements. Their own breaking-change classification can understate the impact: classify their changes yourself with Step 2.
For each changed element, decide breaking or non-breaking for consumers:
| Breaking | Non-breaking |
|---|---|
| Removing or renaming a schema, field, or output port | Adding an optional field |
| Changing a field's type to an incompatible one, or narrowing it | Widening a type (int to bigint, longer varchar) |
| Making a field required, or removing allowed values | Relaxing a constraint |
| Tightening quality rules consumers rely on, or changing semantics without changing the name | Improving descriptions |
| Changing the server or location of an output port | Adding a new output port |
| Deprecating or retiring the product |
Semantic changes (same name, different meaning or unit) are breaking even though no schema tool catches them. Ask the user about them explicitly; if you cannot, classify them as breaking and say so. For a removed or renamed field, search the whole contract and product for its name: table-level quality rules, SLA elements, context instructions and constraints, and descriptions (including the product's) that reference it change meaning too. The provider's own jobs that write the field (lineage outputs and column lineage of its jobs) must change as well.
Recommend the version bump: major for breaking, minor for additive, patch for documentation only.
With <since> the start of the period to look back on (for example 90 days, longer for monthly jobs):
entropy-data usage list --data-product-id <id> --since <since> --all -o json # group by outputport.name
entropy-data lineage list --since <since> --all -o json # organization-wide, once
entropy-data test-results list --data-contract-id <contract-id> --since <since> --all -o json
Take agreements from the export and keep those whose provider.outputPortId is the changed port (access list --provider-dataproduct returns all ports of the product). Consider active agreements and also requested and upcoming ones (approved, info.startDate in the future): they are consumers too, soon. Recent test results show whether the affected fields already fail, which consumers may already feel.
Lineage inputs are physical datasets (namespace and name, for example a Snowflake table). Find the port's physical location from the contract's servers and from the outputs of the provider's own jobs; they can differ, so match on schema and table names. Then search the inputs of all lineage events for it: this finds readers with and without an agreement.
For each consumer:
consumer.dataProductId that does not exist (for example a placeholder such as unknown) means the consumer is the team or user: report it that way and do not look up lineage for it.run.facets.entropy_data.dataProductId locally. Then fetch that consumer's own consumers (access list --provider-dataproduct <consumer-id>) for the second level of impact, unless column lineage shows that the affected fields are not propagated.?) may be printed.If there is no lineage or usage data for a consumer, say so: its impact is then "possible", not "confirmed". Usage covers a limited period (see the entropy-data-cli skill); name it.
authoritativeDefinitions), mark the old one deprecated in the contract, give consumers a deadline (at least the contract's notice period, such as a noticePeriod custom property, if set), then remove it in a new major version or a new output port (prefer a new port when the port name carries a version). For retirement: set status to deprecated, notify consumers, wait for agreements to end, then retire.support[] channel or the team. Do not send it.On a pull request, the PR comment contains only the verdict, the breaking changes, and counts ("affects 4 consumers in 3 teams, 2 confirmed by lineage"). Consumer names and purposes stay in the local report, because everyone with access to the repository can read the comment. Post it only if the user asks, with their git host's CLI (for example gh pr comment), after showing it.
If the user wants to move ahead, the change can be staged on a contract branch and tested without touching the published contract:
entropy-data datacontracts branches create <contract-id> <branch>
entropy-data datacontracts branches put <contract-id> <branch> --file changed.odcs.yaml
entropy-data datacontracts test <contract-id> --branch <branch>
Each command needs the user's confirmation. The test runs queries against the data platform, which costs compute and publishes a result.
Merging is a separate decision for the owner: entropy-data datacontracts branches merge <contract-id> <branch> --version <x.y.z>, only with explicit confirmation.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
14 skills in this plugin
/access-reviewGovernance. Quarterly access review (recertification) over all data usage agreements in Entropy Data: flags agreements without a clear purpose, long-pending requests, access to deprecated products, individual users on restricted data, duplicates, and provisioning that never completed, ranked by risk and grouped by provider team. Use when a governance lead, security officer, or auditor asks for an access review, a recertification campaign, or who has access to what and why, organization- or team-wide across many providers. For one owner's own data products, use dataproduct-health-briefing instead./data-discoveryData Product Builders. For a use case described in plain language, searches Entropy Data for candidate data products and evaluates each one's fitness: schema match, semantics, quality track record, freshness, terms of use, sensitive data, existing consumers, and owner, returning a ranked shortlist with gaps and the next step to get access. Use when a data engineer, analyst, or data scientist asks which data to use for a use case, whether a data product is good enough, or where to find data about a topic. For a plain lookup of a known product by name, just run a search and answer./dataproduct-health-briefingData Product Owners. Weekly briefing for a data product owner on their data products in Entropy Data: contract test trends, consumers and their purposes, actual usage versus granted access, costs, discoverability gaps, and pending access requests with a recommendation each, returned as a ranked to-do list. Use when a data product owner asks how their data products are doing, who uses their data, whether to approve access requests, or prepares a stakeholder review.npx claudepluginhub entropy-data/entropy-data-skills --plugin entropy-data-skills