controller-generation
Installation
SKILL.md
Controller Code Generation
The system uses core_generate to automatically create standard CRUD operations for controllers.
Code Generation Command
Add this directive to your setup.go file:
//go:generate core_gen controller Account -modelPackage=account
Parameters:
controller- Command typeAccount- Model name (PascalCase)-modelPackage=account- Package name containing the model-options=adminif its an admin only controller-skip=xxxYYY,aaaBBBskip generating this function because we need to customize it