pure-admin-thin-crud-gen
Installation
SKILL.md
Pure Admin Thin CRUD Generator
Overview
Generate runnable Vue pages under src/views/<module>/ and route modules under src/router/modules/ from swagger-ts-api output in src/api/swagger/Api.ts plus the wrapper behavior in src/api/api.ts.
Keep generation AI-driven. Do not run external OpenAPI generators. Do not add helper generation scripts.
Input Contract
Require these inputs before generation:
moduleSelector(required): select target module bytag, entity name, or path keyword.selectorMode(optional): defaultauto. Allowed values:auto,tag,entity,path.forceDetailPage(optional): defaultauto. Allowed values:auto,true,false.pageMode(optional): defaultcrud. Allowed values:crud,dashboard,mixed.routeBase(optional): default/<kebab-module>.outputMode(fixed): always output full file contents.
If the user only gives a vague module name, resolve it with selectorMode=auto and state the matched methods explicitly.