{
  "schemaVersion": 1,
  "kind": "ui-atlas-api-index",
  "registryVersion": "1.0.0",
  "canonicalBaseUrl": "https://ui-atlas.pages.dev/",
  "counts": {
    "components": 306,
    "categories": 14,
    "recipes": 20,
    "targets": 7,
    "qualityRules": 35
  },
  "responsibilities": {
    "atlas": [
      "Resolve registered formal names, official variants, aliases, related UI names, and facets.",
      "Select deterministic screen recipes from normalized structured requirements.",
      "Return registered constraints, implementation snippets, and audit findings."
    ],
    "aiClient": [
      "Interpret free-form prose and normalize it into the documented design-request schema.",
      "Keep unresolved product decisions explicit instead of inventing component IDs.",
      "Run product-specific runtime, assistive-technology, device, and end-to-end verification."
    ]
  },
  "resources": {
    "registry": {
      "url": "https://ui-atlas.pages.dev/registry/ui-atlas.registry.json",
      "mediaType": "application/json",
      "description": "Complete component, recipe, token, target, and quality-rule registry."
    },
    "discovery": {
      "url": "https://ui-atlas.pages.dev/api/index.json",
      "mediaType": "application/json",
      "description": "This API discovery document."
    },
    "llms": {
      "url": "https://ui-atlas.pages.dev/llms.txt",
      "mediaType": "text/plain",
      "description": "Concise LLM-oriented resource index."
    },
    "designContract": {
      "url": "https://ui-atlas.pages.dev/docs/AI-DESIGN-ENGINE.md",
      "mediaType": "text/markdown",
      "description": "Structured request, screen-plan, quality, and responsibility contract."
    },
    "skill": {
      "url": "https://ui-atlas.pages.dev/skill/ui-atlas/SKILL.md",
      "mediaType": "text/markdown",
      "description": "External AI Skill workflow."
    },
    "searchEngine": {
      "url": "https://ui-atlas.pages.dev/shared/search-engine.js",
      "mediaType": "text/javascript",
      "description": "Browser/CommonJS deterministic search implementation."
    }
  },
  "interfaces": {
    "search": {
      "mode": "deterministic-term-search",
      "interpretation": "registered-terms-only",
      "fieldsInPriorityOrder": [
        "canonical",
        "official",
        "alias",
        "related",
        "facet"
      ],
      "normalization": [
        "NFKC",
        "case-folding",
        "multi-token-AND",
        "bounded-typo-correction"
      ],
      "returns": [
        "score",
        "field",
        "match",
        "matched-value",
        "query-token"
      ]
    },
    "cli": {
      "command": "npx ui-atlas",
      "commands": [
        "search",
        "show",
        "code",
        "recommend",
        "audit",
        "add",
        "init",
        "recipes",
        "stats",
        "mcp"
      ]
    },
    "mcp": {
      "transport": "stdio",
      "command": "npx ui-atlas mcp",
      "readOnly": true,
      "tools": [
        "ui_atlas_list_recipes",
        "ui_atlas_search",
        "ui_atlas_get_component",
        "ui_atlas_recommend_screen",
        "ui_atlas_generate_code",
        "ui_atlas_audit_plan"
      ]
    }
  }
}
