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