{
  "scenario": "skill-recommendation-ranking",
  "locale": "en-US",
  "version": "1.0.0",
  "syntax": "handlebars",
  "syntaxVersion": "1.0",
  "author": "PCode Team",
  "description": "Rank candidate skills and explain why they fit the current project portfolio.",
  "image": {
    "stageStyleKey": "skill-recommendation-ranking-mentor-board",
    "artStyle": "Editorial mentor board illustration",
    "displayMode": "advisor-panel",
    "aspectRatio": "16:9",
    "alt": "Rank candidate skills for the current project portfolio.",
    "stageStyleLabel": "Recommendation mentor board",
    "promptDirection": "candidate review, fit explanation, recommendation board"
  },
  "lastModified": "2026-03-21",
  "tags": [
    "skill",
    "recommendation",
    "ranking"
  ],
  "parameters": [
    {
      "name": "projectContext",
      "type": "object",
      "required": true,
      "description": "Bounded cross-project context assembled by the backend recommendation builder."
    },
    {
      "name": "candidateSkills",
      "type": "array",
      "required": true,
      "description": "Catalog candidates collected from the generated search queries."
    },
    {
      "name": "installedSkills",
      "type": "array",
      "required": true,
      "description": "Already installed local skills, supplied so duplicate installs can be de-prioritized."
    },
    {
      "name": "maxRecommendations",
      "type": "number",
      "required": true,
      "description": "Maximum number of recommendation objects to return."
    },
    {
      "name": "heroContext",
      "type": "object",
      "required": false,
      "description": "Optional runtime hero override that should stay consistent across recommendation phases."
    }
  ],
  "dungeon": {
    "enabled": true,
    "scriptKey": "prompt.skill-recommendation-ranking",
    "groupKey": "prompt",
    "sortOrder": 331,
    "displayName": "Skill Recommendation Ranking",
    "description": "Runtime member routing for recommendation ranking and explanation."
  }
}
