About
This skill guides developers in implementing a functional alternative to class-based services by standardizing the fn(args, deps) signature. By separating per-call arguments from long-lived infrastructure dependencies, it prevents 'god object' bloat, simplifies unit testing with automatic mocking, and ensures architectural clarity in TypeScript applications. It provides specific guidance on factory functions, type-only imports, and maintaining framework-agnostic business logic even when using frameworks like NestJS.