usecase

Installation
SKILL.md

Use Case Skill

Installation: If not already installed, add the package with pnpm add @efesto-cloud/usecase.

Use cases are the application layer's entry points in a hexagonal architecture. They orchestrate domain entities, repositories (persistence), and services (email, auth, storage, etc.) to execute a single well-defined business operation.

Each use case ships four artifacts:

  1. InterfaceuseCase/{domain}/I{Name}.ts — the type contract
  2. ImplementationuseCase/{domain}/impl/{Name}.ts — the class
  3. Symboldi/Symbols.ts — a new symbol entry
  4. Bindingdi/container.ts — a DI binding line

Read references/templates.md for ready-to-copy code templates.

Before You Start

Gather context if the user hasn't already provided it:

Related skills
Installs
3
First Seen
Apr 29, 2026