debug:rails

Community

Diagnose Rails errors fast and fix root causes.

AuthorSnakeO
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured, repeatable approach to diagnosing and fixing Ruby on Rails errors, covering ActiveRecord issues, routing problems, CSRF token errors, asset pipeline failures, and migration conflicts.

Core Features & Use Cases

  • Structured debugging workflow: Reproduce → gather information → test hypotheses → verify fixes to isolate root causes.
  • Rails tooling guidance: Leverages Byebug, Better Errors, Bullet, and Rails console to inspect state and queries.
  • Common failure scenarios: ActiveRecord::RecordNotFound, ActionController::RoutingError, N+1 queries, CSRF token failures, and migration or asset pipeline issues.
  • Phase-aligned tasks: For each scenario, provides concrete steps to reproduce, collect data, form hypotheses, implement fixes, and verify outcomes.

Quick Start

To begin, reproduce the failure in development, run the recommended commands (routes, console, and debug tools), and apply fixes iteratively.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: debug:rails
Download link: https://github.com/SnakeO/claude-debug-and-refactor-skills-plugin/archive/main.zip#debug-rails

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.