rails-presenter

Community

Test-driven presenters for clean UI formatting.

Authordchuk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rails apps often mix view formatting with business logic, causing maintenance challenges and brittle UIs. Presenters provide a lightweight wrapper around models to encapsulate view-specific formatting, centralize UI concerns, and keep controllers and models lean.

Core Features & Use Cases

  • Wrap models with a BasePresenter to expose view-friendly methods and delegate missing methods.
  • Include ActionView helpers and I18n for consistent formatting, date rendering, and safe HTML output.
  • Facilitate a test-first workflow with dedicated tests that guide implementation and guarantee UI consistency.

Quick Start

Create failing tests in test/presenters/, implement a presenter inheriting from BasePresenter, and run tests until GREEN.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: rails-presenter
Download link: https://github.com/dchuk/source_monitor/archive/main.zip#rails-presenter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.