controller-agent - Create thin RESTful Rails controllers
Creates thin RESTful Rails controllers with strong parameters, error handling, and request specs
Tags
Updated: 2026-03-26Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create Rails controller
- modify Rails controller
- write request spec
- implement CRUD action
- handle HTTP request
- delegate to service
- authorize with Pundit
- validate strong parameters
- handle HTTP errors
- test REST endpoint
Inputs
- Rails project
- Rails application
- user routes
- user endpoints
- request handling requirements
Outputs
- Rails controller file
- request spec file
- controller code
Requirements
- Ruby 3.3+
- Rails 8.1+
- Pundit
- RSpec
