d2-03-main-menu
Installation
SKILL.md
Day 2 · Step 3 — Main menu with capability-driven menu items
Before starting: Ask for:
- Entity name (PascalCase, e.g.,
Product,Order,Employee) — REQUIRED - Available capabilities (select one or more:
search,create,save,delete) — REQUIREDsearch: Browse/list all recordscreate: Create new recordssave: Save to database (used with create/edit)delete: Delete records
Use exactly as specified. Menu buttons will be generated based on selected capabilities.
Routing Setup (app.routes.ts) — COMPLETE ROUTING TABLE FOR ALL PAGES:
- Import MenuComponent, all SearchComponents, and all FormComponents
- Add menu as the default/landing page route (path: '')
- Define entity routes for each program: search, create, edit
- This route table is shared by d2-03 (menu), d2-04 (search), and d2-05 (form)