{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "$schema": {
      "description": "JSON Schema URL for editor autocompletion",
      "type": "string"
    },
    "installDir": {
      "default": ".agents/skills",
      "description": "Directory where skills will be installed",
      "type": "string"
    },
    "linkTargets": {
      "default": [],
      "description": "Directories where skill symlinks will be created",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "selfSkill": {
      "description": "Whether this project is itself a skill",
      "type": "boolean"
    },
    "skills": {
      "default": {},
      "description": "Map of skill names to their specifiers",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "patchedSkills": {
      "description": "Map of skill names to their patch file paths",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "installDir",
    "linkTargets",
    "skills"
  ],
  "additionalProperties": false
}
