{
  "name": "Uwear Agent Skills",
  "description": "Machine-readable entrypoint for AI coding agents using the Uwear API for fashion product photos, virtual try-on style images, edits, upscales, and videos.",
  "version": "2026-05-07",
  "last_updated": "2026-05-07",
  "canonical_url": "https://uwear.ai/skills",
  "primary_skill": {
    "name": "UWEAR.md",
    "url": "https://uwear.ai/UWEAR.md",
    "content_type": "text/markdown",
    "purpose": "Load as task context before building against the Uwear API."
  },
  "api": {
    "base_url": "https://api.uwear.ai",
    "auth_header": "Authorization: Bearer YOUR_API_KEY",
    "field_style": "snake_case",
    "create_generation": "POST /generation",
    "poll_generation": "GET /generation/{generation_id}",
    "polling_results_field": "generation_results",
    "webhook_results_field": "data.results",
    "asset_url_lifetime": "4 hours"
  },
  "resources": [
    {
      "name": "Agent skills hub",
      "url": "https://uwear.ai/skills",
      "content_type": "text/html"
    },
    {
      "name": "UWEAR.md",
      "url": "https://uwear.ai/UWEAR.md",
      "content_type": "text/markdown"
    },
    {
      "name": "llms.txt",
      "url": "https://uwear.ai/llms.txt",
      "content_type": "text/plain"
    },
    {
      "name": "Agent-ready API guide",
      "url": "https://uwear.ai/blog/ai-fashion-generation-api-for-agents",
      "content_type": "text/html"
    },
    {
      "name": "API documentation",
      "url": "https://platform.uwear.ai/api/introduction",
      "content_type": "text/html"
    }
  ],
  "agent_workflow": [
    "Fetch https://uwear.ai/UWEAR.md and load it as context.",
    "Keep Uwear API keys on the backend or in secrets, never in client code.",
    "Create or reuse clothing items and avatars before generation when needed.",
    "Submit one documented POST /generation job per garment, output, or creative variant.",
    "Use polling for local scripts and signed webhooks for production workflows.",
    "Download generated URLs within 4 hours and persist them to your own storage.",
    "Keep an external manifest mapping SKUs, clothing item IDs, generation IDs, result IDs, prompts, models, and final stored URLs."
  ],
  "guardrails": [
    "Use only routes documented in UWEAR.md unless the user provides another Uwear contract.",
    "Do not expose API keys in frontend code, screenshots, logs, prompts, or generated files.",
    "Do not assume generated asset URLs are permanent.",
    "Do not invent batch, Shopify, widget, private, admin, or mobile routes from assumptions.",
    "When unsure about rate limits or concurrency, build a conservative queue and ask the user to confirm account limits."
  ]
}
