core/domain

Manage business logic and database access for ExpenseShare domain entities.

46|5|Updated Aug 31, 2025
One-click install
npx skills add https://github.com/cloner93/ExpenseShare --skill core-domain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: core/domain
Source: https://github.com/cloner93/ExpenseShare/tree/main/core/domain
Command: npx skills add https://github.com/cloner93/ExpenseShare --skill core-domain

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires koin, ktor, kotlinx-coroutines, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit provides the pure business logic layer for the ExpenseShare app, handling domain models, repository interfaces, and use cases for group management, friends management, and transactions.

Core Features & Use Cases

  • Domain Models: User, Group, Transaction, etc.
  • Repository Interfaces: Handles database interactions with methods for group operations, transaction approvals, and friend management.
  • Use Cases: Implements single-responsibility business operations such as creating a group, updating members, and handling transactions.

Quick Start

Invoke the 'GetGroupsUseCase' to retrieve a list of groups from the repository.

Frequently Asked Questions about core/domain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement domain logic for an expense management app?

To implement domain logic for an expense management app, this Skill provides pure business logic layers handling domain models, repository interfaces, and single-responsibility use cases for group, friend, and transaction operations.

How do I structure repository interfaces for expense management database operations?

To structure repository interfaces for expense management database operations, this Skill defines methods for group operations, transaction approvals, and friend management. It provides a clean API for CRUD operations on user, group, and transaction entities.

Does this expense management business logic require Ktor and Koin?

Yes, this expense management business logic requires Ktor and Koin. Along with kotlinx-coroutines, these dependencies are necessary to support the pure domain logic layer and its database access for user, group, and transaction operations.

What's the best way to retrieve a list of groups using use cases?

The best way to retrieve a list of groups using use cases is to invoke the 'GetGroupsUseCase'. This single-responsibility business operation fetches the requested group data directly from the configured repository interface.

Can I use this domain logic without an existing database?

No, you cannot use this domain logic without an existing database. The Skill explicitly requires access to a database to execute the CRUD operations for its core user, group, and transaction entities.