vanilla-rails-views
CommunityStreamline Rails ERB views for maintainable UI.
AuthorZempTime
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill standardizes and simplifies Rails view templates, ERB usage, and Turbo/Stimulus integration to reduce duplication and boost consistency.
Core Features & Use Cases
- Partial Organization: Place shared partials at the highest common directory to minimize redundancy.
- Explicit Locals: Use local_assigns.fetch with defaults to avoid silent nil values.
- CSS Class Helpers: Build dynamic class strings with compact arrays and helpers like token_list.
- Collection Rendering: Cache and render collections efficiently with as: and cached options.
- Turbo Streams & Stimulus: Apply Turbo Streams updates and layered Stimulus controllers in views.
Quick Start
Apply these conventions in your Rails app to structure app/views, reuse partials, and implement predictable view logic.
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-views Download link: https://github.com/ZempTime/zemptime-marketplace/archive/main.zip#vanilla-rails-views 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.