{
  "$defs": {
    "adaptive-hook": {
      "additionalProperties": false,
      "properties": {
        "claude": {
          "additionalProperties": false,
          "properties": {
            "context": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "env": {
                      "items": {
                        "enum": [
                          "hook.event",
                          "provider",
                          "session.id"
                        ],
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    },
                    "includeRaw": {
                      "type": "boolean"
                    },
                    "strategy": {
                      "enum": [
                        "inline",
                        "none",
                        "toolkit"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              ]
            },
            "events": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "minItems": 1,
              "type": "array",
              "uniqueItems": true
            },
            "match": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "object"
                }
              ]
            },
            "run": {
              "additionalProperties": false,
              "properties": {
                "args": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "command": {
                  "minLength": 1,
                  "type": "string"
                },
                "cwd": {
                  "minLength": 1,
                  "type": "string"
                },
                "env": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "script": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "codex": {
          "additionalProperties": false,
          "properties": {
            "context": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "env": {
                      "items": {
                        "enum": [
                          "hook.event",
                          "provider",
                          "session.id"
                        ],
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    },
                    "includeRaw": {
                      "type": "boolean"
                    },
                    "strategy": {
                      "enum": [
                        "inline",
                        "none",
                        "toolkit"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              ]
            },
            "events": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "minItems": 1,
              "type": "array",
              "uniqueItems": true
            },
            "match": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "object"
                }
              ]
            },
            "run": {
              "additionalProperties": false,
              "properties": {
                "args": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "command": {
                  "minLength": 1,
                  "type": "string"
                },
                "cwd": {
                  "minLength": 1,
                  "type": "string"
                },
                "env": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "script": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "context": {
          "additionalProperties": false,
          "properties": {
            "env": {
              "items": {
                "enum": [
                  "hook.event",
                  "provider",
                  "session.id"
                ],
                "type": "string"
              },
              "minItems": 1,
              "type": "array",
              "uniqueItems": true
            },
            "includeRaw": {
              "type": "boolean"
            },
            "strategy": {
              "enum": [
                "inline",
                "none",
                "toolkit"
              ],
              "type": "string"
            }
          },
          "type": "object"
        },
        "cursor": {
          "additionalProperties": false,
          "properties": {
            "context": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "env": {
                      "items": {
                        "enum": [
                          "hook.event",
                          "provider",
                          "session.id"
                        ],
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    },
                    "includeRaw": {
                      "type": "boolean"
                    },
                    "strategy": {
                      "enum": [
                        "inline",
                        "none",
                        "toolkit"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              ]
            },
            "events": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "minItems": 1,
              "type": "array",
              "uniqueItems": true
            },
            "match": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "object"
                }
              ]
            },
            "run": {
              "additionalProperties": false,
              "properties": {
                "args": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "command": {
                  "minLength": 1,
                  "type": "string"
                },
                "cwd": {
                  "minLength": 1,
                  "type": "string"
                },
                "env": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "script": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "description": {
          "minLength": 1,
          "type": "string"
        },
        "events": {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "minItems": 1,
          "type": "array",
          "uniqueItems": true
        },
        "match": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "object"
            }
          ]
        },
        "name": {
          "minLength": 1,
          "type": "string"
        },
        "providers": {
          "items": {
            "enum": [
              "claude",
              "codex",
              "cursor"
            ],
            "type": "string"
          },
          "minItems": 1,
          "type": "array",
          "uniqueItems": true
        },
        "run": {
          "additionalProperties": false,
          "properties": {
            "args": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "type": "array"
            },
            "command": {
              "minLength": 1,
              "type": "string"
            },
            "cwd": {
              "minLength": 1,
              "type": "string"
            },
            "env": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "script": {
              "minLength": 1,
              "type": "string"
            }
          },
          "type": "object"
        },
        "status": {
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "events",
        "run"
      ],
      "title": "Adaptive Hook Unit",
      "type": "object"
    },
    "agent-frontmatter": {
      "additionalProperties": false,
      "properties": {
        "claude": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "additionalProperties": true,
              "properties": {
                "skills": {
                  "items": {
                    "anyOf": [
                      {
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "native": {
                            "pattern": "^(?!.*[\\u0000-\\u001F\\u007F-\\u009F\\u2028\\u2029])\\S(?:.*\\S)?$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "native"
                        ],
                        "type": "object"
                      }
                    ]
                  },
                  "type": "array"
                }
              },
              "type": "object"
            }
          ]
        },
        "codex": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "additionalProperties": true,
              "properties": {
                "skills": {
                  "items": {
                    "anyOf": [
                      {
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "native": {
                            "pattern": "^(?!.*[\\u0000-\\u001F\\u007F-\\u009F\\u2028\\u2029])\\S(?:.*\\S)?$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "native"
                        ],
                        "type": "object"
                      }
                    ]
                  },
                  "type": "array"
                }
              },
              "type": "object"
            }
          ]
        },
        "cursor": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "additionalProperties": true,
              "properties": {
                "skills": {
                  "items": {
                    "anyOf": [
                      {
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "native": {
                            "pattern": "^(?!.*[\\u0000-\\u001F\\u007F-\\u009F\\u2028\\u2029])\\S(?:.*\\S)?$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "native"
                        ],
                        "type": "object"
                      }
                    ]
                  },
                  "type": "array"
                }
              },
              "type": "object"
            }
          ]
        },
        "description": {
          "minLength": 1,
          "type": "string"
        },
        "hooks": {
          "additionalProperties": {
            "items": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "hook": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "match": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "object"
                        }
                      ]
                    },
                    "providers": {
                      "items": {
                        "enum": [
                          "claude",
                          "codex",
                          "cursor"
                        ],
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    },
                    "status": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              ]
            },
            "type": "array"
          },
          "properties": {
            "auto": {
              "items": {
                "anyOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "hook": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "match": {
                        "anyOf": [
                          {
                            "minLength": 1,
                            "type": "string"
                          },
                          {
                            "type": "object"
                          }
                        ]
                      },
                      "providers": {
                        "items": {
                          "enum": [
                            "claude",
                            "codex",
                            "cursor"
                          ],
                          "type": "string"
                        },
                        "minItems": 1,
                        "type": "array",
                        "uniqueItems": true
                      },
                      "status": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "initialPrompt": {
          "minLength": 1,
          "type": "string"
        },
        "metadata": {
          "additionalProperties": true,
          "type": "object"
        },
        "model": {
          "minLength": 1,
          "type": "string"
        },
        "name": {
          "minLength": 1,
          "type": "string"
        },
        "skills": {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "type": "array"
        },
        "skillset": {
          "additionalProperties": false,
          "properties": {
            "author": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "additionalProperties": true,
                  "properties": {
                    "email": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "name": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "url": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": "object"
                }
              ]
            },
            "category": {
              "type": "string"
            },
            "description": {
              "minLength": 1,
              "type": "string"
            },
            "homepage": {
              "type": "string"
            },
            "keywords": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "license": {
              "enum": [
                "Apache-2.0",
                "BSD-2-Clause",
                "BSD-3-Clause",
                "ISC",
                "MIT",
                "MPL-2.0",
                "none"
              ],
              "type": "string"
            },
            "listing": {
              "additionalProperties": false,
              "properties": {
                "capabilities": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "category": {
                  "minLength": 1,
                  "type": "string"
                },
                "color": {
                  "minLength": 1,
                  "type": "string"
                },
                "composer_icon": {
                  "minLength": 1,
                  "type": "string"
                },
                "default_prompt": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "description": {
                  "minLength": 1,
                  "type": "string"
                },
                "display_name": {
                  "minLength": 1,
                  "type": "string"
                },
                "keywords": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "logo": {
                  "minLength": 1,
                  "type": "string"
                },
                "logo_dark": {
                  "minLength": 1,
                  "type": "string"
                },
                "privacy_policy_url": {
                  "minLength": 1,
                  "type": "string"
                },
                "screenshots": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "summary": {
                  "minLength": 1,
                  "type": "string"
                },
                "terms_of_service_url": {
                  "minLength": 1,
                  "type": "string"
                },
                "website_url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "manifest": {
              "additionalProperties": true,
              "properties": {
                "category": {
                  "minLength": 1,
                  "type": "string"
                },
                "displayName": {
                  "minLength": 1,
                  "type": "string"
                },
                "logo": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "tags": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "marketplace": {
              "type": "object"
            },
            "name": {
              "minLength": 1,
              "type": "string"
            },
            "origin": {
              "additionalProperties": false,
              "dependentRequired": {
                "ref": [
                  "repo"
                ],
                "repo": [
                  "ref"
                ]
              },
              "properties": {
                "path": {
                  "minLength": 1,
                  "type": "string"
                },
                "ref": {
                  "minLength": 1,
                  "type": "string"
                },
                "repo": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "path"
              ],
              "type": "object"
            },
            "outputs": {
              "additionalProperties": true,
              "properties": {
                "skills": {
                  "additionalProperties": true,
                  "allOf": [
                    {
                      "not": {
                        "required": [
                          "claude"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "codex"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "cursor"
                        ]
                      }
                    }
                  ],
                  "type": "object"
                }
              },
              "type": "object"
            },
            "owner": {
              "additionalProperties": true,
              "properties": {
                "email": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": "object"
            },
            "preprocess": {
              "type": "boolean"
            },
            "presentation": {
              "type": "object"
            },
            "repository": {
              "type": "string"
            },
            "schema": {
              "const": 1,
              "type": "integer"
            },
            "strict": {
              "type": "boolean"
            },
            "summary": {
              "minLength": 1,
              "type": "string"
            },
            "title": {
              "minLength": 1,
              "type": "string"
            },
            "version": {
              "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
              "type": "string"
            }
          },
          "type": "object"
        },
        "supports": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "onMismatch": {
                        "enum": [
                          "error",
                          "warn"
                        ],
                        "type": "string"
                      },
                      "range": {
                        "type": "string"
                      },
                      "source": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            },
            {
              "additionalProperties": false,
              "properties": {
                "packages": {
                  "items": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "onMismatch": {
                            "enum": [
                              "error",
                              "warn"
                            ],
                            "type": "string"
                          },
                          "range": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      }
                    ]
                  },
                  "type": "array"
                }
              },
              "required": [
                "packages"
              ],
              "type": "object"
            }
          ]
        }
      },
      "required": [
        "description"
      ],
      "title": "Agent Frontmatter",
      "type": "object"
    },
    "change-entry": {
      "additionalProperties": true,
      "anyOf": [
        {
          "required": [
            "scope"
          ]
        },
        {
          "required": [
            "scopes"
          ]
        }
      ],
      "properties": {
        "bump": {
          "enum": [
            "major",
            "minor",
            "none",
            "patch"
          ],
          "type": "string"
        },
        "evidence": {
          "anyOf": [
            {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "currentHash": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "hash": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "scope": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "sourceHash": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            {
              "additionalProperties": {
                "anyOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "additionalProperties": true,
                    "properties": {
                      "currentHash": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "hash": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "scope": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "sourceHash": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "properties": {
                "currentHash": {
                  "minLength": 1,
                  "type": "string"
                },
                "hash": {
                  "minLength": 1,
                  "type": "string"
                },
                "sourceHash": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            }
          ]
        },
        "external": {
          "description": "Unsupported legacy issue metadata; use group instead.",
          "type": [
            "array",
            "object",
            "string"
          ]
        },
        "group": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "minLength": 1,
                  "type": "string"
                },
                "provider": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "id"
              ],
              "type": "object"
            }
          ]
        },
        "id": {
          "pattern": "^[0-9a-f]{12}$",
          "type": "string"
        },
        "ignored": {
          "type": "boolean"
        },
        "scope": {
          "minLength": 1,
          "type": "string"
        },
        "scopes": {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "bump"
      ],
      "title": "Change Entry",
      "type": "object"
    },
    "hook": {
      "additionalProperties": {
        "items": {
          "additionalProperties": true,
          "properties": {
            "hooks": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "agent": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "async": {
                    "type": "boolean"
                  },
                  "command": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "prompt": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "statusMessage": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "timeout": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "type": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "type"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "matcher": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "object"
                }
              ]
            },
            "statusMessage": {
              "minLength": 1,
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": "array"
      },
      "properties": {
        "hooks": {
          "additionalProperties": {
            "items": {
              "additionalProperties": true,
              "properties": {
                "hooks": {
                  "items": {
                    "additionalProperties": true,
                    "properties": {
                      "agent": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "async": {
                        "type": "boolean"
                      },
                      "command": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "prompt": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "statusMessage": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "timeout": {
                        "minimum": 0,
                        "type": "integer"
                      },
                      "type": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "type"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "matcher": {
                  "anyOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "object"
                    }
                  ]
                },
                "statusMessage": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "type": "object"
        }
      },
      "title": "Hook Definition",
      "type": "object"
    },
    "plugin-config": {
      "additionalProperties": false,
      "properties": {
        "bin": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "object"
            }
          ]
        },
        "changes": {
          "type": "object"
        },
        "claude": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "additionalProperties": true,
              "properties": {
                "bundle": {
                  "additionalProperties": false,
                  "properties": {
                    "path": {
                      "description": "Exact workspace-relative root for this plugin's complete Claude bundle, without leading or trailing whitespace.",
                      "pattern": "^(?!\\s)(?![\\s\\S]*\\s$)(?!/)(?![A-Za-z]:)(?!.*\\\\)(?!.*//)(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*(?:^|/)\\.(?:/|$))[^/]+(?:/[^/]+)*$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "path"
                  ],
                  "type": "object"
                },
                "skills": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "additionalProperties": true,
                      "not": {
                        "required": [
                          "path"
                        ]
                      },
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "include": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              },
              "type": "object"
            }
          ]
        },
        "codex": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "additionalProperties": true,
              "not": {
                "required": [
                  "bundle"
                ]
              },
              "properties": {
                "skills": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "additionalProperties": true,
                      "not": {
                        "required": [
                          "path"
                        ]
                      },
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "include": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              },
              "type": "object"
            }
          ]
        },
        "cursor": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "additionalProperties": true,
              "not": {
                "required": [
                  "bundle"
                ]
              },
              "properties": {
                "skills": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "additionalProperties": true,
                      "not": {
                        "required": [
                          "path"
                        ]
                      },
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "include": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              },
              "type": "object"
            }
          ]
        },
        "defaults": {
          "type": "object"
        },
        "dependencies": {
          "additionalProperties": false,
          "properties": {
            "plugins": {
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "marketplace": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "plugin": {
                        "type": "string"
                      },
                      "range": {
                        "type": "string"
                      },
                      "unversioned": {
                        "type": "boolean"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "drafts": {
          "items": {
            "minLength": 1,
            "pattern": "^skill:[a-z0-9][a-z0-9._-]*$",
            "type": "string"
          },
          "type": "array",
          "uniqueItems": true
        },
        "hooks": {
          "additionalProperties": {
            "items": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "hook": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "match": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "object"
                        }
                      ]
                    },
                    "providers": {
                      "items": {
                        "enum": [
                          "claude",
                          "codex",
                          "cursor"
                        ],
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    },
                    "status": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              ]
            },
            "type": "array"
          },
          "properties": {
            "auto": {
              "items": {
                "anyOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "hook": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "match": {
                        "anyOf": [
                          {
                            "minLength": 1,
                            "type": "string"
                          },
                          {
                            "type": "object"
                          }
                        ]
                      },
                      "providers": {
                        "items": {
                          "enum": [
                            "claude",
                            "codex",
                            "cursor"
                          ],
                          "type": "string"
                        },
                        "minItems": 1,
                        "type": "array",
                        "uniqueItems": true
                      },
                      "status": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "mcp": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "object"
            }
          ]
        },
        "skillset": {
          "additionalProperties": false,
          "properties": {
            "author": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "additionalProperties": true,
                  "properties": {
                    "email": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "name": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "url": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": "object"
                }
              ]
            },
            "category": {
              "type": "string"
            },
            "description": {
              "minLength": 1,
              "type": "string"
            },
            "homepage": {
              "type": "string"
            },
            "keywords": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "license": {
              "enum": [
                "Apache-2.0",
                "BSD-2-Clause",
                "BSD-3-Clause",
                "ISC",
                "MIT",
                "MPL-2.0",
                "none"
              ],
              "type": "string"
            },
            "listing": {
              "additionalProperties": false,
              "properties": {
                "capabilities": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "category": {
                  "minLength": 1,
                  "type": "string"
                },
                "color": {
                  "minLength": 1,
                  "type": "string"
                },
                "composer_icon": {
                  "minLength": 1,
                  "type": "string"
                },
                "default_prompt": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "description": {
                  "minLength": 1,
                  "type": "string"
                },
                "display_name": {
                  "minLength": 1,
                  "type": "string"
                },
                "keywords": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "logo": {
                  "minLength": 1,
                  "type": "string"
                },
                "logo_dark": {
                  "minLength": 1,
                  "type": "string"
                },
                "privacy_policy_url": {
                  "minLength": 1,
                  "type": "string"
                },
                "screenshots": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "summary": {
                  "minLength": 1,
                  "type": "string"
                },
                "terms_of_service_url": {
                  "minLength": 1,
                  "type": "string"
                },
                "website_url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "manifest": {
              "additionalProperties": true,
              "properties": {
                "category": {
                  "minLength": 1,
                  "type": "string"
                },
                "displayName": {
                  "minLength": 1,
                  "type": "string"
                },
                "logo": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "tags": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "marketplace": {
              "type": "object"
            },
            "name": {
              "minLength": 1,
              "type": "string"
            },
            "origin": {
              "additionalProperties": false,
              "dependentRequired": {
                "ref": [
                  "repo"
                ],
                "repo": [
                  "ref"
                ]
              },
              "properties": {
                "path": {
                  "minLength": 1,
                  "type": "string"
                },
                "ref": {
                  "minLength": 1,
                  "type": "string"
                },
                "repo": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "path"
              ],
              "type": "object"
            },
            "outputs": {
              "additionalProperties": true,
              "properties": {
                "skills": {
                  "additionalProperties": true,
                  "allOf": [
                    {
                      "not": {
                        "required": [
                          "claude"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "codex"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "cursor"
                        ]
                      }
                    }
                  ],
                  "type": "object"
                }
              },
              "type": "object"
            },
            "owner": {
              "additionalProperties": true,
              "properties": {
                "email": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": "object"
            },
            "preprocess": {
              "type": "boolean"
            },
            "presentation": {
              "type": "object"
            },
            "repository": {
              "type": "string"
            },
            "schema": {
              "const": 1,
              "type": "integer"
            },
            "strict": {
              "type": "boolean"
            },
            "summary": {
              "minLength": 1,
              "type": "string"
            },
            "title": {
              "minLength": 1,
              "type": "string"
            },
            "version": {
              "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
              "type": "string"
            }
          },
          "type": "object"
        },
        "supports": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "onMismatch": {
                        "enum": [
                          "error",
                          "warn"
                        ],
                        "type": "string"
                      },
                      "range": {
                        "type": "string"
                      },
                      "source": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            },
            {
              "additionalProperties": false,
              "properties": {
                "packages": {
                  "items": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "onMismatch": {
                            "enum": [
                              "error",
                              "warn"
                            ],
                            "type": "string"
                          },
                          "range": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      }
                    ]
                  },
                  "type": "array"
                }
              },
              "required": [
                "packages"
              ],
              "type": "object"
            }
          ]
        }
      },
      "title": "Plugin Config",
      "type": "object"
    },
    "rule-frontmatter": {
      "additionalProperties": true,
      "properties": {
        "claude": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "object"
            }
          ]
        },
        "codex": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "not": {
                "properties": {
                  "mode": {
                    "const": "symlink"
                  }
                },
                "required": [
                  "mode"
                ]
              },
              "type": "object"
            }
          ]
        },
        "cursor": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "object"
            }
          ]
        },
        "description": {
          "minLength": 1,
          "type": "string"
        },
        "dialect": {
          "enum": [
            "claude"
          ],
          "type": "string"
        },
        "metadata": {
          "additionalProperties": true,
          "type": "object"
        },
        "name": {
          "minLength": 1,
          "type": "string"
        },
        "paths": {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "type": "array"
        },
        "skillset": {
          "additionalProperties": false,
          "properties": {
            "author": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "additionalProperties": true,
                  "properties": {
                    "email": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "name": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "url": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": "object"
                }
              ]
            },
            "category": {
              "type": "string"
            },
            "description": {
              "minLength": 1,
              "type": "string"
            },
            "homepage": {
              "type": "string"
            },
            "keywords": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "license": {
              "enum": [
                "Apache-2.0",
                "BSD-2-Clause",
                "BSD-3-Clause",
                "ISC",
                "MIT",
                "MPL-2.0",
                "none"
              ],
              "type": "string"
            },
            "listing": {
              "additionalProperties": false,
              "properties": {
                "capabilities": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "category": {
                  "minLength": 1,
                  "type": "string"
                },
                "color": {
                  "minLength": 1,
                  "type": "string"
                },
                "composer_icon": {
                  "minLength": 1,
                  "type": "string"
                },
                "default_prompt": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "description": {
                  "minLength": 1,
                  "type": "string"
                },
                "display_name": {
                  "minLength": 1,
                  "type": "string"
                },
                "keywords": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "logo": {
                  "minLength": 1,
                  "type": "string"
                },
                "logo_dark": {
                  "minLength": 1,
                  "type": "string"
                },
                "privacy_policy_url": {
                  "minLength": 1,
                  "type": "string"
                },
                "screenshots": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "summary": {
                  "minLength": 1,
                  "type": "string"
                },
                "terms_of_service_url": {
                  "minLength": 1,
                  "type": "string"
                },
                "website_url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "manifest": {
              "additionalProperties": true,
              "properties": {
                "category": {
                  "minLength": 1,
                  "type": "string"
                },
                "displayName": {
                  "minLength": 1,
                  "type": "string"
                },
                "logo": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "tags": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "marketplace": {
              "type": "object"
            },
            "name": {
              "minLength": 1,
              "type": "string"
            },
            "origin": {
              "additionalProperties": false,
              "dependentRequired": {
                "ref": [
                  "repo"
                ],
                "repo": [
                  "ref"
                ]
              },
              "properties": {
                "path": {
                  "minLength": 1,
                  "type": "string"
                },
                "ref": {
                  "minLength": 1,
                  "type": "string"
                },
                "repo": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "path"
              ],
              "type": "object"
            },
            "outputs": {
              "additionalProperties": true,
              "properties": {
                "skills": {
                  "additionalProperties": true,
                  "allOf": [
                    {
                      "not": {
                        "required": [
                          "claude"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "codex"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "cursor"
                        ]
                      }
                    }
                  ],
                  "type": "object"
                }
              },
              "type": "object"
            },
            "owner": {
              "additionalProperties": true,
              "properties": {
                "email": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": "object"
            },
            "preprocess": {
              "type": "boolean"
            },
            "presentation": {
              "type": "object"
            },
            "repository": {
              "type": "string"
            },
            "schema": {
              "const": 1,
              "type": "integer"
            },
            "strict": {
              "type": "boolean"
            },
            "summary": {
              "minLength": 1,
              "type": "string"
            },
            "title": {
              "minLength": 1,
              "type": "string"
            },
            "version": {
              "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
              "type": "string"
            }
          },
          "type": "object"
        },
        "summary": {
          "minLength": 1,
          "type": "string"
        },
        "supports": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "onMismatch": {
                        "enum": [
                          "error",
                          "warn"
                        ],
                        "type": "string"
                      },
                      "range": {
                        "type": "string"
                      },
                      "source": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            },
            {
              "additionalProperties": false,
              "properties": {
                "packages": {
                  "items": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "onMismatch": {
                            "enum": [
                              "error",
                              "warn"
                            ],
                            "type": "string"
                          },
                          "range": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      }
                    ]
                  },
                  "type": "array"
                }
              },
              "required": [
                "packages"
              ],
              "type": "object"
            }
          ]
        },
        "title": {
          "minLength": 1,
          "type": "string"
        },
        "version": {
          "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
          "type": "string"
        }
      },
      "title": "Rule Frontmatter",
      "type": "object"
    },
    "skill-eval": {
      "additionalProperties": false,
      "properties": {
        "evals": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "expectations": {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": "array"
              },
              "expected_output": {
                "minLength": 1,
                "type": "string"
              },
              "files": {
                "items": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": "array"
              },
              "id": {
                "type": "integer"
              },
              "prompt": {
                "minLength": 1,
                "type": "string"
              },
              "skillset": {
                "additionalProperties": false,
                "properties": {
                  "targets": {
                    "items": {
                      "enum": [
                        "claude",
                        "codex",
                        "cursor"
                      ],
                      "type": "string"
                    },
                    "minItems": 1,
                    "type": "array",
                    "uniqueItems": true
                  }
                },
                "type": "object"
              }
            },
            "required": [
              "id",
              "prompt",
              "expected_output"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "skill_name": {
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "skill_name",
        "evals"
      ],
      "title": "Skill Eval",
      "type": "object"
    },
    "skill-frontmatter": {
      "additionalProperties": true,
      "properties": {
        "allowed_tools": {
          "anyOf": [
            {
              "const": false
            },
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "minItems": 1,
              "type": "array"
            },
            {
              "additionalProperties": false,
              "properties": {
                "agents": {
                  "anyOf": [
                    {
                      "const": false
                    },
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array"
                    }
                  ]
                },
                "claude": {
                  "anyOf": [
                    {
                      "const": false
                    },
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array"
                    }
                  ]
                },
                "codex": {
                  "anyOf": [
                    {
                      "const": false
                    },
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array"
                    }
                  ]
                },
                "cursor": {
                  "anyOf": [
                    {
                      "const": false
                    },
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array"
                    }
                  ]
                }
              },
              "type": "object"
            }
          ]
        },
        "bin": {
          "anyOf": [
            {
              "const": false
            },
            {
              "type": "object"
            }
          ]
        },
        "claude": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "object"
            }
          ]
        },
        "codex": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "object"
            }
          ]
        },
        "compatibility": {
          "maxLength": 500,
          "minLength": 1,
          "type": "string"
        },
        "cursor": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "object"
            }
          ]
        },
        "dependencies": {
          "additionalProperties": false,
          "properties": {
            "plugins": {
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "marketplace": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "plugin": {
                        "type": "string"
                      },
                      "range": {
                        "type": "string"
                      },
                      "unversioned": {
                        "type": "boolean"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "description": {
          "minLength": 1,
          "type": "string"
        },
        "dialect": {
          "enum": [
            "claude"
          ],
          "type": "string"
        },
        "hooks": {
          "additionalProperties": {
            "items": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "hook": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "match": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "object"
                        }
                      ]
                    },
                    "providers": {
                      "items": {
                        "enum": [
                          "claude",
                          "codex",
                          "cursor"
                        ],
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    },
                    "status": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              ]
            },
            "type": "array"
          },
          "properties": {
            "auto": {
              "items": {
                "anyOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "hook": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "match": {
                        "anyOf": [
                          {
                            "minLength": 1,
                            "type": "string"
                          },
                          {
                            "type": "object"
                          }
                        ]
                      },
                      "providers": {
                        "items": {
                          "enum": [
                            "claude",
                            "codex",
                            "cursor"
                          ],
                          "type": "string"
                        },
                        "minItems": 1,
                        "type": "array",
                        "uniqueItems": true
                      },
                      "status": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "implicit_invocation": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "additionalProperties": false,
              "properties": {
                "claude": {
                  "type": "boolean"
                },
                "codex": {
                  "type": "boolean"
                },
                "cursor": {
                  "type": "boolean"
                }
              },
              "type": "object"
            }
          ]
        },
        "mcp": {
          "anyOf": [
            {
              "const": false
            },
            {
              "type": "object"
            }
          ]
        },
        "metadata": {
          "additionalProperties": true,
          "properties": {
            "skillset.schema": {
              "const": "1",
              "type": "string"
            },
            "version": {
              "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
              "type": "string"
            }
          },
          "type": "object"
        },
        "model": {
          "minLength": 1,
          "type": "string"
        },
        "name": {
          "minLength": 1,
          "type": "string"
        },
        "resources": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "from": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "to": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            },
            {
              "additionalProperties": {
                "anyOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "items": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "from": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "to": {
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      ]
                    },
                    "type": "array"
                  }
                ]
              },
              "type": "object"
            }
          ]
        },
        "schema": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "minimum": 1,
              "type": "integer"
            }
          ]
        },
        "skillset": {
          "additionalProperties": false,
          "properties": {
            "author": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "additionalProperties": true,
                  "properties": {
                    "email": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "name": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "url": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": "object"
                }
              ]
            },
            "category": {
              "type": "string"
            },
            "description": {
              "minLength": 1,
              "type": "string"
            },
            "homepage": {
              "type": "string"
            },
            "keywords": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "license": {
              "enum": [
                "Apache-2.0",
                "BSD-2-Clause",
                "BSD-3-Clause",
                "ISC",
                "MIT",
                "MPL-2.0",
                "none"
              ],
              "type": "string"
            },
            "listing": {
              "additionalProperties": false,
              "properties": {
                "capabilities": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "category": {
                  "minLength": 1,
                  "type": "string"
                },
                "color": {
                  "minLength": 1,
                  "type": "string"
                },
                "composer_icon": {
                  "minLength": 1,
                  "type": "string"
                },
                "default_prompt": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "description": {
                  "minLength": 1,
                  "type": "string"
                },
                "display_name": {
                  "minLength": 1,
                  "type": "string"
                },
                "keywords": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "logo": {
                  "minLength": 1,
                  "type": "string"
                },
                "logo_dark": {
                  "minLength": 1,
                  "type": "string"
                },
                "privacy_policy_url": {
                  "minLength": 1,
                  "type": "string"
                },
                "screenshots": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "summary": {
                  "minLength": 1,
                  "type": "string"
                },
                "terms_of_service_url": {
                  "minLength": 1,
                  "type": "string"
                },
                "website_url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "manifest": {
              "additionalProperties": true,
              "properties": {
                "category": {
                  "minLength": 1,
                  "type": "string"
                },
                "displayName": {
                  "minLength": 1,
                  "type": "string"
                },
                "logo": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "tags": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "marketplace": {
              "type": "object"
            },
            "name": {
              "minLength": 1,
              "type": "string"
            },
            "origin": {
              "additionalProperties": false,
              "dependentRequired": {
                "ref": [
                  "repo"
                ],
                "repo": [
                  "ref"
                ]
              },
              "properties": {
                "path": {
                  "minLength": 1,
                  "type": "string"
                },
                "ref": {
                  "minLength": 1,
                  "type": "string"
                },
                "repo": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "path"
              ],
              "type": "object"
            },
            "outputs": {
              "additionalProperties": true,
              "properties": {
                "skills": {
                  "additionalProperties": true,
                  "allOf": [
                    {
                      "not": {
                        "required": [
                          "claude"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "codex"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "cursor"
                        ]
                      }
                    }
                  ],
                  "type": "object"
                }
              },
              "type": "object"
            },
            "owner": {
              "additionalProperties": true,
              "properties": {
                "email": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": "object"
            },
            "preprocess": {
              "type": "boolean"
            },
            "presentation": {
              "type": "object"
            },
            "repository": {
              "type": "string"
            },
            "schema": {
              "const": 1,
              "type": "integer"
            },
            "strict": {
              "type": "boolean"
            },
            "summary": {
              "minLength": 1,
              "type": "string"
            },
            "title": {
              "minLength": 1,
              "type": "string"
            },
            "version": {
              "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
              "type": "string"
            }
          },
          "type": "object"
        },
        "summary": {
          "minLength": 1,
          "type": "string"
        },
        "supports": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "onMismatch": {
                        "enum": [
                          "error",
                          "warn"
                        ],
                        "type": "string"
                      },
                      "range": {
                        "type": "string"
                      },
                      "source": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            },
            {
              "additionalProperties": false,
              "properties": {
                "packages": {
                  "items": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "onMismatch": {
                            "enum": [
                              "error",
                              "warn"
                            ],
                            "type": "string"
                          },
                          "range": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      }
                    ]
                  },
                  "type": "array"
                }
              },
              "required": [
                "packages"
              ],
              "type": "object"
            }
          ]
        },
        "title": {
          "minLength": 1,
          "type": "string"
        },
        "tools": {
          "anyOf": [
            {
              "const": "readonly"
            },
            {
              "type": "object"
            }
          ]
        },
        "version": {
          "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
          "type": "string"
        }
      },
      "title": "Skill Frontmatter",
      "type": "object"
    },
    "source-metadata": {
      "additionalProperties": false,
      "properties": {
        "author": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "additionalProperties": true,
              "properties": {
                "email": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": "object"
            }
          ]
        },
        "category": {
          "type": "string"
        },
        "description": {
          "minLength": 1,
          "type": "string"
        },
        "homepage": {
          "type": "string"
        },
        "keywords": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "license": {
          "enum": [
            "Apache-2.0",
            "BSD-2-Clause",
            "BSD-3-Clause",
            "ISC",
            "MIT",
            "MPL-2.0",
            "none"
          ],
          "type": "string"
        },
        "listing": {
          "additionalProperties": false,
          "properties": {
            "capabilities": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "type": "array"
            },
            "category": {
              "minLength": 1,
              "type": "string"
            },
            "color": {
              "minLength": 1,
              "type": "string"
            },
            "composer_icon": {
              "minLength": 1,
              "type": "string"
            },
            "default_prompt": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "type": "array"
            },
            "description": {
              "minLength": 1,
              "type": "string"
            },
            "display_name": {
              "minLength": 1,
              "type": "string"
            },
            "keywords": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "type": "array"
            },
            "logo": {
              "minLength": 1,
              "type": "string"
            },
            "logo_dark": {
              "minLength": 1,
              "type": "string"
            },
            "privacy_policy_url": {
              "minLength": 1,
              "type": "string"
            },
            "screenshots": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "type": "array"
            },
            "summary": {
              "minLength": 1,
              "type": "string"
            },
            "terms_of_service_url": {
              "minLength": 1,
              "type": "string"
            },
            "website_url": {
              "minLength": 1,
              "type": "string"
            }
          },
          "type": "object"
        },
        "manifest": {
          "additionalProperties": true,
          "properties": {
            "category": {
              "minLength": 1,
              "type": "string"
            },
            "displayName": {
              "minLength": 1,
              "type": "string"
            },
            "logo": {
              "minLength": 1,
              "type": "string"
            },
            "name": {
              "minLength": 1,
              "type": "string"
            },
            "tags": {
              "items": {
                "minLength": 1,
                "type": "string"
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "marketplace": {
          "type": "object"
        },
        "name": {
          "minLength": 1,
          "type": "string"
        },
        "origin": {
          "additionalProperties": false,
          "dependentRequired": {
            "ref": [
              "repo"
            ],
            "repo": [
              "ref"
            ]
          },
          "properties": {
            "path": {
              "minLength": 1,
              "type": "string"
            },
            "ref": {
              "minLength": 1,
              "type": "string"
            },
            "repo": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "path"
          ],
          "type": "object"
        },
        "outputs": {
          "additionalProperties": true,
          "properties": {
            "skills": {
              "additionalProperties": true,
              "allOf": [
                {
                  "not": {
                    "required": [
                      "claude"
                    ]
                  }
                },
                {
                  "not": {
                    "required": [
                      "codex"
                    ]
                  }
                },
                {
                  "not": {
                    "required": [
                      "cursor"
                    ]
                  }
                }
              ],
              "type": "object"
            }
          },
          "type": "object"
        },
        "owner": {
          "additionalProperties": true,
          "properties": {
            "email": {
              "minLength": 1,
              "type": "string"
            },
            "name": {
              "minLength": 1,
              "type": "string"
            },
            "url": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "name"
          ],
          "type": "object"
        },
        "preprocess": {
          "type": "boolean"
        },
        "presentation": {
          "type": "object"
        },
        "repository": {
          "type": "string"
        },
        "schema": {
          "const": 1,
          "type": "integer"
        },
        "strict": {
          "type": "boolean"
        },
        "summary": {
          "minLength": 1,
          "type": "string"
        },
        "title": {
          "minLength": 1,
          "type": "string"
        },
        "version": {
          "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
          "type": "string"
        }
      },
      "title": "Source Metadata",
      "type": "object"
    },
    "test-declaration": {
      "additionalProperties": false,
      "properties": {
        "activation": {
          "items": {
            "additionalProperties": false,
            "allOf": [
              {
                "oneOf": [
                  {
                    "required": [
                      "prompt"
                    ]
                  },
                  {
                    "required": [
                      "promptFile"
                    ]
                  }
                ]
              }
            ],
            "properties": {
              "expect": {
                "additionalProperties": false,
                "oneOf": [
                  {
                    "required": [
                      "agent"
                    ]
                  },
                  {
                    "required": [
                      "plugin"
                    ]
                  },
                  {
                    "required": [
                      "skill"
                    ]
                  }
                ],
                "properties": {
                  "agent": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "plugin": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "skill": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "name": {
                "minLength": 1,
                "type": "string"
              },
              "prompt": {
                "minLength": 1,
                "type": "string"
              },
              "promptFile": {
                "minLength": 1,
                "type": "string"
              },
              "runtime": {
                "additionalProperties": false,
                "properties": {
                  "claims": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "capability": {
                          "enum": [
                            "app",
                            "mcp-server",
                            "plugin-dependency"
                          ],
                          "type": "string"
                        },
                        "subject": {
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "capability",
                        "subject"
                      ],
                      "type": "object"
                    },
                    "minItems": 1,
                    "type": "array"
                  },
                  "claude": {
                    "additionalProperties": false,
                    "properties": {
                      "settingSources": {
                        "enum": [
                          "isolated",
                          "local",
                          "project",
                          "user"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "settingSources"
                    ],
                    "type": "object"
                  },
                  "expect": {
                    "additionalProperties": false,
                    "anyOf": [
                      {
                        "required": [
                          "contains"
                        ]
                      },
                      {
                        "required": [
                          "notContains"
                        ]
                      }
                    ],
                    "properties": {
                      "contains": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "notContains": {
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "timeoutMs": {
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "expect"
                ],
                "type": "object"
              },
              "targets": {
                "items": {
                  "enum": [
                    "claude",
                    "codex",
                    "cursor"
                  ],
                  "type": "string"
                },
                "minItems": 1,
                "type": "array",
                "uniqueItems": true
              }
            },
            "required": [
              "expect"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "checks": {
          "additionalProperties": false,
          "anyOf": [
            {
              "required": [
                "files"
              ]
            },
            {
              "properties": {
                "pluginManifests": {
                  "const": true
                }
              },
              "required": [
                "pluginManifests"
              ]
            },
            {
              "properties": {
                "projection": {
                  "const": true
                }
              },
              "required": [
                "projection"
              ]
            }
          ],
          "properties": {
            "files": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "contains": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "path": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "path"
                ],
                "type": "object"
              },
              "minItems": 1,
              "type": "array"
            },
            "pluginManifests": {
              "type": "boolean"
            },
            "projection": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "select": {
          "additionalProperties": false,
          "minProperties": 1,
          "properties": {
            "agents": {
              "anyOf": [
                {
                  "const": true,
                  "type": "boolean"
                },
                {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "minItems": 1,
                  "type": "array",
                  "uniqueItems": true
                }
              ]
            },
            "plugins": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "const": true,
                      "type": "boolean"
                    },
                    {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    }
                  ]
                },
                {
                  "additionalProperties": false,
                  "minProperties": 1,
                  "properties": {
                    "include": {
                      "anyOf": [
                        {
                          "const": true,
                          "type": "boolean"
                        },
                        {
                          "items": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "minItems": 1,
                          "type": "array",
                          "uniqueItems": true
                        }
                      ]
                    },
                    "skills": {
                      "anyOf": [
                        {
                          "const": true,
                          "type": "boolean"
                        },
                        {
                          "items": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "minItems": 1,
                          "type": "array",
                          "uniqueItems": true
                        }
                      ]
                    }
                  },
                  "type": "object"
                }
              ]
            },
            "skills": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "const": true,
                      "type": "boolean"
                    },
                    {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    }
                  ]
                },
                {
                  "additionalProperties": false,
                  "minProperties": 1,
                  "properties": {
                    "plugin": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "const": true,
                              "type": "boolean"
                            },
                            {
                              "items": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "minItems": 1,
                              "type": "array",
                              "uniqueItems": true
                            }
                          ]
                        },
                        {
                          "additionalProperties": {
                            "anyOf": [
                              {
                                "const": true,
                                "type": "boolean"
                              },
                              {
                                "items": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "minItems": 1,
                                "type": "array",
                                "uniqueItems": true
                              }
                            ]
                          },
                          "minProperties": 1,
                          "type": "object"
                        }
                      ]
                    },
                    "primary": {
                      "anyOf": [
                        {
                          "const": true,
                          "type": "boolean"
                        },
                        {
                          "items": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "minItems": 1,
                          "type": "array",
                          "uniqueItems": true
                        }
                      ]
                    }
                  },
                  "type": "object"
                }
              ]
            }
          },
          "type": "object"
        },
        "targets": {
          "items": {
            "enum": [
              "claude",
              "codex",
              "cursor"
            ],
            "type": "string"
          },
          "minItems": 1,
          "type": "array",
          "uniqueItems": true
        }
      },
      "required": [
        "checks"
      ],
      "title": "Test Declaration",
      "type": "object"
    },
    "workspace-config": {
      "additionalProperties": false,
      "properties": {
        "changes": {
          "type": "object"
        },
        "claude": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "additionalProperties": true,
              "not": {
                "required": [
                  "bundle"
                ]
              },
              "properties": {
                "skills": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "additionalProperties": true,
                      "not": {
                        "required": [
                          "path"
                        ]
                      },
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "include": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              },
              "type": "object"
            }
          ]
        },
        "codex": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "additionalProperties": true,
              "not": {
                "required": [
                  "bundle"
                ]
              },
              "properties": {
                "skills": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "additionalProperties": true,
                      "not": {
                        "required": [
                          "path"
                        ]
                      },
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "include": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              },
              "type": "object"
            }
          ]
        },
        "compile": {
          "additionalProperties": false,
          "properties": {
            "build": {
              "enum": [
                "all",
                "updated"
              ],
              "type": "string"
            },
            "features": {
              "additionalProperties": false,
              "properties": {
                "promptArguments": {
                  "type": "boolean"
                }
              },
              "type": "object"
            },
            "instruction_front_page": {
              "enum": [
                "claude-dir",
                "repo-root"
              ],
              "type": "string"
            },
            "session_start_hook": {
              "enum": [
                "auto",
                "off",
                "on"
              ],
              "type": "string"
            },
            "skillset": {
              "additionalProperties": false,
              "properties": {
                "metadata": {
                  "type": "boolean"
                }
              },
              "type": "object"
            },
            "targets": {
              "items": {
                "enum": [
                  "claude",
                  "codex",
                  "cursor"
                ],
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "unsupportedDestination": {
              "enum": [
                "error",
                "warn",
                "skip",
                "force"
              ],
              "type": "string"
            }
          },
          "type": "object"
        },
        "cursor": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "additionalProperties": true,
              "not": {
                "required": [
                  "bundle"
                ]
              },
              "properties": {
                "skills": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    {
                      "additionalProperties": true,
                      "not": {
                        "required": [
                          "path"
                        ]
                      },
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "include": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              },
              "type": "object"
            }
          ]
        },
        "defaults": {
          "type": "object"
        },
        "dependencies": {
          "additionalProperties": false,
          "properties": {
            "plugins": {
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "marketplace": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "plugin": {
                        "type": "string"
                      },
                      "range": {
                        "type": "string"
                      },
                      "unversioned": {
                        "type": "boolean"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "distributions": {
          "type": "object"
        },
        "drafts": {
          "items": {
            "minLength": 1,
            "pattern": "^(?:skill:[a-z0-9][a-z0-9._-]*|plugin\\.[a-z0-9][a-z0-9-]*\\.skill:[a-z0-9][a-z0-9._-]*)$",
            "type": "string"
          },
          "type": "array",
          "uniqueItems": true
        },
        "internal_marker": {
          "type": "boolean"
        },
        "marketplaces": {
          "additionalProperties": {
            "additionalProperties": false,
            "properties": {
              "description": {
                "minLength": 1,
                "type": "string"
              },
              "plugins": {
                "items": {
                  "additionalProperties": false,
                  "allOf": [
                    {
                      "not": {
                        "required": [
                          "channel",
                          "ref"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "channel",
                          "sha"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "channel",
                          "version"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "ref",
                          "sha"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "ref",
                          "version"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "sha",
                          "version"
                        ]
                      }
                    }
                  ],
                  "properties": {
                    "channel": {
                      "const": "latest",
                      "type": "string"
                    },
                    "codex": {
                      "additionalProperties": false,
                      "properties": {
                        "author": {
                          "additionalProperties": false,
                          "properties": {
                            "email": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "name": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "url": {
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "required": [
                            "name"
                          ],
                          "type": "object"
                        },
                        "category": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "description": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "displayName": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "homepage": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "interface": {
                          "additionalProperties": false,
                          "properties": {
                            "brandColor": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "capabilities": {
                              "items": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "minItems": 1,
                              "type": "array"
                            },
                            "category": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "composerIcon": {
                              "pattern": "^\\./(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)[A-Za-z0-9._-]+(?:/[A-Za-z0-9._-]+)*$",
                              "type": "string"
                            },
                            "defaultPrompt": {
                              "items": {
                                "maxLength": 128,
                                "minLength": 1,
                                "type": "string"
                              },
                              "maxItems": 3,
                              "minItems": 1,
                              "type": "array"
                            },
                            "developerName": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "displayName": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "logo": {
                              "pattern": "^\\./(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)[A-Za-z0-9._-]+(?:/[A-Za-z0-9._-]+)*$",
                              "type": "string"
                            },
                            "logoDark": {
                              "pattern": "^\\./(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)[A-Za-z0-9._-]+(?:/[A-Za-z0-9._-]+)*$",
                              "type": "string"
                            },
                            "longDescription": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "privacyPolicyUrl": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "screenshots": {
                              "items": {
                                "pattern": "^\\./(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)[A-Za-z0-9._-]+(?:/[A-Za-z0-9._-]+)*$",
                                "type": "string"
                              },
                              "minItems": 1,
                              "type": "array"
                            },
                            "shortDescription": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "termsOfServiceUrl": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "websiteUrl": {
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "keywords": {
                          "items": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "minItems": 1,
                          "type": "array"
                        },
                        "policy": {
                          "additionalProperties": false,
                          "properties": {
                            "authentication": {
                              "enum": [
                                "ON_INSTALL",
                                "ON_USE"
                              ],
                              "type": "string"
                            },
                            "installation": {
                              "enum": [
                                "AVAILABLE",
                                "INSTALLED_BY_DEFAULT",
                                "NOT_AVAILABLE"
                              ],
                              "type": "string"
                            },
                            "products": {
                              "allOf": [
                                {
                                  "not": {
                                    "allOf": [
                                      {
                                        "contains": {
                                          "const": "atlas"
                                        }
                                      },
                                      {
                                        "contains": {
                                          "const": "ATLAS"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "not": {
                                    "allOf": [
                                      {
                                        "contains": {
                                          "const": "chatgpt"
                                        }
                                      },
                                      {
                                        "contains": {
                                          "const": "CHATGPT"
                                        }
                                      }
                                    ]
                                  }
                                },
                                {
                                  "not": {
                                    "allOf": [
                                      {
                                        "contains": {
                                          "const": "codex"
                                        }
                                      },
                                      {
                                        "contains": {
                                          "const": "CODEX"
                                        }
                                      }
                                    ]
                                  }
                                }
                              ],
                              "items": {
                                "enum": [
                                  "atlas",
                                  "chatgpt",
                                  "codex",
                                  "ATLAS",
                                  "CHATGPT",
                                  "CODEX"
                                ],
                                "type": "string"
                              },
                              "type": "array",
                              "uniqueItems": true
                            }
                          },
                          "type": "object"
                        },
                        "source": {
                          "oneOf": [
                            {
                              "pattern": "^\\./(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)[A-Za-z0-9._-]+(?:/[A-Za-z0-9._-]+)*$",
                              "type": "string"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "path": {
                                  "pattern": "^\\./(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)[A-Za-z0-9._-]+(?:/[A-Za-z0-9._-]+)*$",
                                  "type": "string"
                                },
                                "source": {
                                  "const": "local",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "path",
                                "source"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "path": {
                                  "pattern": "^\\./(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)[A-Za-z0-9._-]+(?:/[A-Za-z0-9._-]+)*$",
                                  "type": "string"
                                },
                                "ref": {
                                  "pattern": "^(?!.*(?:\\.\\.|//|@\\{|\\.lock$))[A-Za-z0-9][A-Za-z0-9._/-]*(?<![./])$",
                                  "type": "string"
                                },
                                "sha": {
                                  "pattern": "^[0-9a-f]{40}$",
                                  "type": "string"
                                },
                                "source": {
                                  "const": "url",
                                  "type": "string"
                                },
                                "url": {
                                  "pattern": "^(?:github:[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+(?:\\.git)?|[^:@/\\s]+@[^:\\s/]+:[^\\s]+|https://(?![^/]*@)[^\\s/?#]+/[^\\s?#]+|ssh://(?:[^:@\\s]+@)?[^\\s/?#]+/[^\\s?#]+|file:///[^\\s]+|/[^\\s]+)$",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "source",
                                "url"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "path": {
                                  "pattern": "^\\./(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*//)[A-Za-z0-9._-]+(?:/[A-Za-z0-9._-]+)*$",
                                  "type": "string"
                                },
                                "ref": {
                                  "pattern": "^(?!.*(?:\\.\\.|//|@\\{|\\.lock$))[A-Za-z0-9][A-Za-z0-9._/-]*(?<![./])$",
                                  "type": "string"
                                },
                                "sha": {
                                  "pattern": "^[0-9a-f]{40}$",
                                  "type": "string"
                                },
                                "source": {
                                  "const": "git-subdir",
                                  "type": "string"
                                },
                                "url": {
                                  "pattern": "^(?:github:[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+(?:\\.git)?|[^:@/\\s]+@[^:\\s/]+:[^\\s]+|https://(?![^/]*@)[^\\s/?#]+/[^\\s?#]+|ssh://(?:[^:@\\s]+@)?[^\\s/?#]+/[^\\s?#]+|file:///[^\\s]+|/[^\\s]+)$",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "path",
                                "source",
                                "url"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "package": {
                                  "pattern": "^(?:@[a-z0-9][a-z0-9._-]*/)?[a-z0-9][a-z0-9._-]*$",
                                  "type": "string"
                                },
                                "registry": {
                                  "pattern": "^https://(?![^/]*@)[^\\s/?#]+(?:/[^\\s?#]*)?$",
                                  "type": "string"
                                },
                                "source": {
                                  "const": "npm",
                                  "type": "string"
                                },
                                "version": {
                                  "pattern": "^(?!\\.?\\.?$)(?!\\s)(?!.*\\s$)[^/\\\\:]+$",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "package",
                                "source"
                              ],
                              "type": "object"
                            }
                          ]
                        },
                        "version": {
                          "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "id": {
                      "pattern": "^[a-z0-9][a-z0-9-]*$",
                      "type": "string"
                    },
                    "plugin": {
                      "pattern": "^[a-z0-9][a-z0-9-]*$",
                      "type": "string"
                    },
                    "ref": {
                      "pattern": "^(?!.*(?:\\.\\.|//|@\\{|\\.lock$))[A-Za-z0-9][A-Za-z0-9._/-]*(?<![./])$",
                      "type": "string"
                    },
                    "repo": {
                      "pattern": "^(?:github:[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+(?:\\.git)?|[^:@/\\s]+@[^:\\s/]+:[^\\s]+|https://(?![^/]*@)[^\\s/?#]+/[^\\s?#]+|ssh://(?:[^:@\\s]+@)?[^\\s/?#]+/[^\\s?#]+)$",
                      "type": "string"
                    },
                    "sha": {
                      "pattern": "^[0-9a-f]{40}$",
                      "type": "string"
                    },
                    "targets": {
                      "items": {
                        "enum": [
                          "claude",
                          "codex",
                          "cursor"
                        ],
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    },
                    "version": {
                      "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "plugin"
                  ],
                  "type": "object"
                },
                "minItems": 1,
                "type": "array"
              },
              "targets": {
                "items": {
                  "enum": [
                    "claude",
                    "codex",
                    "cursor"
                  ],
                  "type": "string"
                },
                "minItems": 1,
                "type": "array",
                "uniqueItems": true
              },
              "title": {
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "plugins"
            ],
            "type": "object"
          },
          "propertyNames": {
            "pattern": "^[a-z0-9][a-z0-9._-]*$"
          },
          "type": "object"
        },
        "plugins": {
          "additionalProperties": false,
          "properties": {
            "internal_use": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "drafts": {
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "items": {
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "type": "array",
                                "uniqueItems": true
                              }
                            ]
                          },
                          {
                            "enum": [
                              "only",
                              "override"
                            ],
                            "type": "string"
                          }
                        ]
                      },
                      "type": "object"
                    },
                    "plugins": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "items": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "type": "array",
                          "uniqueItems": true
                        }
                      ]
                    },
                    "skills": {
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "boolean"
                          },
                          {
                            "items": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "type": "array",
                            "uniqueItems": true
                          }
                        ]
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              ]
            },
            "output": {
              "anyOf": [
                {
                  "minLength": 1,
                  "pattern": "^(?:\\.|(?!/)(?![A-Za-z]:)(?!.*\\\\)(?!.*//)(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\{\\{)(?!.*\\$PROJECT_ROOT)(?!.*\\[name\\].*\\[name\\])[^/]+(?:/[^/]+)*/?)$",
                  "type": "string"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "claude": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "pattern": "^(?:\\.|(?!/)(?![A-Za-z]:)(?!.*\\\\)(?!.*//)(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\{\\{)(?!.*\\$PROJECT_ROOT)(?!.*\\[name\\].*\\[name\\])[^/]+(?:/[^/]+)*/?)$",
                          "type": "string"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "combine": {
                              "type": "boolean"
                            },
                            "name": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "path": {
                              "minLength": 1,
                              "pattern": "^(?:\\.|(?!/)(?![A-Za-z]:)(?!.*\\\\)(?!.*//)(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\{\\{)(?!.*\\$PROJECT_ROOT)(?!.*\\[name\\].*\\[name\\])[^/]+(?:/[^/]+)*/?)$",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      ]
                    },
                    "codex": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "pattern": "^(?:\\.|(?!/)(?![A-Za-z]:)(?!.*\\\\)(?!.*//)(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\{\\{)(?!.*\\$PROJECT_ROOT)(?!.*\\[name\\].*\\[name\\])[^/]+(?:/[^/]+)*/?)$",
                          "type": "string"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "combine": {
                              "type": "boolean"
                            },
                            "name": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "path": {
                              "minLength": 1,
                              "pattern": "^(?:\\.|(?!/)(?![A-Za-z]:)(?!.*\\\\)(?!.*//)(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\{\\{)(?!.*\\$PROJECT_ROOT)(?!.*\\[name\\].*\\[name\\])[^/]+(?:/[^/]+)*/?)$",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      ]
                    },
                    "cursor": {
                      "anyOf": [
                        {
                          "minLength": 1,
                          "pattern": "^(?:\\.|(?!/)(?![A-Za-z]:)(?!.*\\\\)(?!.*//)(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\{\\{)(?!.*\\$PROJECT_ROOT)(?!.*\\[name\\].*\\[name\\])[^/]+(?:/[^/]+)*/?)$",
                          "type": "string"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "combine": {
                              "type": "boolean"
                            },
                            "name": {
                              "minLength": 1,
                              "type": "string"
                            },
                            "path": {
                              "minLength": 1,
                              "pattern": "^(?:\\.|(?!/)(?![A-Za-z]:)(?!.*\\\\)(?!.*//)(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\{\\{)(?!.*\\$PROJECT_ROOT)(?!.*\\[name\\].*\\[name\\])[^/]+(?:/[^/]+)*/?)$",
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      ]
                    },
                    "path": {
                      "minLength": 1,
                      "pattern": "^(?:\\.|(?!/)(?![A-Za-z]:)(?!.*\\\\)(?!.*//)(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\{\\{)(?!.*\\$PROJECT_ROOT)(?!.*\\[name\\].*\\[name\\])[^/]+(?:/[^/]+)*/?)$",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              ]
            }
          },
          "type": "object"
        },
        "skillset": {
          "additionalProperties": false,
          "properties": {
            "author": {
              "anyOf": [
                {
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "additionalProperties": true,
                  "properties": {
                    "email": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "name": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "url": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": "object"
                }
              ]
            },
            "category": {
              "type": "string"
            },
            "description": {
              "minLength": 1,
              "type": "string"
            },
            "homepage": {
              "type": "string"
            },
            "keywords": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "license": {
              "enum": [
                "Apache-2.0",
                "BSD-2-Clause",
                "BSD-3-Clause",
                "ISC",
                "MIT",
                "MPL-2.0",
                "none"
              ],
              "type": "string"
            },
            "listing": {
              "additionalProperties": false,
              "properties": {
                "capabilities": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "category": {
                  "minLength": 1,
                  "type": "string"
                },
                "color": {
                  "minLength": 1,
                  "type": "string"
                },
                "composer_icon": {
                  "minLength": 1,
                  "type": "string"
                },
                "default_prompt": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "description": {
                  "minLength": 1,
                  "type": "string"
                },
                "display_name": {
                  "minLength": 1,
                  "type": "string"
                },
                "keywords": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "logo": {
                  "minLength": 1,
                  "type": "string"
                },
                "logo_dark": {
                  "minLength": 1,
                  "type": "string"
                },
                "privacy_policy_url": {
                  "minLength": 1,
                  "type": "string"
                },
                "screenshots": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                },
                "summary": {
                  "minLength": 1,
                  "type": "string"
                },
                "terms_of_service_url": {
                  "minLength": 1,
                  "type": "string"
                },
                "website_url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "manifest": {
              "additionalProperties": true,
              "properties": {
                "category": {
                  "minLength": 1,
                  "type": "string"
                },
                "displayName": {
                  "minLength": 1,
                  "type": "string"
                },
                "logo": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "tags": {
                  "items": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "marketplace": {
              "type": "object"
            },
            "name": {
              "minLength": 1,
              "type": "string"
            },
            "origin": {
              "additionalProperties": false,
              "dependentRequired": {
                "ref": [
                  "repo"
                ],
                "repo": [
                  "ref"
                ]
              },
              "properties": {
                "path": {
                  "minLength": 1,
                  "type": "string"
                },
                "ref": {
                  "minLength": 1,
                  "type": "string"
                },
                "repo": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "path"
              ],
              "type": "object"
            },
            "outputs": {
              "additionalProperties": true,
              "properties": {
                "skills": {
                  "additionalProperties": true,
                  "allOf": [
                    {
                      "not": {
                        "required": [
                          "claude"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "codex"
                        ]
                      }
                    },
                    {
                      "not": {
                        "required": [
                          "cursor"
                        ]
                      }
                    }
                  ],
                  "type": "object"
                }
              },
              "type": "object"
            },
            "owner": {
              "additionalProperties": true,
              "properties": {
                "email": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "url": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": "object"
            },
            "preprocess": {
              "type": "boolean"
            },
            "presentation": {
              "type": "object"
            },
            "repository": {
              "type": "string"
            },
            "schema": {
              "const": 1,
              "type": "integer"
            },
            "strict": {
              "type": "boolean"
            },
            "summary": {
              "minLength": 1,
              "type": "string"
            },
            "title": {
              "minLength": 1,
              "type": "string"
            },
            "version": {
              "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$",
              "type": "string"
            }
          },
          "type": "object"
        },
        "supports": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "onMismatch": {
                        "enum": [
                          "error",
                          "warn"
                        ],
                        "type": "string"
                      },
                      "range": {
                        "type": "string"
                      },
                      "source": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                ]
              },
              "type": "array"
            },
            {
              "additionalProperties": false,
              "properties": {
                "packages": {
                  "items": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "onMismatch": {
                            "enum": [
                              "error",
                              "warn"
                            ],
                            "type": "string"
                          },
                          "range": {
                            "type": "string"
                          },
                          "source": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      }
                    ]
                  },
                  "type": "array"
                }
              },
              "required": [
                "packages"
              ],
              "type": "object"
            }
          ]
        },
        "workspace": {
          "additionalProperties": false,
          "properties": {
            "cacheKey": {
              "maxLength": 160,
              "pattern": "^[a-z0-9][a-z0-9._-]*(?:--[a-z0-9][a-z0-9._-]*)*$",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "title": "Workspace Config",
      "type": "object"
    }
  },
  "$id": "https://raw.githubusercontent.com/outfitter-dev/skillset/main/docs/reference/schemas/0.1.0/skillset.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Combined Skillset source contract schema. Use the document-specific schemas for editor file associations.",
  "oneOf": [
    {
      "$ref": "#/$defs/workspace-config"
    },
    {
      "$ref": "#/$defs/source-metadata"
    },
    {
      "$ref": "#/$defs/skill-frontmatter"
    },
    {
      "$ref": "#/$defs/agent-frontmatter"
    },
    {
      "$ref": "#/$defs/rule-frontmatter"
    },
    {
      "$ref": "#/$defs/skill-eval"
    },
    {
      "$ref": "#/$defs/hook"
    },
    {
      "$ref": "#/$defs/adaptive-hook"
    },
    {
      "$ref": "#/$defs/change-entry"
    },
    {
      "$ref": "#/$defs/test-declaration"
    }
  ],
  "title": "Skillset Source Contracts"
}
