Action View Best Practices

Build or Refactor Rails views, partials, and templates into clean, maintainable code. Use when views have inline Ruby logic, deeply nested partials, jQuery or legacy JavaScript, helper methods returning HTML, or when the user asks to modernize, refactor, or clean up Rails views. Applies patterns - Turbo Frames, Turbo Streams, Stimulus controllers, ViewComponent, presenters, strict locals, and proper partial extraction.

majiayu000 364092f 2 files · 12.7 KB Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/development/action-view-best-practices commit 364092fd11

Frequently asked questions

npx skillmds add majiayu000/action-view-best-practices