vanilla-rails-models
CommunityEnforce state-as-records and scoped Rails models.
AuthorZempTime
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces a robust Rails modeling approach by replacing boolean state flags with dedicated state records, scoping capabilities as adjectives under the model, and guiding private method indentation for readability.
Core Features & Use Cases
- State-as-Records: Capture who and when state changes occur by storing state in separate records (e.g., Star, Closure) rather than booleans.
- Concerns as Adjectives: Namespace capabilities under the model (e.g., Card::Closeable) for clear ownership and extension.
- Code Organization Guidelines: Recommend private method indentation, invocation-ordered methods, and thoughtful extraction when model logic grows.
Quick Start
Refactor a sample Rails model to replace a boolean state with a dedicated state record and move capabilities to namespaced adjectives under the model, e.g., Card::Closeable.
Dependency Matrix
Required Modules
None requiredComponents
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: vanilla-rails-models Download link: https://github.com/ZempTime/zemptime-marketplace/archive/main.zip#vanilla-rails-models Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.