agentleFS
motao123motao123/dev-workflow-kit/api-contract-compatibility-review/SKILL.md

api-contract-compatibility-review

Skill1 starsChanged 5 months agoMITView on GitHub

Use when an API, schema, payload, event, or contract change must be checked for backward compatibility, client impact, versioning risk, and migration safety.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the main risk is breaking consumers through interface changes.

    line 9
  2. Distinctive:

    Use this skill when:

    line 13
  3. Distinctive:

    Do not use this skill for generic refactor planning or dependency/license review.

    line 20
  4. Distinctive:

    Check backward and forward compatibility risks.

    line 26
  5. Very specific:

    use change-impact-analysis if the consumer surface is still unclear

    line 44
  6. Very specific:

    use release-rollout-strategy when compatibility risk changes rollout shape

    line 45
  7. Very specific:

    use docs-writer when migration guidance or deprecation notes should be published

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

API Contract Compatibility Review

Use this skill when the main risk is breaking consumers through interface changes.

Trigger Conditions

Use this skill when:

  • request or response shapes are changing
  • schema, event, or payload contracts may break old clients or downstream services
  • the user asks whether a change is backward compatible
  • versioning, migration, or deprecation strategy needs review
  • integration risk matters more than internal implementation details

Do not use this skill for generic refactor planning or dependency/license review.

Workflow

  1. Identify the contract under change.
  2. Compare current and proposed behavior or shapes.
  3. Check backward and forward compatibility risks.
  4. Identify affected consumers, migration needs, and deprecation concerns.
  5. Recommend versioning or rollout safeguards.
  6. Suggest verification and communication steps.

Output

For non-trivial work, provide:

  • contract surface reviewed
  • compatibility risks
  • likely breaking changes
  • migration or versioning guidance
  • verification focus
  • recommended next action

Coordination

After contract review:

  • use change-impact-analysis if the consumer surface is still unclear
  • use release-rollout-strategy when compatibility risk changes rollout shape
  • use docs-writer when migration guidance or deprecation notes should be published

Invocation Examples

  • "Use api-contract-compatibility-review to check whether this endpoint change breaks old clients."
  • "Use api-contract-compatibility-review on this event schema update before release."
  • "Use api-contract-compatibility-review and tell me whether we need versioning or migration guidance."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.