{
  "$schema": "../schema/patterns.schema.json",
  "version": "0.4.0",
  "patterns": [
    {
      "id": "app-shell",
      "name": "Application shell",
      "type": "layout",
      "description": "Responsive workspace frame with grouped navigation, utility settings, account footer, collapsible desktop sidebar, and mobile drawer.",
      "status": "authored",
      "dependencies": [],
      "tokens": [
        "color.surface.raised",
        "color.surface.canvas",
        "color.text.primary",
        "color.text.secondary",
        "color.border.default",
        "color.action.primary",
        "radius.card"
      ],
      "files": [
        "app-shell.js",
        "app-shell.css"
      ],
      "examples": [
        "mount('#app', { title: 'Studio' })"
      ],
      "installable": true
    },
    {
      "id": "clarification",
      "name": "Clarification",
      "type": "interaction",
      "description": "Ask the user to clarify ambiguous input or confirm intent.",
      "status": "documented",
      "dependencies": [
        "agent-questions",
        "dialog",
        "button"
      ],
      "tokens": [
        "color.text.primary",
        "color.border.default"
      ],
      "files": [],
      "examples": [
        "Present one focused question with the choices that resolve the ambiguity."
      ],
      "installable": false,
      "preview": "https://syntariui.giovanitier.com/system/?guide=ai-patterns"
    },
    {
      "id": "uncertainty",
      "name": "Uncertainty",
      "type": "interaction",
      "description": "Express uncertainty and confidence levels to the user.",
      "status": "documented",
      "dependencies": [
        "banner",
        "citations",
        "source-list",
        "tooltip"
      ],
      "tokens": [
        "color.text.secondary",
        "color.border.default"
      ],
      "files": [],
      "examples": [
        "State the confidence and explain what evidence would change the result."
      ],
      "installable": false,
      "preview": "https://syntariui.giovanitier.com/system/?guide=ai-patterns"
    },
    {
      "id": "delegation",
      "name": "Delegation",
      "type": "interaction",
      "description": "Hand off tasks to the AI or recommend expert involvement.",
      "status": "documented",
      "dependencies": [
        "agent-todo-list",
        "agent-activity",
        "tool-approval",
        "button"
      ],
      "tokens": [
        "color.action.primary",
        "color.text.primary"
      ],
      "files": [],
      "examples": [
        "Make the handoff owner and next action visible."
      ],
      "installable": false,
      "preview": "https://syntariui.giovanitier.com/system/?guide=ai-patterns"
    },
    {
      "id": "recovery",
      "name": "Recovery",
      "type": "interaction",
      "description": "Handle errors gracefully and offer corrective actions.",
      "status": "documented",
      "dependencies": [
        "error-and-retry",
        "banner",
        "button"
      ],
      "tokens": [
        "color.status.danger",
        "color.action.primary"
      ],
      "files": [],
      "examples": [
        "Explain what failed and offer a safe retry or undo."
      ],
      "installable": false,
      "preview": "https://syntariui.giovanitier.com/system/?guide=ai-patterns"
    },
    {
      "id": "memory",
      "name": "Memory",
      "type": "interaction",
      "description": "Maintain context and remember user interactions over time.",
      "status": "documented",
      "dependencies": [
        "card",
        "metadata-list",
        "button"
      ],
      "tokens": [
        "color.text.primary",
        "color.surface.raised"
      ],
      "files": [],
      "examples": [
        "Show remembered information and let the user edit or remove it."
      ],
      "installable": false,
      "preview": "https://syntariui.giovanitier.com/system/?guide=ai-patterns"
    },
    {
      "id": "generation",
      "name": "Generation",
      "type": "interaction",
      "description": "Create and suggest new content or solutions.",
      "status": "documented",
      "dependencies": [
        "streaming-response",
        "prompt-input",
        "button"
      ],
      "tokens": [
        "color.text.primary",
        "motion.duration.fast"
      ],
      "files": [],
      "examples": [
        "Separate the rendered result from the action that requested it."
      ],
      "installable": false,
      "preview": "https://syntariui.giovanitier.com/system/?guide=ai-patterns"
    },
    {
      "id": "release-review",
      "name": "Release review",
      "type": "composition",
      "description": "A report someone has to trust before they act on it.",
      "status": "authored",
      "dependencies": [
        "banner",
        "stat-row",
        "chart-bars",
        "comparison-table",
        "process-ledger"
      ],
      "tokens": [
        "color.surface.raised",
        "color.text.primary"
      ],
      "files": [],
      "examples": [
        "Show a release report with measures, comparisons, and evidence."
      ],
      "installable": false,
      "screenMode": "static",
      "keywords": [
        "release",
        "report",
        "audit",
        "evidence",
        "rollout",
        "deploy",
        "compare"
      ],
      "preview": "https://syntariui.giovanitier.com/renderer/"
    },
    {
      "id": "analytics-overview",
      "name": "Analytics overview",
      "type": "composition",
      "description": "The north-star screen: a report a product team opens every morning.",
      "status": "authored",
      "dependencies": [
        "filter-bar",
        "headline-metric",
        "metric-strip",
        "chart-toolbar",
        "area-chart",
        "source-list",
        "metadata-list"
      ],
      "tokens": [
        "color.surface.raised",
        "color.text.primary"
      ],
      "files": [],
      "examples": [
        "Build an analytics dashboard with metrics, filters, and a chart."
      ],
      "installable": false,
      "screenMode": "interactive",
      "keywords": [
        "dashboard",
        "analytics",
        "metrics",
        "traffic",
        "growth",
        "chart",
        "product",
        "filter"
      ],
      "preview": "https://syntariui.giovanitier.com/renderer/"
    },
    {
      "id": "approval-review",
      "name": "Approval review",
      "type": "composition",
      "description": "A consequential change needs a clear review before a person authorizes it.",
      "status": "authored",
      "dependencies": [
        "banner",
        "tool-approval",
        "metadata-list"
      ],
      "tokens": [
        "color.surface.raised",
        "color.text.primary"
      ],
      "files": [],
      "examples": [
        "Show a safe review screen before a production change."
      ],
      "installable": false,
      "screenMode": "approval",
      "keywords": [
        "approval",
        "approve",
        "migration",
        "permission",
        "consent",
        "production",
        "review"
      ],
      "preview": "https://syntariui.giovanitier.com/renderer/"
    }
  ]
}
