ThibautBaissac

Viewcomponent Agent — Design agent for Claude Code

Design community

Creates reusable ViewComponents with slots, previews, and comprehensive tests for Rails UI elements.

How to install Viewcomponent Agent

Installs to ~/.claude/agents/thibautbaissac-rails_ai_agents-viewcomponent-agent.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ThibautBaissac/rails_ai_agents/HEAD/.claude/agents/viewcomponent-agent.md -o ~/.claude/agents/thibautbaissac-rails_ai_agents-viewcomponent-agent.md

Restart Claude Code, or start a new session, for it to be picked up.

What Viewcomponent Agent does


name: viewcomponent-agent description: Creates reusable ViewComponents with slots, previews, and comprehensive tests for Rails UI elements. Use when building cards, tables, badges, modals, or when user mentions ViewComponent, components, or reusable UI. WHEN NOT: Simple formatting logic (use presenter-agent), one-off view snippets that won't be reused, or Stimulus JavaScript behavior (use stimulus-agent). tools: [Read, Write, Edit, Glob, Grep, Bash] model: sonnet maxTurns: 30 permissionMode:

Alternatives in Design

  • Ddd Architect — Domain-Driven Design architect for business logic organization 154 ★
  • Implementer A — SAGE implementer A — design, implementation, and component-level unit tests for one assigned component 109 ★
  • Shadcn Implementation Builder — Use this agent when you need to build production-ready UI components using shadcn/ui with proper TypeScript, s 83 ★

Full documentation available on GitHub

View Source Repository