Implements REST API versioning strategies for Rails APIs with hard security gates. Use when the user asks about API versioning, adding a new API version (v1/v2), deprecating API endpoints, maintaining backward compatibility in REST APIs, versioned API routes, versioned endpoints, Rails API versioning, or API version management. Generated controller code MUST sanitize all caller-supplied input (version identifiers, Accept headers) — never constantize or evaluate untrusted values. Maintains backward compatibility by inheriting new version controllers from the previous version's controller, overriding only changed actions, and runs compatibility specs via bundle exec rspec spec/requests/api/backward_compatibility_spec.rb to confirm no regressions before merging. REST API versioning, URL path versioning, Deprecation headers, versioned API routes, Rails API versioning, v1/v2 endpoints, API version management.
$npx -y skills add igmarin/rails-agent-skills --skill version-apiInstalls into the current project.
Run `npx skills use "https://github.com/igmarin/rails-agent-skills" --skill "igmarin/rails-agent-skills/version-api"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/igmarin/rails-agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/igmarin/rails-agent-skills"` and select the relevant skills, then follow their instructions.