vanilla-rails-naming

Enforce Rails naming cascades from -able/-ible adjectives to RESTful routes.

3|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/ZempTime/zemptime-marketplace --skill vanilla-rails-naming
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vanilla-rails-naming
Source: https://github.com/ZempTime/zemptime-marketplace/tree/main/vanilla-rails/skills/naming
Command: npx skills add https://github.com/ZempTime/zemptime-marketplace --skill vanilla-rails-naming

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes naming in vanilla Rails codebases to eliminate verb/noun confusion and reduce inconsistent state-change patterns.

Core Features & Use Cases

  • Enforces a naming cascade: Adjective (-able/-ible) concerns → Noun state models → Plural controllers → Singular routes.
  • Guides refactors and new code scaffolding to maintain RESTful, predictable interfaces.
  • Real-world use: rename a feature like "pin" to a Pinnable concern, a Pin model, PinsController, and routes like resource :pin.

Quick Start

Start applying vanilla Rails naming conventions when adding new stateful features to a Rails app, ensuring each layer follows the cascade from adjective to noun to controller to route.

Frequently Asked Questions about vanilla-rails-naming

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize Rails naming conventions for state changes?

Standardize Rails naming by treating state changes as resources rather than actions, applying a cascade from -able/-ible adjective concerns to noun state models, plural controllers, and singular RESTful routes to eliminate verb and noun confusion.

What is the best way to refactor a Rails feature into a RESTful resource?

Refactor Rails features by following a naming cascade: rename a feature like 'pin' to a Pinnable concern, a Pin model, a PinsController, and singular resource routes to maintain predictable, RESTful interfaces.

When do I need to use -able or -ible adjective patterns in Rails?

Use the -able or -ible adjective pattern in Rails when creating concerns for stateful features to initiate a naming cascade that flows from adjectives to noun models, ensuring uniform and scalable code across the project.

Does this Rails naming approach work for vanilla Rails projects without extra dependencies?

Yes, this naming standardization is designed specifically for vanilla Rails projects, requiring no external dependencies to enforce RESTful routes, singular resources, and plain state methods during scaffolding and code reviews.

Why does treating state changes as resources reduce confusion in Rails?

Treating state changes as resources reduces Rails naming confusion by shifting from action-based verbs to noun-based state models, creating a predictable cascade from adjectives to controllers and routes that scales consistently.

What are the limitations of using singular RESTful routes for stateful features?

Using singular RESTful routes requires strict adherence to the naming cascade from adjective concerns to noun models, meaning any deviation breaks the predictable interface pattern and reduces code uniformity across the Rails application.