adding-frontend-entity

Scaffold Vue 3 entity CRUD with services, stores, forms, and routes.

2|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/MGurtD/lilith --skill adding-frontend-entity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adding-frontend-entity
Source: https://github.com/MGurtD/lilith/tree/main/.github/skills/adding-frontend-entity
Command: npx skills add https://github.com/MGurtD/lilith --skill adding-frontend-entity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Complete 10-step workflow for adding new entity CRUD to the Vue 3 frontend of Lilith ERP. Use when (1) Creating new views with DataTable listings for an entity, (2) Adding services extending BaseService<T>, (3) Creating Pinia stores for new entities, (4) Building forms with Yup validation and PrimeVue components, (5) Adding lazy-loaded routes to module router, (6) Synchronizing TypeScript types with C# backend entities, (7) Troubleshooting "module not found", "route not registered", "store not defined", or TypeScript type errors after adding a new entity.

Core Features & Use Cases

  • Define TypeScript interfaces for the new entity and related data
  • Create a service extending BaseService<T> to handle CRUD
  • Register the service in module index for DI
  • Build a Pinia store with fetch/create/update/delete actions
  • Implement List view with DataTable and filters
  • Implement Detail view with tabs for form and nested lines
  • Create Form component with Yup validation and date normalization
  • Create Table component for nested entities (optional)
  • Add module routes (lazy-loaded) for list and detail
  • Register routes in central router to enable navigation

Quick Start

Follow the 10-step workflow to add a new frontend entity to Lilith ERP's Vue 3 frontend.

Frequently Asked Questions about adding-frontend-entity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new CRUD entity in Vue 3 with Pinia and TypeScript?

Scaffolding a new CRUD entity in Vue 3 involves defining TypeScript interfaces, creating a BaseService extension, wiring a Pinia store, building PrimeVue forms with Yup validation, and adding lazy-loaded routes. This workflow automates the complete end-to-end setup.

How do I synchronize TypeScript types with a C# backend for a new frontend entity?

To synchronize TypeScript types with a C# backend, you define matching TypeScript interfaces for the new entity and related data. This ensures strict type alignment across the frontend module and enables successful typechecking with zero errors.

Why is my Vue 3 module not found or route not registered after adding a new entity?

A Vue 3 module not found or route not registered error occurs when routes are not properly added to the module router or registered in the central router. This workflow troubleshoots these issues by ensuring correct lazy-loaded route integration and navigation setup.

What is the best way to build a Vue 3 form with Yup validation and PrimeVue components?

The best way to build a Vue 3 form with Yup validation is to create a dedicated Form component using PrimeVue components and apply date normalization within the workflow. This ensures robust client-side validation and data integrity before submission.

Does this frontend scaffolding workflow support nested entity lines in detail views?

Yes, this frontend scaffolding workflow supports nested entity lines by implementing a Detail view with tabs for forms and nested lines. It also includes creating a dedicated Table component for nested entities when needed.

Can I use BaseService to handle CRUD operations for a new Pinia store?

Yes, you can use BaseService to handle CRUD operations by creating a service that extends BaseService<T> and registering it in the module index for dependency injection. The Pinia store then uses this service to execute fetch, create, update, and delete actions.