Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Specialized business logic evaluator for the Evaluate-Loop. Use this for evaluating tracks that implement core product logic — pipelines, dependency resolution, state machines, pricing/tier enforcement, packaging. Checks feature correctness against product rules, edge cases, state transitions, data flow, and user journey completeness. Dispatched by loop-execution-evaluator when track type is 'business-logic', 'generator', or 'core-feature'. Triggered by: 'evaluate logic', 'test business rules',
.claude/skills/ibrahim-3d-eval-business-logic/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 8% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 4% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 24% | 0% |
Specialized evaluator for tracks that implement core product logic — generation pipelines, state machines, pricing, or other business-rule-heavy features.
Dispatched by loop-execution-evaluator when the track involves:
spec.md and plan.mdconductor/product.md — product rules (deliverables, tiers, dependencies)Check against rules defined in conductor/product.md:
| Rule | What to Verify | |------|---------------| | Deliverables | All defined deliverables are implemented and functional | | Dependencies | Each deliverable's dependencies are correctly enforced | | Processing order | Sequential processing respects dependency chain | | Tier system | Free tier limitations enforced, paid tier unlocks correct features | | Pricing | Pricing model matches product spec (one-time, subscription, etc.) | | State rules | State transitions (e.g., lock/unlock, draft/publish) propagate correctly |
markdown### Product Rules: PASS / FAIL - Rules checked: [count] - Violations: [list rule: actual behavior] - Deliverables functional: [X]/[total]
For each feature in the spec, verify it works correctly:
| Check | Method | |-------|--------| | Happy path | Primary user flow produces expected result | | Input validation | Invalid inputs rejected with clear messaging | | Output correctness | Generated data matches expected format/structure | | State mutations | State changes are correct and complete | | Side effects | Downstream effects trigger correctly (e.g., dependency propagation) |
markdown### Feature Correctness: PASS / FAIL - Features tested: [count] - Correct: [count] - Failures: [describe each]
| Scenario | What to Verify | |----------|---------------| | Empty state | First-time user with no data | | Boundary values | Max input length, empty inputs, special characters | | Concurrent operations | What happens if user triggers 2 operations at once | | Network failure mid-operation | Partial state handled correctly | | Re-processing | Re-running an operation on existing data prompts confirmation if needed | | All items locked/finalized | UI reflects that no further changes are possible | | Tier limits | Exceeding free tier limit shows upgrade prompt |
markdown### Edge Cases: PASS / FAIL - Scenarios checked: [count] - Unhandled: [list] - User impact: [describe]
Verify state machine correctness for your project's state model. Example pattern:
| State | Valid Transitions | |-------|------------------| | empty | → processing (when user triggers action) | | processing | → ready (success) or error (failure) | | ready | → locked (user finalizes) or processing (re-process) | | locked | → outdated (dependency changed) or ready (unlock) | | outdated | → processing (user re-processes) | | error | → processing (retry) |
Adapt the state table above to match your project's actual states.
markdown### State Transitions: PASS / FAIL - States implemented: [list] - Invalid transitions possible: [list] - Missing transitions: [list]
| Check | What to Verify | |-------|---------------| | Input → Processing | User form data correctly feeds into processing pipeline | | Processing → Output | Results stored/displayed correctly | | Output → Persistence | Results saved to store/database | | Cross-component | Data shared correctly between components | | Stale data | No stale renders after state changes |
markdown### Data Flow: PASS / FAIL - Flow verified: [input → output] - Stale data issues: [describe] - Data loss points: [list]
Walk through the complete user journey for the feature under evaluation. Example structure:
1. User provides input (form, selection, etc.)
2. System processes input
3. User reviews output
4. User can lock/finalize results
5. System handles dependencies between outputs
6. User views all deliverables
7. User can export/download results
8. User can re-process any unlocked item
9. Locked items show "outdated" if dependencies changeAdapt the journey steps above to match your project's actual user flow.
markdown### User Journey: PASS / FAIL - Steps completed: [X]/[total] - Broken at step: [which] - User experience: [smooth / friction at: describe]
markdown## Business Logic Evaluation Report **Track**: [track-id] **Evaluator**: eval-business-logic **Date**: [YYYY-MM-DD] ### Results | Pass | Status | Issues | |------|--------|--------| | 1. Product Rules | PASS/FAIL | [details] | | 2. Feature Correctness | PASS/FAIL | [details] | | 3. Edge Cases | PASS/FAIL | [details] | | 4. State Transitions | PASS/FAIL | [details] | | 5. Data Flow | PASS/FAIL | [details] | | 6. User Journey | PASS/FAIL | [details] | ### Verdict: PASS / FAIL [If FAIL, list specific fix actions for loop-fixer]
loop-execution-evaluator → Conductor marks completeloop-execution-evaluator → Conductor dispatches loop-fixer| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 3,336 | 26,652 | +699% | 1 | 1 | 0% | 248 | 1,663 | +571% | 0 | 0 | — |
case-02 | fail→fail | 25,990 | 3,166 | -88% | 1 | 1 | 0% | 4,531 | 1,733 | -62% | 0 | 0 | — |
case-03 | fail→pass | 30,388 | 19,190 | -37% | 1 | 1 | 0% | 4,947 | 4,614 | -7% | 0 | 0 | — |
case-04 | fail→pass | 13,717 | 5,693 | -58% | 1 | 1 | 0% | 2,128 | 2,298 | +8% | 0 | 0 | — |
case-05 | fail→fail | 15,756 | 8,996 | -43% | 1 | 1 | 0% | 2,373 | 2,927 | +23% | 0 | 0 | — |
case-06 | fail→fail | 11,266 | 8,029 | -29% | 1 | 1 | 0% | 1,767 | 2,692 | +52% | 0 | 0 | — |
case-07 | fail→pass | 15,886 | 10,059 | -37% | 1 | 1 | 0% | 2,639 | 3,035 | +15% | 0 | 0 | — |
case-08 | fail→pass | 17,036 | 9,589 | -44% | 1 | 1 | 0% | 2,847 | 2,962 | +4% | 0 | 0 | — |
case-09 | fail→pass | 14,664 | 8,080 | -45% | 1 | 1 | 0% | 2,299 | 2,842 | +24% | 0 | 0 | — |
case-10 | fail→pass | 7,879 | 2,650 | -66% | 1 | 1 | 0% | 1,221 | 1,865 | +53% | 0 | 0 | — |
case-11 | fail→pass | 12,067 | 2,616 | -78% | 1 | 1 | 0% | 2,082 | 1,923 | -8% | 0 | 0 | — |
case-12 | fail→pass | 9,612 | 1,673 | -83% | 1 | 1 | 0% | 1,450 | 1,680 | +16% | 0 | 0 | — |
case-13 | fail→pass | 8,600 | 2,821 | -67% | 1 | 1 | 0% | 1,245 | 1,861 | +49% | 0 | 0 | — |
case-14 | pass→pass | 6,338 | 1,998 | -68% | 1 | 1 | 0% | 925 | 1,754 | +90% | 0 | 0 | — |
case-15 | pass→pass | 12,770 | 5,269 | -59% | 1 | 1 | 0% | 2,093 | 2,305 | +10% | 0 | 0 | — |
case-16 | fail→pass | 12,341 | 6,518 | -47% | 1 | 1 | 0% | 1,992 | 2,425 | +22% | 0 | 0 | — |
case-17 | pass→fail | 6,311 | 1,768 | -72% | 1 | 1 | 0% | 980 | 1,705 | +74% | 0 | 0 | — |
case-18 | fail→pass | 8,998 | 2,274 | -75% | 1 | 1 | 0% | 1,484 | 1,742 | +17% | 0 | 0 | — |
case-19 | fail→pass | 9,790 | 2,366 | -76% | 1 | 1 | 0% | 1,511 | 1,745 | +15% | 0 | 0 | — |
case-20 | pass→pass | 21,639 | 24,705 | +14% | 1 | 1 | 0% | 4,813 | 6,805 | +41% | 0 | 0 | — |
case-21 | pass→pass | 19,780 | 15,115 | -24% | 1 | 1 | 0% | 4,178 | 4,472 | +7% | 0 | 0 | — |
case-22 | pass→pass | 9,364 | 6,279 | -33% | 1 | 1 | 0% | 1,774 | 2,571 | +45% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 20 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +50 percentage points is the difference between those two pass rates over the 20 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.