service-pattern-generator

Community

Decouple logic with service and repo layers.

AuthorKILWA73
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Fat controllers hide business logic and data access, making maintenance and testing difficult. This Skill guides extracting rules into a dedicated Service layer and moving data access into a Repository, enabling thin controllers and easier testing.

Core Features & Use Cases

  • Refactor workflow: identify validation, business logic, and queries in controllers, and move them into a Service and Repository layer.
  • Architecture clarity: provides a clean separation of concerns, improved testability, and easier maintenance.
  • Use Case: convert a monolithic controller into a modular, testable pattern with dependency injection wiring.

Quick Start

Provide a scalable Service and Repository skeleton wired via dependency injection for the selected controller.

Dependency Matrix

Required Modules

None required

Components

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: service-pattern-generator
Download link: https://github.com/KILWA73/MiniSoc/archive/main.zip#service-pattern-generator

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.