{
  "scenario": "hagi-index-generator",
  "locale": "en-US",
  "version": "1.0.0",
  "syntax": "handlebars",
  "syntaxVersion": "1.0",
  "author": "PCode Team",
  "description": "Generate or update hagindex.yml file for quick repository reference",
  "lastModified": "2026-03-03",
  "tags": [
  ],
  "parameters": [
    {
      "name": "projectPath",
      "type": "string",
      "required": true,
      "description": "Absolute path to project root directory, AI will analyze repository structure and generate hagindex.yml"
    },
    {
      "name": "repositoryPath",
      "type": "string",
      "required": false,
      "description": "Sub-repository path for MonoSpecs projects (e.g., 'repos/hagicode-core'). When provided, AI will analyze the specific sub-repository instead of the project root."
    },
    {
      "name": "monoSpecsRepositories",
      "type": "array",
      "required": false,
      "description": "MonoSpecs sub-repository list. When provided, AI will generate a separate hagindex.yml file for each sub-repository. Each object in the array should contain: path (relative path), displayName (human-readable name), url (repository URL), icon (icon identifier), type (repository type)."
    }
  ]
}
