create-action
Installation
SKILL.md
Create Business Action
This skill generates a standardized Action class for business logic, ensuring consistent naming and structure.
Instructions
-
Identify Parameters:
- Module: The domain module (e.g.,
Identity,Academic). - Entity: The object being acted upon (e.g.,
Student,Course). - Verb: The operation (e.g.,
Register,Update,Cancel). - Class Name:
{Verb}{Entity}Action(e.g.,RegisterStudentAction).
- Module: The domain module (e.g.,
-
Determine Path:
app/Modules/{Module}/Actions/{ClassName}.php