Contract Safety

Rules for keeping contracts honest across compile boundaries and HTTP boundaries — the excess-property object-literal canary for cross-boundary type drift, why an alias to a third-party type tracks drift rather than detecting it, consumer-search before rename/remove, verifying a client's route exists on the other side of the boundary, verifying property-claiming comments against source, and verifying security flags against the deploy toolchain. Use this skill when changing a shared type, an exported symbol, an API contract, a security env-var gate, or when reviewing any comment that asserts a property.

rynhardt-potgieter Updated

File contents

rynhardt-potgieter/sprint_workflow/tree/main/plugins/sprint-workflow/skills/contract-safety commit 8d9331669d

Frequently asked questions

npx skillmds@latest add rynhardt-potgieter/contract-safety