rails-views

Community

Craft clean, reusable Rails views

AuthorShoebtamboli
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rails view code often becomes cluttered, duplicated, and difficult to maintain across templates, partials, and helpers, making it hard to enforce consistent UI patterns and safe output handling.

Core Features & Use Cases

  • View patterns & ERB guidance: Practical examples for layouts, content_for, partials, and collection rendering to reduce duplication.
  • Form and asset best practices: Recommendations for form_with usage, file and image helpers, and asset linking for maintainability.
  • Turbo and accessibility: Guidance on Turbo Frames/Streams integration, flash handling, and semantic HTML for accessible UIs.
  • Use Case: Refactor an index view to use collection partials, extract helper methods for complex class logic, and add Turbo frames to enable incremental updates.

Quick Start

Ask the rails-views skill to review app/views/posts/index.html.erb and suggest refactors for partials, helpers, form usage, and Turbo integration.

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-views
Download link: https://github.com/Shoebtamboli/rails_claude_skills/archive/main.zip#rails-views

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.