create-batch-page

Generates a spreadsheet-style batch editor page with routing and menu registration for Glyvio plugins.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a bulk data-entry page in a Glyvio plugin requires wiring together a route, a SimpleBatchPage view, spreadsheet column mappings, Dto-to-entity conversion, and menu registration by hand. This Skill generates the complete batch editor page from a small set of parameters, eliminating repetitive boilerplate and framework-specific mistakes. ## Core Features & Use Cases - Full Page Generation: Creates a TypeScript batch page extending SimpleBatchPage with route params, state, Dto interfaces, and an interceptor class. - Spreadsheet Import Mapping: Produces the logic that parses uploaded spreadsheet rows, validates them, and maps them into entity persistence payloads. - Routing & Menu Registration: Registers the route via routerService.loadRoutes and adds a sidebar menu item with icon, color theme, and permission checks. - Use Case: A developer needs a bulk editor for Product entities at /products-batch with name, price, and active columns. Provide the entity name, namespace, route path, columns, and menu group, and the Skill outputs the complete page file plus registration snippets. ## Quick Start Ask the agent to create a batch page for the Product entity in the my_plugin namespace at route /products-batch with columns for name, price, and active status under the Administration menu group.

Frequently Asked Questions about create-batch-page

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

FAQPage Schema
How do I create a bulk edit page in a Glyvio plugin?▼

Provide the entity name, plugin namespace, route path, column definitions, and menu group. The Skill generates a TypeScript page extending SimpleBatchPage with spreadsheet upload handling, row-to-entity mapping, route registration, and a sidebar menu item.

How to add spreadsheet upload to a Glyvio batch page?▼

The generated page implements getDtoSpreadsheetFromLine to parse uploaded rows into Dto values and getSpreadsheetLayout to map spreadsheet columns to Dto fields. Uploaded rows are validated and converted into entity persistence queues automatically.

What inputs are required to generate a Glyvio batch page?▼

Five inputs are required: the entity model name from glyvio_entity, the plugin namespace, a route path starting with a slash, the editable columns with field, label, and type, and the menu group where the page appears.

Can I import Glyvio classes directly in the generated page?▼

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

Why does my batch page event handler not update the UI?▼

Event handlers added to events() must return 'STATE_UPDATE' when they mutate state directly, or 'STATE_FREEZED' for navigation actions. Returning undefined is a silent no-op, which is a common cause of unresponsive pages.