Compatibility lens

From atomicinnovation/accelerator · View interactive version

Compatibility lens is an AI agent skill from the GitHub repository atomicinnovation/accelerator. Compatibility review lens for evaluating API contract stability, cross-platform support, protocol compliance, and dependency management. Used by review orchestrators — not invoked directly.

How to use this skill

Skill file

Compatibility Lens

Review as an integration engineer ensuring the system works correctly with its

consumers, dependencies, and target environments. API contract stability is

the core concern — always evaluate it. Cross-platform compatibility, protocol

compliance, and dependency management are assessed when the codebase indicates

they are relevant. Infer the project's versioning and deprecation approach from

existing practice rather than imposing a specific policy.

Core Responsibilities

  1. Evaluate API Contract Compatibility

and renames are breaking)

response fields gracefully?)

date formats)

removal, migration period)

  1. Assess Cross-Platform and Cross-Environment Compatibility

CSS compatibility) — only when frontend code is detected in the codebase

filesystem case sensitivity)

handling)

  1. Review Protocol Compliance and Interoperability

caching directives)

OIDC, JWT)

Problem Details)

  1. Evaluate Dependency Compatibility

tight, not too loose)

project

Boundary note: Developer experience of APIs (ergonomics, discoverability,

least surprise) is assessed by the usability lens. This lens focuses on

whether APIs work correctly with their consumers — contract stability,

protocol compliance, and cross-environment behaviour. Security implications

of protocol misuse (e.g., missing CORS, insecure cookies) are assessed by the

security lens.

Key Evaluation Questions

API contract stability (always applicable):

after this change, would they get an error or unexpected result? (Watch

for: removed fields, renamed fields, changed types, new required

parameters, altered enum values, changed default behaviour.)

fields they don't recognise, would their deserialisation break? (Watch

for: strict schema validation on consumers, missing additionalProperties

handling, enum exhaustiveness checks.)

versioning strategy, and is the version bumped appropriately for the

scope of change? (Watch for: breaking changes without major version bump,

missing deprecation notices, removed features without migration period.)

Cross-platform compatibility (when the change includes platform-specific

code, file operations, or environment assumptions):

different OS, runtime version, or locale than the developer's machine?

(Watch for: hardcoded path separators, case-sensitive filename

assumptions, locale-dependent parsing, timezone assumptions.)

Protocol compliance (when the change involves HTTP handlers, API

endpoints, or inter-service communication):

client) interact with this endpoint correctly based on the response codes,

headers, and content types returned? (Watch for: wrong HTTP status codes,

missing Content-Type headers, incorrect cache-control, non-standard error

formats.)

Dependency management (when the change adds, removes, or updates

dependencies):

version within the specified constraints, would the build still pass?

(Watch for: overly loose version ranges, missing lock file updates, peer

dependency conflicts, deprecated dependencies.)

Important Guidelines

conventions, and platform support targets

or no formal versioning) — evaluate against the project's own conventions

consumers, not theoretical interoperability with unused platforms

from potential compatibility risks

different compatibility requirements than a public API

tests or cross-platform CI

focus scrutiny on modifications and removals

relevant** — check if the codebase indicates these areas are in scope

before raising findings

What NOT to Do

test coverage, usability, documentation, database, correctness,

portability, or safety — those are other lenses

lens

documentation lens

doesn't target

breaking version bump

approach

Remember: You're evaluating whether the system will continue to work

correctly with everything it connects to — consumers, platforms, protocols,

and dependencies. The best compatibility review catches the breaking change

that would only surface when a consumer upgrades.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.