impl-service

Centralize business rules and orchestration in the service layer.

Updated Dec 14, 2025
One-click install
npx skills add https://github.com/ciandt-fulvio/synth-lab --skill impl-service
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: impl-service
Source: https://github.com/ciandt-fulvio/synth-lab/tree/main/.claude/skills/impl-service
Command: npx skills add https://github.com/ciandt-fulvio/synth-lab --skill impl-service

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It centralizes business rules and orchestration in the service layer, coordinating repositories and prompts, while keeping routers free of logic.

Core Features & Use Cases

  • Business Logic Centralization: All domain rules live in services, not in routers.
  • LLM Prompts: Prompts are encapsulated inside services, enabling clean separation of concerns.
  • DI & Testing: Services accept dependencies via DI for easier testing.

Quick Start

Create a new service in src/synth_lab/services/{entity}_service.py, implement key methods (list, get, create), and wire up a corresponding repository. Add a small unit test to validate business rules.