adonisjs-controllers

Community

Thin HTTP layer controllers with zero domain logic.

Authoromakei
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Controllers are extremely thin. They handle HTTP concerns only and contain zero domain logic, ensuring business rules live in services or actions and are wired via dependency injection.

Core Features & Use Cases

  • Thin RESTful controllers for API endpoints
  • Support for standard RESTful methods (index, show, store, update, destroy)
  • Invokable controllers for single-action endpoints and lazy-loading routes
  • Dependency Injection and route model binding to keep controllers light
  • Validation via VineJS patterns and clear HTTP responses

Quick Start

Create a thin PostsController that delegates to a PostService for data operations and wire up routes using lazy loading.

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: adonisjs-controllers
Download link: https://github.com/omakei/adonisjs-architecture-skill/archive/main.zip#adonisjs-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 471,000+ vetted skills library on demand.