Agent Skills: layouts-and-rendering

Expert guidance for Rails view rendering, layouts, partials, and content composition. Use when rendering templates, choosing between render and redirect_to, creating or using partials, working with layouts, using content_for/yield/provide, rendering collections, streaming responses, or handling Turbo-aware status codes. Covers render vs redirect (agents confuse these!), partial locals (never instance variables!), layout selection, conditional rendering, nested layouts, and collection rendering.

ID: thinkoodle/rails-skills/layouts-and-rendering

Install this agent skill to your local

npx skills add thinkoodle/rails-skills --skill layouts-and-rendering

Skill Files

The files that make up layouts-and-rendering.

Download Skill

More agent skills