cloudthinker-ai/cloudskills/api-contract-review

Claude Code and agent skill by cloudthinker-ai/cloudskills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when performing api contract review — provides a structured review checklist for evaluating API contracts including REST, gRPC, and GraphQL endpoints. This template covers naming conventions, versioning, error handling, pagination, authentication, rate limiting, and backward compatibility to ensure APIs meet organizational standards before launch.

Install

npx vskill@latest install cloudthinker-ai/cloudskills/api-contract-review

SKILL.md

The same SKILL.md was published earlier as cloudthinker-ai/cloudskills/api-contract-review.

API Contract Review

Phase 1: General Design Review

Evaluate overall API design quality.

  • [ ] API follows organizational naming conventions
  • [ ] Resources/entities are named using nouns (REST)
  • [ ] Consistent casing (camelCase, snake_case) throughout
  • [ ] Versioning strategy defined (URL path, header, query param)
  • [ ] API specification file exists (OpenAPI, protobuf, GraphQL schema)
  • [ ] Description and documentation for all endpoints
  • [ ] Examples provided for request/response bodies

Phase 2: Endpoint Review

For each endpoint:

EndpointMethodAuthRate LimitedPaginatedIdempotentCacheable
Y/NY/NY/NY/NY/N

Request Validation:

  • [ ] All inputs validated and documented
  • [ ] Required vs optional fields clearly marked
  • [ ] Input size limits defined
  • [ ] Content type specified
  • [ ] File upload limits defined (if applicable)

Response Design:

  • [ ] Consistent response envelope structure
  • [ ] Appropriate HTTP status codes used
  • [ ] Response fields documented with types
  • [ ] Nullable fields clearly marked
  • [ ] No sensitive data leaked in responses

Phase 3: Error Handling Review

  • [ ] Error response format is consistent across all endpoints
  • [ ] Error codes are documented and unique
  • [ ] Error messages are helpful but do not leak internal details
  • [ ] Validation errors return field-level details
  • [ ] Rate limit errors include retry-after information

Error Response Checklist:

Status CodeUsageError Code DefinedMessage Template
400Bad Request
401Unauthorized
403Forbidden
404Not Found
409Conflict
422Unprocessable
429Rate Limited
500Internal Error

Phase 4: Backward Compatibility Assessment

  • [ ] No existing fields removed
  • [ ] No existing field types changed
  • [ ] No required fields added to existing requests
  • [ ] No response field semantics changed
  • [ ] Deprecation notices added for fields being phased out
  • [ ] Migration guide provided for breaking changes

Breaking Change Checklist:

ChangeBreaking?Migration PathTimeline
Y/N

Phase 5: Security and Performance Review

Security:

  • [ ] Authentication mechanism appropriate for use case
  • [ ] Authorization checks documented (who can access what)
  • [ ] Sensitive data not included in URLs or query parameters
  • [ ] CORS configuration appropriate
  • [ ] Input sanitization prevents injection attacks

Performance:

  • [ ] Pagination implemented for list endpoints
  • [ ] Response size is bounded
  • [ ] Appropriate caching headers defined
  • [ ] Bulk/batch endpoints available where needed
  • [ ] Rate limits defined and documented

Counter-Rationalizations

ShortcutCounterWhy
"We can skip some steps for this case"Adapt the workflow steps, don't skip themSkipped steps are where incidents and oversights originate
"The user seems to already know what to do"Complete all workflow phases with the userThe workflow catches blind spots that experience alone misses
"This is a minor case, full process is overkill"Scale the process down, don't turn it offMinor cases become major when unstructured; the process scales, not disappears
"I'll fill in the details later"Complete each section before moving onDeferred details are forgotten; real-time capture is more accurate
"The template output isn't necessary"Always produce the structured output formatStructured output enables comparison, audit trails, and handoff to other teams

Output Format

Summary
  • API: ___
  • Type: ___
  • Endpoints reviewed: ___
  • Issues found: ___ (Critical: ___, High: ___, Medium: ___, Low: ___)
  • Backward compatible: Y/N
Action Items
  • [ ] Fix all Critical and High issues before launch
  • [ ] Address Medium issues before GA
  • [ ] Update API specification with all findings
  • [ ] Publish API documentation
  • [ ] Set up contract testing
  • [ ] Communicate breaking changes to consumers

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cloudthinker-ai/cloudskills/api-contract-review/badge)](https://verified-skill.com/skills/cloudthinker-ai/cloudskills/api-contract-review)

Something wrong with this skill or its page? Tell us.