agent-domain

Community

Own domain logic for rock-solid business rules.

Authorpliniou
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill encapsulates the domain layer of the Loto Generator, providing a pure Kotlin core that models business rules, entities, and use cases, while remaining UI- and Android-free to ensure portability and testability.

Core Features & Use Cases

  • Domain modelling: define core entities and invariants for lottery concepts (tickets, draws, results).
  • Use case orchestration: coordinate multiple entities and repositories to perform domain actions such as ticket validation, outcome calculation, and rule enforcement.
  • Clear boundaries and testability: provide repository interfaces and sealed result types to decouple UI and data layers and enable thorough unit testing.
  • Rule configuration: maintain constants and configuration that encode business rules (thresholds, validation rules, and validation workflows).

Quick Start

Define a new domain use case for validating lottery tickets and run its unit tests.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: agent-domain
Download link: https://github.com/pliniou/loto-generator/archive/main.zip#agent-domain

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.