agentsclimarketplace

Backend api contract review

Skill yangshu2087/Codex/.agents/skills/backend-api-contract-review

Meta workspace for Codex configuration, shared skills, and maintenance scripts.

Install
npx -y skills add yangshu2087/Codex --skill backend-api-contract-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when a task involves backend services, API routes, database writes, auth, permissions, error semantics, or service contracts.

SKILL.md

2.1 KB, as published. Nobody here has run it

Backend API Contract Review

Use this skill when backend correctness depends on contracts, state, permissions, or compatibility.

Required inputs

  • Endpoint, service, job, or module under change
  • Request/response contract or caller expectations
  • Auth and permission model
  • Data persistence, cache, queue, transaction, and migration behavior
  • Existing tests, logs, and route smoke checks relevant to the path

Workflow

  1. Write the task card: Goal, Constraints, Non-goals, Done criteria, Verification commands.
  2. State the API contract: inputs, outputs, errors/status codes, side effects, and compatibility constraints.
  3. State permissions separately from validation; do not assume type safety proves authorization.
  4. State data consistency expectations: transaction boundary, idempotency, concurrency, cache invalidation, and migration/rollback notes when relevant.
  5. Identify observability needs: logs, metrics, traces, audit events, user-visible error messages, or explicit none.
  6. Implement minimal contract-compatible changes; do not silently change schema, auth, or error semantics.
  7. Verify with the narrowest relevant checks: route/unit/integration tests, type checks, migration dry-run, focused smoke, or a targeted regression command.

Evidence requirements

  • API contract / 接口契约
  • Error semantics / 错误语义
  • Auth and permissions / 权限
  • Data consistency / 数据一致性
  • Observability impact
  • Targeted regression checks / 回归测试

Output standard

  • Contract summary
  • Data flow and side effects
  • Auth/permission notes
  • Error semantics
  • Data consistency expectations
  • Observability notes
  • Verification evidence
  • Remaining contract risks

Common mistakes

  • Returning a new shape without updating callers or tests.
  • Changing auth behavior without calling it out.
  • Treating a passing build as proof of API behavior.
  • Skipping error and empty-result semantics.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.