controllers

Official

Keep controllers thin by delegating to services.

Authorcodebar-ag
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Thin HTTP controllers that validate input and delegate to Actions or Services, avoiding business logic in controllers.

Core Features & Use Cases

  • Delegation: Controllers delegate to dedicated Actions or Services.
  • Validation separation: Use FormRequest for all input validation.
  • Consistent responses: Return appropriate HTTP responses (JSON or views) after delegation.

Quick Start

Refactor a bloated controller into a thin controller that validates input with a FormRequest and delegates to an Action.

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: controllers
Download link: https://github.com/codebar-ag/coding-guidelines/archive/main.zip#controllers

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.