viewcomponent-patterns

Installation
SKILL.md

ViewComponent Patterns for Rails 8

Overview

ViewComponents are Ruby objects for building reusable, testable view components:

  • Faster than partials (no partial lookup)
  • Unit testable without full request cycle
  • Encapsulate view logic with Ruby
  • Type-safe with explicit interfaces

TDD Workflow

Installs
2
First Seen
Feb 13, 2026
viewcomponent-patterns — dchuk/rails_ai_agents