{
  "id": "wire.skill",
  "kind": "skill",
  "summary": "Agent-oriented SKILL.md for fast Wire diagram creation, editing, validation, rendering, styling, branching, grouping, and React embedding.",
  "useWhen": [
    "an LLM agent is operating inside this repository",
    "an agent needs compact guardrails before editing Wire JSON",
    "a workflow needs prompt-ready recipes without scraping human docs"
  ],
  "contracts": [
    "wire-diagram",
    "wire-action",
    "wire-agent-skill"
  ],
  "preferredPath": [
    "Read docs/llm/SKILL.md when available.",
    "Use /llm/wire-docs.shape.json or v1_get_docs_shape for structured retrieval.",
    "Use /llm/schema/wire-diagram.json before raw JSON generation.",
    "Use /llm/recipes/{id}.json for task-specific execution.",
    "Keep WireDiagram and WireAction as durable contracts."
  ],
  "avoid": [
    "Do not introduce V2, Next, Pro, alternate package names, or parallel public APIs.",
    "Do not make generic graph node/edge objects the app contract.",
    "Do not cite unrelated external inspiration as implementation guidance."
  ],
  "files": [
    "docs/llm/SKILL.md"
  ],
  "recipes": [
    "create-wire-diagram",
    "edit-with-wire-actions",
    "validate-and-repair",
    "render-for-review",
    "style-cards-and-edges",
    "branch-condition-flow",
    "group-nodes",
    "embed-react-viewer"
  ],
  "routes": [
    {
      "path": "/llm/skill.shape.json",
      "mediaType": "application/json",
      "purpose": "SKILL.md location, recipes, and guardrails."
    }
  ],
  "related": [
    "wire.agent",
    "wire.schema",
    "wire.validation",
    "wire.recipes"
  ]
}
