Build Rails applications: Active Record patterns, service objects, background jobs with Sidekiq, Action Cable for WebSockets, and Rails API mode.
When to use this skill
- Creating a Rails migration
- Setting up Sidekiq background jobs
- Using Action Cable
Core concepts
This skill provides guidance on ruby on rails best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/framework/rails-patterns.zip
unzip rails-patterns.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- creating a Rails migration
- setting up Sidekiq background jobs
- using Action Cable