{
  "scenario": "skill-recommendation-ranking",
  "locale": "zh-CN",
  "version": "1.0.0",
  "syntax": "handlebars",
  "syntaxVersion": "1.0",
  "author": "PCode Team",
  "description": "对候选技能进行排序，并说明它们为何适配当前项目组合。",
  "image": {
    "stageStyleKey": "skill-recommendation-ranking-mentor-board",
    "artStyle": "编辑部顾问面板插画",
    "displayMode": "advisor-panel",
    "aspectRatio": "16:9",
    "alt": "对当前项目组合的候选技能进行排序。",
    "stageStyleLabel": "Recommendation mentor board",
    "promptDirection": "候选审阅、适配解释、推荐面板"
  },
  "lastModified": "2026-03-21",
  "tags": [
    "skill",
    "recommendation",
    "ranking"
  ],
  "parameters": [
    {
      "name": "projectContext",
      "type": "object",
      "required": true,
      "description": "由后端推荐上下文构建器汇总的受限跨项目上下文。"
    },
    {
      "name": "candidateSkills",
      "type": "array",
      "required": true,
      "description": "根据搜索查询聚合出的目录候选技能。"
    },
    {
      "name": "installedSkills",
      "type": "array",
      "required": true,
      "description": "本地已安装技能列表，用于避免重复安装。"
    },
    {
      "name": "maxRecommendations",
      "type": "number",
      "required": true,
      "description": "最多返回多少个推荐对象。"
    },
    {
      "name": "heroContext",
      "type": "object",
      "required": false,
      "description": "可选的本次运行 hero 覆盖信息，需在搜索与排序阶段保持一致。"
    }
  ],
  "dungeon": {
    "enabled": true,
    "scriptKey": "prompt.skill-recommendation-ranking",
    "groupKey": "prompt",
    "sortOrder": 331,
    "displayName": "技能推荐排序",
    "description": "用于推荐排序与解释的运行时成员路由。"
  }
}
