From ultraprompt
**DEFAULT for API contract design and review — dispatches reviewer/integration-contract-reviewer with API contract focus.** Different from /migrate (intentional breaking change), /architect (system architecture, not contract review), /integration-contract-reviewer agent (used by this skill).
How this skill is triggered — by the user, by Claude, or both
Slash command
/ultraprompt:api-contract [surface|change description|consumer]When to use
Use for any change that affects a public surface: API endpoints, schemas, CLI flags, config formats, events, package exports, wire formats. Use when planning a deprecation. Do not use for purely internal refactors with no external surface (use refactor).
[surface|change description|consumer]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Apply discipline per `${CLAUDE_PLUGIN_ROOT}/_shared/DISCIPLINE.md` (covers `$ARGUMENTS` handling, evidence, validation, and safety).
Apply discipline per ${CLAUDE_PLUGIN_ROOT}/_shared/DISCIPLINE.md (covers $ARGUMENTS handling, evidence, validation, and safety).
Dispatch target: ultraprompt:reviewer (focus: contract). See ${CLAUDE_PLUGIN_ROOT}/_shared/DISPATCH-POLICY.md for the full V8 dispatch decision tree, Task call template, and inline-override conditions.
Compatibility is asymmetric: producers can extend (add fields, add methods, add optional flags) more freely than they can change or remove. Identify what consumers depend on — including undocumented behavior — before declaring something safe to change. Deprecation is a process, not an event: announce, warn, sunset.
Contract tests pass on both old and new behavior during deprecation window. Schema validation tools (json-schema, OpenAPI lint, GraphQL diff) confirm compatibility classification. Consumer integration tests where available.
Schema below + ${CLAUDE_PLUGIN_ROOT}/_shared/OUTPUT-CONTRACT.md + concise-review style.
schema:
- field: Surface Affected
type: section
required: true
evidence_rule: "none"
- field: Change Classification
type: section
required: true
evidence_rule: "none"
- field: Consumer Impact Analysis
type: section
required: true
evidence_rule: "none"
- field: Deprecation Path
type: section
required: true
evidence_rule: "none"
- field: Contract Tests Added/Updated
type: section
required: true
evidence_rule: "test name + run command + result"
- field: Changelog/Release Note Entry
type: section
required: true
evidence_rule: "none"
- field: Version Bump Recommendation
type: section
required: true
evidence_rule: "concrete action; no vague advice"
- field: Migration Guidance for Consumers
type: section
required: true
evidence_rule: "none"
Surface Affected | Change Classification (additive/modifying/removing) | Consumer Impact Analysis | Deprecation Path (if not additive) | Contract Tests Added/Updated | Changelog/Release Note Entry | Version Bump Recommendation | Migration Guidance for Consumers
Use reviewer with focus=contract for a compatibility second opinion. Use _shared/playbooks/contract-test-patterns.md for contract test design.
This skill answers to V4 names: api-deprecation. The router resolves them to api-contract and notes the alias in its response.
npx claudepluginhub sokoliem/ultraprompt --plugin ultrapromptGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.