Implements RESTful API design with versioning and request specs. Use when building APIs, adding API endpoints, versioning APIs, or when user mentions REST, JSON API, or API design.
84
77%
Does it follow best practices?
Impact
100%
1.26xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/api-versioning/SKILL.mdVersioned API resource setup
URL path versioning
100%
100%
Namespaced routes
100%
100%
Api::BaseController file
100%
100%
CSRF skip
50%
100%
Rescue from errors
100%
100%
Version base controller
100%
100%
Resource controller inheritance
100%
100%
Pagination with per-25
100%
100%
Pagination meta in response
100%
100%
Data wrapper
100%
100%
Created status
100%
100%
No content on destroy
100%
100%
Bang methods in mutations
0%
100%
Request spec coverage
Request spec type
100%
100%
Correct spec path
100%
100%
Accept header
0%
100%
Content-Type header
0%
100%
Headers used in requests
0%
100%
json_response helper
70%
100%
Pagination meta test
100%
100%
404 not-found test
100%
100%
Validation error test
50%
100%
Created status on create
100%
100%
API base controller error handling
Skip CSRF
62%
100%
Respond to JSON
37%
100%
Rescue RecordNotFound
75%
100%
Rescue RecordInvalid
75%
100%
Rescue ParameterMissing
75%
100%
not_found uses 'error' key
100%
100%
unprocessable uses 'errors' key
90%
100%
bad_request uses 'error' key
100%
100%
Bearer token extraction
100%
100%
Token user lookup
100%
100%
Unauthorized response
100%
100%
15fdeaf
Table of Contents
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.