Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Service layer pattern, business logic organization.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-12 | ✗→✓ | ▲ Improved | -33% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -54% | 0% |
| case-05 | ✓→✓ | = Same ✓ | -2% | 0% |
| case-01 | ✓→✓ | = Same ✓ | -47% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -45% | 0% |
- ] Handle business rules
php<?php namespace App\Services; use App\Models\OrderModel; use App\Entities\Order; class OrderService { public function __construct( private OrderModel $orderModel, private PaymentService $paymentService, private EmailService $emailService ) {} public function createOrder(array $data): Order { $order = $this->orderModel->insert($data); $this->paymentService->process($order); $this->emailService->sendConfirmation($order); return $order; } }
Other measured skills in the registry, with their headline benchmark lift.