Skip to main content

API Development Patterns

Provides best practices and patterns for building production-ready REST APIs in Rails, covering serialization, authentication, and testing.

Install this skill

or
95/100

Security score

The API Development Patterns skill was audited on Feb 9, 2026 and we found 5 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

low line 617

Access to .env file

SourceSKILL.md
617req.env['HTTP_AUTHORIZATION']&.split(' ')&.last if req.path.start_with?('/api/')
low line 761

Access to .env file

SourceSKILL.md
761if Rails.env.development?
low line 751

External URL reference

SourceSKILL.md
751origins 'https://example.com', 'https://app.example.com'
low line 763

External URL reference

SourceSKILL.md
763origins 'http://localhost:3000', 'http://localhost:3001'
low line 863

External URL reference

SourceSKILL.md
863**Access at:** `http://localhost:3000/api-docs`
Scanned on Feb 9, 2026
View Security Dashboard
Installation guide →