一键导入
powerxplugin-crud-fe-nuxt-api-client
// 基于 .specify/memory/rulesets/crud/frontend/nuxt_api_client.yaml 的 Nuxt API Client 规范。用于生成/校对 api.ts 与 CRUD composable。
// 基于 .specify/memory/rulesets/crud/frontend/nuxt_api_client.yaml 的 Nuxt API Client 规范。用于生成/校对 api.ts 与 CRUD composable。
自动检查 contracts/capabilities 与 plugin.yaml/catalog(plugin.d)的同步对齐,适用于功能迭代后快速发现路由、RBAC、清单漂移问题。
规范化梳理与排查 PowerXPlugin 仓库的 GitHub Actions CI/Release 覆盖范围,并指导如何按既定规范追加测试用例与发布前校验。适用于:CI 通过但 tag/release 失败、需要确认当前 workflow 覆盖了哪些模块/用例、要把新功能纳入 CI(含模板同步、px-plugin init 生成物、Go/Node 测试、Playwright 回归)等场景。
基于 .specify/memory/rulesets/crud/api_rest.yaml 的 REST 约定。用于检查 CRUD 路由集、响应封装与路由注册。
基于 .specify/memory/rulesets/crud/di.yaml 的依赖注入规范。用于调整容器构造与依赖注入链路。
基于 .specify/memory/rulesets/crud/dto.yaml 的 CRUD DTO 规范。用于新增/维护 Create/Update/List DTO 与校验标签。
基于 .specify/memory/rulesets/crud/frontend/nuxt_components.yaml 的 Nuxt 组件规范。用于表单弹窗、主题 token 与 Nuxt UI 组件用法。
| name | powerxplugin-crud-fe-nuxt-api-client |
| description | 基于 .specify/memory/rulesets/crud/frontend/nuxt_api_client.yaml 的 Nuxt API Client 规范。用于生成/校对 api.ts 与 CRUD composable。 |
.specify/memory/rulesets/crud/frontend/nuxt_api_client.yaml。web-admin/plugins/api.ts 与 web-admin/composables/useTemplates.ts。web-admin/composables/api/index.ts 统一导出入口。apiGet/apiPost/apiPatch/apiPut/apiDel 与 useApiClient。$fetch,保持认证/租户头与错误处理一致。