create-entity-modal

Generates a Glyvio entity selection modal with autocomplete search, filters, chips, and routing.

1|Updated Jun 11, 2026
One-click install
npx skills add https://github.com/devena/glyvio-forge --skill create-entity-modal-devena
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-entity-modal
Source: https://github.com/devena/glyvio-forge/tree/main/claude/skills/create-entity-modal
Command: npx skills add https://github.com/devena/glyvio-forge --skill create-entity-modal-devena

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building an entity lookup and selection modal in a Glyvio plugin requires wiring together many pieces—route definitions, query builders, autocomplete filters, cell and chip designs, and textfield wrappers—which is repetitive and error-prone when done by hand. ## Core Features & Use Cases - Complete Modal Generation: Produces a full SimpleEntityModal subclass with route, state, query builder, autocomplete filters, and app bar design from a small set of input parameters. - Textfield Wrappers: Generates single-select, multi-select, and select textfield design classes pre-wired to the modal's route and namespace. - Use Case: You need a customer picker in your Glyvio plugin. Provide the entity name, plugin namespace, route path, and display fields, and the Skill writes customer_entity_modal.ts plus the route registration, ready to use. ## Quick Start Ask the agent to create an entity modal for the Customer entity in your plugin namespace with a route path and name-based search fields.

Frequently Asked Questions about create-entity-modal

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

FAQPage Schema
How do I create an entity selection modal in a Glyvio plugin?▼

Provide the entity name, plugin namespace, route path, display layout fields, and search filter fields. The Skill generates a SimpleEntityModal subclass with route, query builder, autocomplete filters, cell and chip designs, plus textfield wrapper classes, and registers the route in your plugin's routing configuration.

What inputs are required to generate a Glyvio entity modal?▼

Five inputs are required: the entity name from glyvio_entity, the plugin namespace, a route path starting with a slash, display layout definitions for cells and chips, and the fields matched during autocomplete search.

Can I import Glyvio classes directly in the generated modal code?▼

No. Glyvio classes, decorators, services, and entities are injected globally at runtime, so the generated code references them via globals like glyvio_core and glyvio_structure rather than import statements.

Why does my new event handler in the modal not update the UI?▼

Every new action key handler in events() that mutates state must return 'STATE_UPDATE'; returning undefined is a silent no-op. Use 'STATE_FREEZED' only for navigation actions like pushPage or popModal.

Does the entity modal show a favorite star button?▼

No. SimpleEntityModal overrides getFavoriteButtonEnabled() to return false, since a lookup popup is not a top-level screen worth favoriting. You can override it to return true only if you specifically need that modal to be favoritable.