Skip to content

skill_auto_draft_output.json

Source: schemas/skill_auto_draft_output.json

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "SkillAutoDraftOutput",
  "type": "object",
  "required": ["skill_yaml", "step_prompts", "output_schemas", "fixtures"],
  "additionalProperties": false,
  "properties": {
    "skill_yaml": {
      "type": "string",
      "description": "Full skill.yaml backbone. Must be valid YAML parseable by the skill loader."
    },
    "step_prompts": {
      "type": "object",
      "additionalProperties": {"type": "string"},
      "description": "Markdown prompt body per step, keyed by step name."
    },
    "output_schemas": {
      "type": "object",
      "additionalProperties": {"type": "object"},
      "description": "JSON Schema per step, keyed by step name."
    },
    "fixtures": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": ["case_name", "input"],
        "properties": {
          "case_name": {"type": "string"},
          "input": {"type": "object"},
          "expected_output_shape": {"type": "object"}
        }
      }
    }
  }
}