Create complete feature with modular clean architecture
Guides creation of complete Go backend features using clean architecture patterns.
/plugin marketplace add venturo-id/venturo-claude/plugin install venturo-go@venturo-toolsYou will guide the user through creating a complete Go backend feature using the Venturo skeleton's clean architecture pattern.
This command uses an incremental 6-phase workflow to create features step-by-step.
Ask the user these questions first:
order_management)Present a complete plan and ask for confirmation before proceeding.
After confirmation, execute these phases sequentially (read each phase file when needed):
phases/new-feature/01-planning-and-migration.mdphases/new-feature/02-domain-layer.mdphases/new-feature/03-repository-layer.mdphases/new-feature/04-service-layer.mdphases/new-feature/05-handler-and-routes.mdphases/new-feature/06-documentation.mdAfter each phase:
Error Handling:
// ✅ Correct
utils.ErrorResponse(c, http.StatusBadRequest, "Invalid request", err.Error())
// ❌ Wrong
utils.ErrorResponse(c, http.StatusBadRequest, "Invalid request", err)
Middleware:
// ✅ Correct
{entity}Group.Use(middleware.JWTMiddleware(cfg))
File Naming:
entity.{entity}.gorequest.{entity}.go, response.{entity}.gohttp.{entity}.gorepo.{entity}.goservice.{entity}.goerrors.{feature_name}.goAfter completion, the generated OpenAPI YAML can be used with Claude AI to:
User: /venturo-go:new-feature
Claude: I'll help you create a new feature. Let me ask some questions first:
1. What is the name of the feature you want to create?
User: product_catalog
Claude: 2. What entities/sub-features will this feature contain?
User: products, categories, reviews
[Continues through all questions, presents plan, executes phases]