Use this skill when reviewing small API migration pull requests for the Acme Payments service, especially changes touching idempotency keys, retry behavior, webhook signatures, or migration SQL.
Install
npx skillscat add itzikiusa/otto-os/excellent-skill Install via the SkillsCat registry.
SKILL.md
Acme Payments Migration Review
Use this workflow for Acme Payments API migration reviews.
Workflow
- Identify changed endpoints, SQL migrations, and webhook handlers.
- Check that every write endpoint uses
Idempotency-Keyand returns the existing result on retry. - Verify SQL migrations are backward-compatible for one deploy cycle.
- Check webhook signature verification before parsing the body.
- Return findings in severity order with file/line evidence.
Gotchas
payment_idin API JSON maps topayments.external_id, notpayments.id.- Webhook retries may arrive out of order; never assume
created_atorder equals event order. status=settledcan still be reversed for 24 hours.
Examples
See examples/review-idempotency.md for a happy path and examples/review-webhook-ordering.md for an edge case.
Validation
Before finalizing, confirm the review includes:
- one idempotency check;
- one migration compatibility check if SQL changed;
- webhook signature handling if webhooks changed.