with one click
company-project-routing
// 当用户的请求、关键字或线索比较模糊时,使用此技能将其映射到正确的公司项目、模块、负责人或服务名称。同时,当需要通过 Jenkins MCP 触发测试环境打包或部署时,也必须使用此技能来查找具体的 Jenkins Job 名称(例如 front-*-test, npm-tools-test 等)。
// 当用户的请求、关键字或线索比较模糊时,使用此技能将其映射到正确的公司项目、模块、负责人或服务名称。同时,当需要通过 Jenkins MCP 触发测试环境打包或部署时,也必须使用此技能来查找具体的 Jenkins Job 名称(例如 front-*-test, npm-tools-test 等)。
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | company-project-routing |
| description | 当用户的请求、关键字或线索比较模糊时,使用此技能将其映射到正确的公司项目、模块、负责人或服务名称。同时,当需要通过 Jenkins MCP 触发测试环境打包或部署时,也必须使用此技能来查找具体的 Jenkins Job 名称(例如 front-*-test, npm-tools-test 等)。 |
Use the clearest project clues first, then the company project distribution. The goal is to map an ambiguous request to the most likely project, module, ownership area, and service name without over-weighting vague labels.
Use this when:
Do not use this to solve the issue itself. This is only for locating and routing.
When the downstream workflow needs a 服务名称, this skill must return the matched project together with the standardized service name from the mapping table below.
If a candidate has:
pick it.
If candidates are tied, ask for one more discriminating signal from the strongest source available.
Default rule: use the project name itself as 服务名称 unless the exception table explicitly overrides it.
| Strength | Examples | Weight |
|---|---|---|
| Strong | Exact project names, module names, product-specific terms, unique business terms, exact paths, package names | Highest |
| Medium | Shared folder names, framework config, build files, route names, stack trace frames | Use as support |
| Weak | Generic keywords, common features, vague business wording, "portal", "auth", "login", "vite" | Do not decide on these alone |
这是主要的匹配依据。按项目领域分类,精确词优先:
| 关键字 | 项目 | 备注 |
|---|---|---|
| 订单管理 / 订单后台 | order-admin | 精确匹配 |
| 商家后台 / 商家管理 | jbz_admin, kp_admin | 需结合其他信号区分 |
| 门店管理 | store_admin | 精确匹配 |
| 数据统计 / 统计后台 | statistics_admin | 精确匹配 |
| 海报管理 / 海报后台 | poster_admin | 精确匹配 |
| 微信直播 / 直播后台 | weixin-live | 精确匹配 |
| 大后台 / 菜单管理 / admin_menu | admin_menu | 精确匹配 |
| 关键字 | 项目 | 备注 |
|---|---|---|
| 供应商后台 / 供应商管理 | supplier-admin-web | 精确匹配 |
| 服务商后台 / 服务商管理 | zan-projects/admin/facilitator | 精确匹配 |
| 供应商移动端 / 服务商移动端 | provider-mobile | 精确匹配 |
| 中台管理 | zan-projects/admin/factory | 需结合 env/command 区分 |
| 关键字 | 项目 | 备注 |
|---|---|---|
| 直播监控 / 直播监控平台 | zan-projects/admin/live-monitor | 精确匹配 |
| 商城直播小程序 | zan-mini | 精确匹配 |
| 关键字 | 项目 | 备注 |
|---|---|---|
| 用户中心 / C端用户中心 / Ucenter | Ucenter | 精确匹配 |
| 商城H5 / 商城前端 | jbz_shop | 精确匹配 |
| 商城小程序 | shop_mp | 精确匹配 |
| instant apps / C端项目 / Instant Apps | instant-apps | 精确匹配 |
| 关键字 | 项目 | 备注 |
|---|---|---|
| 数据大屏 / 大屏展示 | report-ui | 精确匹配 |
| 小程序UI库 / von-ui | von-ui | 精确匹配 |
| 公共方法库 / common | common | 精确匹配 |
| 新版公共库 / zan-lib | zan-lib | 精确匹配 |
| 关键字 | 问题 | 建议 |
|---|---|---|
| 后台 / 管理后台 | 太通用 | 需结合具体业务词 |
| 登录 / 权限 | 多项目都有 | 需结合项目名或路径 |
| 报错 / 错误 | 无指向性 | 需更多上下文 |
| 直播 | 可能多个项目 | 需区分"直播监控"还是"商城直播" |
匹配优先级:精确中文词 > 英文路径 > 通用中文词 > 模糊描述
默认直接使用项目名称作为 服务名称。只有命中特例时,才使用表中的覆盖值。
| 项目 | 子项目 / 模块 | 服务名称 |
|---|---|---|
order-admin | - | order-admin |
jbz_admin | - | main_menu |
kp_admin | - | kp_admin |
store_admin | - | store_admin |
statistics_admin | - | statistics_admin |
poster_admin | - | poster_admin |
weixin-live | - | live2 |
admin_menu | - | admin_menu |
supplier-admin-web | suppliers | 供应商 |
supplier-admin-web | middleManage | 中台运营管理系统 |
provider-mobile | supplier-mobile | supplier-mobile |
zan-projects | facilitator | facilitator |
zan-projects | factory | factory |
zan-projects | live-monitor | live-monitor |
zan-mini | - | zan-mini |
Ucenter | - | Ucenter |
jbz_shop | - | jbz_shop |
shop_mp | - | shop_mp |
instant-apps | - | instant-apps |
report-ui | - | report-ui |
von-ui | - | von-ui |
common | - | common |
zan-lib | - | zan-lib |
Use these as the first routing layer when the prompt is about a known project area:
| Group | Repos / areas |
|---|---|
| 商家平台 | admin_menu, jbz_admin, kp_admin, order-admin, poster_admin, statistics_admin, store_admin, weixin-live, zan-projects/admin/* |
| 中台 | supplier-admin-web, zan-projects/admin/factory, maybe kp_admin depending on command and env |
| 供应商 | supplier-admin-web, zan-projects/admin/factory, maybe kp_admin depending on command and env |
| 服务商 | zan-projects/admin/facilitator, provider-mobile |
| 直播监控平台 | zan-projects/admin/live-monitor |
| C端用户中心 | Ucenter |
| 商城H5 | jbz_shop |
| 商城小程序 | shop_mp |
| Instant Apps C端 | instant-apps |
| 数据大屏 | report-ui |
| 小程序UI库 | von-ui |
| 公共方法库 | common |
| 新版公共库 | zan-lib |
| 商城直播小程序 | zan-mini |
If a project name appears in more than one group or serves multiple business lines, do not treat the group as proof. Use project signals to decide.
在 MCP 中进行测试环境自动化部署时,请根据以下对应关系查找并触发 Jenkins Job:
| 业务领域 | 项目 / 服务 | Jenkins 测试环境 Job |
|---|---|---|
| 商家平台 | order-admin | front-orderAdmin-test |
jbz_admin / main_menu | front-main_menu-test | |
kp_admin | front-kpadmin-test | |
store_admin | front-storeAdmin-test | |
statistics_admin | front-statisticsAdmin-test | |
poster_admin | front-posteradmin-test | |
weixin-live / live2 | front-live2-test | |
admin_menu | front-admin_menu-test | |
| 中台 / 供应商 | supplier-admin-web / suppliers | front-suppliers-test |
zan-projects/admin/factory | front-factory-test | |
zan-projects/admin/facilitator | front-facilitator-test | |
provider-mobile / supplier-mobile | front-provider-mobile-test | |
| 直播 | zan-projects/admin/live-monitor | front-live-monitor-test |
| C端用户 | Ucenter | front-ucenter-test |
jbz_shop | front-mall-test | |
shop_mp | shop_mp_test | |
instant-apps | front-instant-apps-test | |
| 大屏展示 | report-ui | report-ui-test |
公共的库在测试环境对应的打包发布 Jenkins Job 统一为 npm-tools-test。在触发构建时,通过选择具体发布的项目进行打包,包含以下项目:
sim-uivon-uicommonzan-libzan-appszan-minizan-cli其他常规项目则通常对应 front-<项目名>-test、<项目名>-test 等独立的 Job。
服务名称。服务名称。输出时尽量返回:
项目子项目(如有)服务名称命中依据| Clue | What to do |
|---|---|
订单管理 | 优先匹配 order-admin,输出 order-admin |
商家后台 | 先看是 jbz_admin 还是 kp_admin;jbz_admin 输出 main_menu,kp_admin 输出 kp_admin |
供应商后台 | 优先匹配 supplier-admin-web/suppliers,输出 供应商 |
中台运营管理系统 | 优先匹配 supplier-admin-web/middleManage,输出 中台运营管理系统 |
服务商后台 | 优先匹配 zan-projects/facilitator,输出 facilitator |
供应商移动端 | 优先匹配 provider-mobile/supplier-mobile,输出 supplier-mobile |
微信直播 | 优先匹配 weixin-live,输出 live2 |
直播监控 | 优先匹配 zan-projects/live-monitor,输出 live-monitor |
商城小程序 | 优先匹配 shop_mp,输出 shop_mp |
instant apps | 优先匹配 instant-apps,输出 instant-apps |
大屏展示 | 优先匹配 report-ui,输出 report-ui |
UI库 | 优先匹配 von-ui,输出 von-ui |
服务名称weixin-live -> live2Stop and ask for one more signal if: