rails-error-handling

Community

Build robust error handling.

Authornekorush14
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides patterns for implementing structured error handling, descriptive logging, and user-friendly error responses in Rails apps.

Core Features & Use Cases

  • Service Object Errors: Distinguish domain vs. system errors with clear classifications.
  • Controller & API Errors: Centralized rescue handling and consistent JSON responses.
  • Logging & Observability: Contextual logging to aid debugging and monitoring.

Quick Start

Add rescue_from handlers in ApplicationController for NotFound and Validation errors, and return uniform JSON error payloads.

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: rails-error-handling
Download link: https://github.com/nekorush14/dotfiles/archive/main.zip#rails-error-handling

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.