Change an API, database, authorization, payment, or asynchronous job contract across its producer and consumers; verify state, retries, and failure boundaries.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Backend Contracts?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/najuaircrack-backend-contracts)
---
name: backend-contracts
description: "Change an API, database, authorization, payment, or asynchronous job contract across its producer and consumers; verify state, retries, and failure boundaries."
license: MIT
---
# Backend APIs and data
Use `node tools/scopeway.mjs route` for the owning API or data module and applicable engineering/security rules. Inspect request validation, caller, public schema, policy, persistent state, consumers, and relevant tests before changing the contract.
Enforce tenant, authorization, payment, and lifecycle rules at the server boundary. UI capability gates help interaction but cannot authorize a request. Keep transaction and idempotency ownership explicit. Trace retries, timeouts, cancellation, stale jobs, cleanup, and partial failure; use current framework/database versions rather than invented APIs.
For migration or recovery, preserve existing data and identify compatibility, rollback or forward-repair conditions. Use indexed bounded queries and safe output fields. Preserve runtime and lockfile boundaries; avoid broad rewrites for a local failure.
Verify the normal consumer and meaningful denied, malformed, duplicate, concurrent, interrupted, or recovery case. Keep production claims separate from fixtures. Run registered checks through `node tools/scopeway.mjs run` where available and retain evidence in the same task source. Working code and tests establish behavior; comment narration and placeholder branches do not.