What problem does it solve?
This Skill removes repetitive Angular Portal CRUD scaffolding work by generating a complete entity management setup (model, service, routes, list, and detail) from a brief request and confirmed module context.
Core Features & Use Cases
- Entity CRUD module generation: Builds list and detail screens with sdcorejs conventions, including reactive forms and table-based list UX.
- Mock-first service + centralized seed data: Creates runnable
localStorage CRUD with a single services/[entity].mock-data.ts seed source (20–40 realistic rows) and auto-reseed behavior when stored JSON is missing/corrupted.
- Route scaffolding with permission guards: Produces URL states with
data.permission so navigation is blocked consistently by the module guard.
- Bilingual VI/EN mapping: Supports Vietnamese/English intent triggers like adding entity + creating CRUD pages.
- Template-driven code + tests: Loads code and spec templates on demand to keep output consistent with the Angular Portal track.
Quick Start
Create CRUD for entity X inside module Y by describing fields and UI expectations, then let the skill scaffold routes, services, list, and detail with mock CRUD and mocked seed data.