What problem does it solve?
This Skill provides Rails-specific debugging tooling to streamline investigation when Rails apps misbehave, reducing time to identify root causes.
Core Features & Use Cases
- Rails logs progression: tail, filter, and trace errors across development and production.
- Interactive debugging: rails console, byebug breakpoints, and model/query inspection.
- SQL visibility: enable verbose SQL logging and analyze query patterns to detect N+1 issues.
- Structured debugging workflow: aligns with the 4-phase framework (Root Cause → Pattern → Hypothesis → Implementation) for repeatable investigations.
Quick Start
Start a debugging session by opening the Rails project, tailing logs, and enabling interactive debugging. For example:
- Tail development logs: tail -f log/development.log
- Open the Rails console: bin/rails console
- Enable SQL logging: ActiveRecord::Base.logger = Logger.new(STDOUT)
- Reproduce the issue and use byebug breakpoints to inspect state.