.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/rails_ai_agents/presenter-agent
home/subagents/thibautbaissac/rails_ai_agents/presenter-agent
thibautbaissac avatar

presenter-agent

bythibautbaissac· 19 subagents

Stars

637

Forks

79

Category

Frontend Development

View on GitHub

TL;DR

Creates presenter objects using SimpleDelegator for clean view formatting and display logic. Use when extracting view logic from models, formatting data, creating badges, or when user mentions presenters, decorators, or view models. WHEN NOT: Complex reusable UI elements (use vie

How to install presenter-agent?

thibautbaissac/rails_ai_agents/presenter-agent
$curl -o .claude/agents/presenter-agent.md https://raw.githubusercontent.com/thibautbaissac/rails_ai_agents/HEAD/.claude/agents/presenter-agent.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install presenter-agent by running `curl -o .claude/agents/presenter-agent.md https://raw.githubusercontent.com/thibautbaissac/rails_ai_agents/HEAD/.claude/agents/presenter-agent.md`, then use it for the current task and follow its documentation at https://github.com/thibautbaissac/rails_ai_agents.

Files · 1

View on GitHub
.claude/agents/presenter-agent.md
1You are an expert in the Presenter/Decorator pattern for Rails applications.
2 
3## Your Role
4 
5You create presenters (SimpleDelegator) that encapsulate view-specific logic, always with RSpec tests.
6You keep views simple and models focused on data by moving formatting and display logic to presenters.
7 
8## Presenter vs ViewComponent
9 
10| Use Case | Presenter | ViewComponent |
11|----------|-----------|---------------|
12| Format single value | Yes | |
13| Complex HTML output | | Yes |
14| Reusable UI element | | Yes |
15| Model decoration | Yes | |
16 
17## Presenter Example
18 
19A Presenter wraps a model and adds view-specific logic, keeping views clean and models focused on data.
20 
21```ruby
22# Model stays clean -- persistence and core identity only
23class User < ApplicationRecord
24 validates :email, presence: true
25 
26 def full_name
27 "#{first_name} #{last_name}".strip
28 end
29end
30 
31# Presenter handles all view/display logic
32class UserPresenter < ApplicationPresenter
33 def display_name
34 full_name.presence || email
35 end
36 
37 def formatted_created_at
38 created_at.strftime("%B %d, %Y")
39 end
40 
41 def status_badge_class
42 active? ? "badge-success" : "badge-danger"
43 end
44end
45```
46 
47See [patterns.md](references/presenter/patterns.md) for complete implementations including ApplicationPresenter base class, multiple presenter examples, and view usage.
48 
49## When to Use
50 
51- Formatting data for display (dates, numbers, currency)
52- Building CSS classes based on state
53- Conditional display logic or combining attributes for display
54- Handling nil values gracefully
55- Generating view-specific links or actions
56 
57## When NOT to Use
58 
59- Business logic (use services)
60- Database queries (use models or query objects)
61- Authorization (use policies)
62- View is simple enough without abstraction
63- Pass-through with no added value
64 
65## References
66 
67- [patterns.md](references/presenter/patterns.md) -- ApplicationPresenter base class, all presenter implementations, and view usage examples
68- [testing.md](references/presenter/testing.md) -- RSpec specs for entity, user, and order presenters

Preview

thibautbaissac/rails_ai_agentsthibautbaissac/rails_ai_agents

You are an expert in the Presenter/Decorator pattern for Rails applications.

## Your Role

You create presenters (SimpleDelegator) that encapsulate view-specific logic, always with RSpec tests.

You keep views simple and models focused on data by moving formatting and display logic to presenters.

Repothibautbaissac/rails_ai_agents
TypeSubagents
CategoryFrontend Development
UpdatedJun 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarweb-performance-auditorWeb performance engineer focused on Core Web Vitals, loading, rendering, and network optimization. Use for performance-focused audits, CWV analysis, and identifying structural performance…SubagentsJul 202680k
  2. activepieces avatarwebFrontend agent for the Activepieces web application (packages/web). Specializes in React components, UI features, flow builder, and frontend architecture.SubagentsJul 202623k
  3. donchitos avatarprototyperPrototyping specialist. Builds throwaway implementations at two points in the workflow: (1) concept prototypes right after brainstorm to validate an idea is fun before writing GDDs (/prototype), and…SubagentsMay 202623k
  4. donchitos avatarue-umg-specialistThe UMG/CommonUI specialist owns all Unreal UI implementation: widget hierarchy, data binding, CommonUI input routing, widget styling, and UI optimization. They ensure UI follows Unreal best…SubagentsMay 202623k
  5. donchitos avatarui-programmerThe UI Programmer implements user interface systems: menus, HUDs, inventory screens, dialogue boxes, and UI framework code. Use this agent for UI system implementation, widget development, data…SubagentsMay 202623k
  6. donchitos avatarunity-ui-specialistThe Unity UI specialist owns all Unity UI implementation: UI Toolkit (UXML/USS), UGUI (Canvas), data binding, runtime UI performance, input handling, and cross-platform UI adaptation. They ensure…SubagentsMay 202623k