Service Layer Refactor

Refactors duplicated operational logic into a service layer: keeps business rules, auth and state transitions in actions, moves sandbox, email, payment and SDK calls into shared services, then migrates one caller at a time. Use when several actions or endpoints copy-paste the same code, a fix in one flow missed the others, or the user asks how to split actions from services. Not for Zod spec-and-handler contracts (use typed-service-contracts).

The-Utopia-Studio Updated 2 repo stars

File contents

the-utopia-studio/skills commit ba5b4cdcba

Frequently asked questions

npx get-skill add the-utopia-studio/service-layer-refactor