service-layer-extractor

Installation
SKILL.md

Service Layer Extractor

Extract business logic from controllers into a testable service layer.

Architecture Layers

routes/          → Define endpoints, parse requests
controllers/     → Validate input, call services, format responses
services/        → Business logic, orchestration
repositories/    → Database queries
models/          → Data structures

Before: Fat Controller

// ❌ Business logic mixed with HTTP concerns
router.post("/users", async (req, res) => {
Related skills

More from patricio0312rev/skills

Installs
96
GitHub Stars
38
First Seen
Jan 24, 2026