home/categories/architecture-patterns/patricio0312rev-skills-backend-service-layer-extractor-skill-md
architecture-patternsdevelopment

service-layer-extractor

Refactors route handlers into service layer with clean boundaries, dependency injection, testability, and separation of concerns. Provides service interfaces, folder structure, testing strategy, and migration plan. Use when refactoring "fat controllers", "business logic", "service layer", or "architecture cleanup".

patricio0312rev
maintainer
patricio0312rev
Updated 1/12/2026
Stars
6
Forks
0
quick start

Installation and usage

Refactors route handlers into service layer with clean boundaries, dependency injection, testability, and separation of concerns. Provides service interfaces, folder structure, testing strategy, and migration plan. Use when refactoring "fat controllers", "business logic", "service layer", or "architecture cleanup".

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use service-layer-extractor