code-contractlisted
Install: claude install-skill ku5ic/claude-kit
# /code-contract
Diff the public surface between a base and the working tree, class each change patch, minor, or major, and list what each change reaches. Read-only.
Loading this skill isn't enough. Before the step a row names, read its file.
| Before | Read |
| ----------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Step 2, with a schema file | [reference/schemas.md](reference/schemas.md) |
| Step 2, with the ecosystem's API tool installed | [reference/ecosystem-tools.md](reference/ecosystem-tools.md) |
| Step 3, classing each change | [reference/semver.md](reference/semver.md), [reference/behavioral.md](reference/behavioral.md) |
Stack specifics come from the stack's pattern skill. The commit-message bump rules are the git-patterns skill's.
## Procedure
1. Surface. The base is the argument, else `kit git-base`. What's public comes from the project: a package's declared exports, a published schema, its routes, a component library's props. The report names the surface it treated as public. Unclear, ask.
2. Base and head, first that applies:
- A schema file (OpenAPI, GraphQL, protobuf). Its checker runs on the base's copy (`gi