contract-compat
Classify the differences between two OpenAPI 3.x JSON documents (or two JSON Schemas, with local $ref resolved) as BREAKING or compatible, and fail on any…
Skill by ALTEN-group
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alten-group-contract-compat
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, devops, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/contract-compat
What's inside
- Skill name
contract-compat- Description
- Classify the differences between two OpenAPI 3.x JSON documents (or two JSON Schemas, with local $ref resolved) as BREAKING or compatible, and fail on any breaking change unless an Accepted, human-signed decision record is supplied. Use when the agent loop or CI (Prove stage) must guarantee that public interfaces and consumer contracts never break silently.
- License
- MIT
- Instructions
- 42 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- contract-compat-contract.md · references/
- contract-compat.mjs · scripts/
- contract-compat.test.mjs · scripts/
- contract-fixture.mjs · scripts/
SKILL.md (first lines)
# Contract Compat Deterministic Contract & Schema Compatibility gate. It compares the released contract (base) with the changed contract (head) and prints every change as `BREAKING` or `compatible`. A breaking public contract is a Critical blast radius, so it only passes with a signed decision record. ## When to Use This Skill - A change touches an OpenAPI document or a JSON Schema that other systems consume. - CI (Prove) must block a pull request that removes an operation or response, removes or retypes a response property, adds a required request input, or adds security to an operation. - A breaking change is intended and must be released through an Architect-signed decision record. ## Path resolution Resolve `references/` and `scripts/` relative to **this skill's install directory** (the folder that contains this `SKILL.md`), not the consumer repository root or the current shell cwd. If the skill was installed under `.agents/skills/contract-compat/` or `.claude/skills/contract-compat/`, use that base path. Run the script from the repository root and write `<skill-dir>` as that install path. ## Workflow 1. **Read `references/contract-compat-contract.md` now.** It is the authoritative source for what counts as breaking, supported documents, output format, and the decision-record rule. 2. Produce JSON for both sides. YAML, Swagger 2.0, external `$ref`, and Pact are not supported: convert or bundle first. ```bash git show origin/main:openapi.json > base.json ``` 3. Run the gate from the repository root: ```bash node <skill-dir>/scripts/contract-compat.mjs --base base.json --head openapi.json # Intended breaking change, released by an Accepted decision record signed by the Architect node <skill-dir>/scripts/contract-compat.mjs --base base.json --head openapi.json \ --allow-breaking docs/decisions/0007-remove-legacy-role.md ``` 4. Treat a nonzero exit as a failed gate. Restore compatibility (keep the old field, make the new one optional, add a new version). If the break is intended, ask the Architect for a decision record. The AI may draft it, but only a person signs it. ## Done When - The script exits 0 with no `BREAKING` line, or every `BREAKING` line is covered by an `Accepted` decision record signed by a named Architect. - The base contract was not edited to hide a difference. - No decision record was signed or marked `Accepted` by the AI.
From ALTEN-group/coding-pal, MIT.
More from ALTEN-group/coding-pal
- 0.624score
angular-admin-examples
ALTEN-group
Scaffold or match Angular admin CRUD entity slices (model/conf/service, thin feature component, protected routes, resolvers).
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
incident-record
ALTEN-group
Author and validate incident records (docs/incidents/<date>-<slug>.md): detect, mitigate first, diagnose with correlated evidence, repair with a failing test…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
learn-signals
ALTEN-group
Close the Learn loop: turn validated incident records, invalidated hypotheses, and high severity telemetry findings into Triage backlog issue bodies (labels…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
meeting-pack
ALTEN-group
Structure, validate, and hand off persistent Meeting Packs from client meeting transcripts: normalize a plain-text transcript, build a pack (summary…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
migration-docs
ALTEN-group
Structure, author, and validate the migration documentation set (assessment.md, migration-plan.md, runbook.md) for moving an application from one…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
mutation-bar
ALTEN-group
Gate a change on its Mutation Testing Bar: read a Stryker mutation-testing-elements JSON (or a generic killed/survived summary), compute the mutation score…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
code-loop
ALTEN-group
Drive the Code stage one plan step at a time with persistent progress, enforce the fix-loop limit, and guard agent branches.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
context-health
ALTEN-group
Check the health of Persistent Context and prepare the weekly Persistent Context & Controls review: lint instruction files (missing description, broad…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
control-guard
ALTEN-group
Fail a change that weakens a deterministic control (deleted or skipped tests, lowered thresholds, disabled workflow steps, edited control files, added…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
criteria-verify
ALTEN-group
Prove that every acceptance criterion (AC-<n>) in a plan.md has at least one passing test and that no test mapped to a criterion failed, by reading JUnit XML…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
decision-record
ALTEN-group
Structure, draft, validate, and track the Architect's decision records (docs/decisions/NNNN-slug.md) and escalations with a default date.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
flow-metrics
ALTEN-group
Record and compute the Agentic Software Factory metrics from an append-only event log (metrics/events.jsonl): validate and append events, then print a…
SkillAFreshness: A★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 13, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ALTEN-group/coding-pal
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ALTEN-group
- 0.624score
criteria-verify
ALTEN-group
Prove that every acceptance criterion (AC-<n>) in a plan.md has at least one passing test and that no test mapped to a criterion failed, by reading JUnit XML…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
code-loop
ALTEN-group
Drive the Code stage one plan step at a time with persistent progress, enforce the fix-loop limit, and guard agent branches.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
context-health
ALTEN-group
Check the health of Persistent Context and prepare the weekly Persistent Context & Controls review: lint instruction files (missing description, broad…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
angular-admin-examples
ALTEN-group
Scaffold or match Angular admin CRUD entity slices (model/conf/service, thin feature component, protected routes, resolvers).
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
control-guard
ALTEN-group
Fail a change that weakens a deterministic control (deleted or skipped tests, lowered thresholds, disabled workflow steps, edited control files, added…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
decision-record
ALTEN-group
Structure, draft, validate, and track the Architect's decision records (docs/decisions/NNNN-slug.md) and escalations with a default date.
SkillAFreshness: A★ 5Claude Code +9
Cite this page
contract-compat skill. Agent Mart. https://agentmart.dev/skills/alten-group-contract-compat (last updated 2026-10-24)