webapp-loader-action
Webapp Loader / Action Skill
Loaders fetch data for a route (called on GET). Actions handle mutations (called on POST/PUT/DELETE,
usually from a <Form> submission). Both live in the same route file and call use cases from the
core package through a DI container.
Read references/templates.md for copy-paste starting points.
Before You Start
If the user hasn't told you which use case to call, ask. Then find the interface file:
{core-package}/src/useCase/{domain}/I{Name}.ts
Read it carefully — the input type tells you exactly what the use case expects, and the return type tells you what you get back.
More from efesto-cloud/skills
persistence
>
19population
>
18value-object
|
18type-enum-dict
|
18usecase
>
17entity
Create or modify domain entities using the @efesto-cloud/entity package. Use this skill whenever the user asks to add a new entity, update an existing entity, add properties or methods to an entity, or work on the entity/dto layer. Trigger when the user says things like "create a Foo entity", "add a field to Bar", "I need a new domain object", or "add entity X". Also trigger for DTO creation or modification.
17