rails-routes

Official

Master Rails routes: RESTful, nested, and clean.

Authorrubakas
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rails routing complexity leads to misconfigured URLs and hard-to-maintain code. This Skill provides a structured guide to RESTful resources, nested routes, and clean URL organization to keep Rails apps scalable and predictable.

Core Features & Use Cases

  • RESTful Resources: Treat all entities as resources with standard actions for consistency.
  • Actions as Resources: Use singleton resources for state toggles instead of custom routes.
  • Nested & Scoped Routing: Organize controllers with scope module and nest resources to reflect domain structure.
  • Namespaces vs Scope Modules: Choose the right balance to keep URLs clean and code modular.
  • Testing Patterns: Validate routes with tests to ensure correct mappings and guards.

Quick Start

In your project's CLAUDE.md, reference @agent-notes/rails-routes/index.md to load these routing patterns.

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-routes
Download link: https://github.com/rubakas/agent-notes/archive/main.zip#rails-routes

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.