Skip to main content

dubbo-admin-frontend

Implements and reviews dubbo-admin Vue 3 frontend changes. Use when the user asks about ui-vue3, Vue views or components, frontend routing, route metadata, API clients, Pinia stores, SearchDomain, i18n, layout tabs, traffic rule form design, frontend tests, or Vite, ESLint, and Prettier configuration. Do not use for Go backend internals unless coordinating an API contract with the frontend.

来源信息

仓库
apache/dubbo-admin
最近来源活动
2026年5月10日 08:06
检测到的 SKILL.md 语言
英语
星标
4,061
Forks
2,169

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
4 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
dubbo-admin-frontend
description
Implements and reviews dubbo-admin Vue 3 frontend changes. Use when the user asks about ui-vue3, Vue views or components, frontend routing, route metadata, API clients, Pinia stores, SearchDomain, i18n, layout tabs, traffic rule form design, frontend tests, or Vite, ESLint, and Prettier configuration. Do not use for Go backend internals unless coordinating an API contract with the frontend.
# dubbo-admin Frontend ## Purpose Use this skill to change or explain the Vue frontend while preserving routing, API, state, layout, i18n, and traffic-rule form patterns. ## When to use Use for `ui-vue3/` changes, route definitions, views, components, API clients, Pinia stores, tabs, SearchDomain pages, traffic rule forms, and frontend validation. Do not use for backend-only logic unless frontend API contracts are affected. ## Inputs Required: - Frontend route, view, component, or user workflow. - Intended UI behavior or API contract. Optional: - Backend endpoint or payload. - Screenshot or user interaction path. - Existing page to mirror. If missing, start from `ui-vue3/src/router/defaultRoutes.ts` and identify the view. ## Workflow 1. Locate the route in `ui-vue3/src/router/defaultRoutes.ts`. 2. Read the view under `ui-vue3/src/views/` and nearby components or composables. 3. Check API calls in `ui-vue3/src/api/` and request behavior in `src/base/http/request.ts`. 4. Use shared components and layout patterns before adding new abstractions. 5. Update Pinia state, i18n keys, and tests when user-visible behavior changes. 6. Read `references/traffic-rule-forms.md` for routing, dynamic config, or tag rule forms. ## Output format Return changed UI flow, route or component paths, API contract impact, validation commands, and any screenshot or browser-test gap. ## Validation - Run the smallest relevant command: `yarn lint`, `yarn type-check`, `yarn test:unit`, or `yarn build`. - Confirm request payloads match backend models. - Confirm new user-facing text has i18n keys. - For traffic forms, confirm form and YAML paths round-trip the same data. ## Edge cases - Mesh is injected by the Axios request layer; avoid duplicate mesh handling unless required. - Tabbed detail pages rely on route metadata and layout state. - If backend response fields change, check both API client types and view usage. ## References - Read `references/frontend-structure.md` for directory and route patterns. - Read `references/traffic-rule-forms.md` for traffic form design and round-trip checks.
在 GitHub 查看