CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

api-design-standards

These standards require Finance Tracker APIs to use the `ApiResponse<T>` response envelope, consistent success and failure fields, timestamps, and appropriate HTTP status and error codes. They also specify plural resource paths under `/api/v1/{resource}` and pagination parameters for list endpoints, with a linked reference for the full specification.

Quality

100%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

API Design Standards

All Finance Tracker APIs must follow these standards. Load references/api-standards.md for the full spec: ApiResponse<T> interfaces, JSON examples, error codes, endpoint naming patterns, and query parameter conventions.

Quick Checklist

  • Wrap every response in ApiResponse<T> — never return bare data or bare errors
  • Set success: true and errors: null on success; success: false and data: null on failure
  • Always include meta.timestamp (ISO 8601); add pagination fields for list endpoints
  • Use correct HTTP status codes (see error codes table in references)
  • Use VALIDATION_ERROR + field for field-level failures; domain-specific codes for business logic errors
  • Name endpoints with plural nouns under /api/v1/{resource}
  • Support ?page=&size=&sort= for all list endpoints
Repository

chandrakanthbalaraman/spring-boot-microservices

Path

.cursor/skills/api-design-standards/SKILL.md

Last updated
First committed
Purpose
DevelopmentAPI developmentDebugging and error handlingCode review
Form
Rules

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.