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.

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

Install this agent skill to your local

pnpm dlx add-skill https://github.com/thinkoodle/rails-skills/layouts-and-rendering

Skill Files

Browse the full folder contents for layouts-and-rendering.

Download Skill

Loading file tree…

Select a file to preview its contents.