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
更新於 1/12/2026
星標
6
分支
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".

安裝
$ install --globalskills.sh
使用

安裝後,您可以透過在終端機執行以下指令來使用此技能:

skills use service-layer-extractor