/system-ontology:impact [file-or-contract-id]from system-ontology
Report which consumers a change to a published contract (OpenAPI, proto, event schema, shared library API) would break, with the diff classified as breaking, additive or neutral.
Ships in system-ontology. 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.
Arguments: $ARGUMENTS
Run the impact analysis. With no argument it covers every contract file changed in the working tree; with a file path or a contract id (<repo-id>/<contract-name>) it covers just that one.
With no argument, run:
node "${CLAUDE_PLUGIN_ROOT}/bin/ontology.mjs" impact --json
With an argument, run the same command with the user's argument added as one double-quoted word before --json, for example impact "api/openapi.yaml" --json. Escape any double quote, $ and backtick inside the quotes. Never pass an empty string.
The output is a JSON array of reports (empty when no contract changed). Running this command also records that the impact was reviewed for each contract source file, which lifts the guard's block on that file for 12 hours.
After the guard blocks an edit, the file on disk is unchanged. The report then diffs the blocked edit's proposed text and has proposed: true; say that it describes the blocked edit.
Present, per report:
breaking, additive, neutral or unknown) and the contract's change policy.consumers) grouped by owning team (repo, service, team handle). If allConsumers lists more, name the others as consumers of the contract that this change does not touch.snapshot (commit, ageDays, stale, fetchErrors). With no reports, the same object is on the stderr line {"snapshot":...}. If it is stale or fetchErrors is above 0, say so, because consumers may be missing.If the command exits non-zero, show its stderr message and stop. Typical causes: no .ontology/config.json, or no cached map (run node "${CLAUDE_PLUGIN_ROOT}/bin/ontology.mjs" sync).
unknown means the change could not be classified; treat it as breaking and say so.
If any report is breaking or unknown and has consumers, end by offering to run /system-ontology:plan. Do not start the plan unasked.
What SKILL.md sets; muted values are Claude Code's defaults
Use before editing or after editing a contract source file, when the guard blocks an edit and asks for an impact report, when asked who is affected by an API, event or library change, or when reviewing a diff that touches api, proto, schema or library public files.
Other plugins' skills for the same job
5 skills in this plugin
/askAnswer a question about the system model, such as who consumes a contract or event, what a service depends on, who owns a repo or path, or what a glossary term means./initSet up system-ontology in the current repo. Drafts .ontology/manifest.json and .ontology/config.json from the repo's contracts, dependencies and CODEOWNERS, walks through what needs confirming, and can scaffold the central map repo./planBuild an ordered cross-repo plan for the working-tree change (shared or canonical repo first, then publisher, then consumers), with the compatible path for breaking changes, and start steps in other repos only with per-repo approval.npx claudepluginhub carloluisito/system-ontology-plugin --plugin system-ontology