go-create-usecase
Installation
SKILL.md
Go Create UseCase
Generate a use case that depends on ports (interfaces), not concrete implementations.
Create the file
Create one file per operation in:
internal/modules/<module>/usecase/<operation>_usecase.go
Use:
- package:
usecase - struct name:
<Operation>UseCase - method name:
Execute
Naming (CRITICAL)
Apply consistent naming for every use case.