go-create-usecase
✓Generate Go use cases for modular architecture with Fx dependency injection, ports-based dependencies, OpenTelemetry tracing, input validation, and use-case metrics. Use when implementing business actions in internal/modules/<module>/usecase/ such as create, update, list, delete, status transitions, uploads, notifications, or any domain operation that orchestrates repositories/services.
Installation
SKILL.md
Generate a use case that depends on ports (interfaces), not concrete implementations.
Create one file per operation in: internal/modules/ /usecase/ usecase.go
When no parameters are needed, remove input struct and use:
Generate Go use cases for modular architecture with Fx dependency injection, ports-based dependencies, OpenTelemetry tracing, input validation, and use-case metrics. Use when implementing business actions in internal/modules/<module>/usecase/ such as create, update, list, delete, status transitions, uploads, notifications, or any domain operation that orchestrates repositories/services. Source: cristiano-pacheco/ai-rules.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-usecase- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-15
- Updated
- 2026-02-18
Quick answers
What is go-create-usecase?
Generate Go use cases for modular architecture with Fx dependency injection, ports-based dependencies, OpenTelemetry tracing, input validation, and use-case metrics. Use when implementing business actions in internal/modules/<module>/usecase/ such as create, update, list, delete, status transitions, uploads, notifications, or any domain operation that orchestrates repositories/services. Source: cristiano-pacheco/ai-rules.
How do I install go-create-usecase?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-usecase Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/cristiano-pacheco/ai-rules
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-15