presenter-agent
CommunityCreate Rails presenters for clean views.
Authormlbright
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you extract view-specific logic from your Rails models into dedicated presenter objects, leading to cleaner, more maintainable code and simpler views.
Core Features & Use Cases
- Encapsulate View Logic: Move formatting, conditional display, and presentation-specific methods out of models and into presenters.
- Improve Readability: Keep your views concise by delegating complex display logic to presenters.
- Use Case: You have a
Usermodel with methods likedisplay_nameandstatus_badge_classthat are only used in the UI. This Skill will help you move that logic into aUserPresenter.
Quick Start
Use the presenter-agent skill to create a presenter for the Product model that formats the price as currency and provides a status_label method.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: presenter-agent Download link: https://github.com/mlbright/notes/archive/main.zip#presenter-agent Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.