Use when inventorying or evaluating PHP-to-target API behavior and Flutter request-response compatibility without inventing undocumented client assumptions.
Install
npx skillscat add workin-hr/hr-platform/analyze-api-compatibility Install via the SkillsCat registry.
SKILL.md
Analyze API Compatibility
Canonical Instructions
Read and follow repository-root AGENTS.md; this skill narrows that contract and never overrides it.
Description And Trigger
Use when endpoint behavior, request and response contracts, or Flutter compatibility risks need structured analysis.
Inputs
- endpoint inventory
- Flutter compatibility notes
- legacy evidence
Preconditions
- at least one concrete API surface or client behavior is under review
Ordered Workflow
- Inventory the current endpoint or contract.
- Capture known request, response, and error behavior.
- Identify Flutter compatibility assumptions and unknowns.
- Record compatibility risks and open questions.
Required Outputs
- compatibility analysis entry
- risk summary
- evidence references
Evidence
- endpoint references
- client behavior evidence
- exact unknowns
Validation Checklist
- request and response behavior are both covered
- compatibility risk is explicit
- undocumented client behavior is not treated as fact
Failure Conditions
- compatibility claims are made without evidence
Escalation Conditions
Escalate when production client behavior cannot be inferred safely.
Forbidden Behavior
- inventing Flutter assumptions
- approving breaking changes silently