{
  "schemaVersion": "1.0",
  "item": {
    "slug": "contract-diagram",
    "name": "contract diagram",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/nonlinear/contract-diagram",
    "canonicalUrl": "https://clawhub.ai/nonlinear/contract-diagram",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/contract-diagram",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=contract-diagram",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "github-markdown.css",
      "index.html",
      "marked.min.js",
      "mermaid.min.js",
      "serve.sh",
      "server.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/contract-diagram"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/contract-diagram",
    "agentPageUrl": "https://openagent3.xyz/skills/contract-diagram/agent",
    "manifestUrl": "https://openagent3.xyz/skills/contract-diagram/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/contract-diagram/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "SKILL contract diagram  ℹ️",
        "body": "%%{init: {'theme':'base','themeVariables':{\"primaryColor\":\"#4A90E2\",\"primaryTextColor\":\"#fff\",\"primaryBorderColor\":\"#2E5C8A\",\"lineColor\":\"#666\",\"secondaryColor\":\"#50E3C2\",\"tertiaryColor\":\"#FFD700\",\"edgeLabelBackground\":\"#666\"},'flowchart':{\"nodeSpacing\":50,\"rankSpacing\":50,\"padding\":15,\"curve\":\"basis\"}}}%%\nflowchart TD\n    TRIGGER[\"Trigger + contract\"]\n    CHECK_CONTRACT{\"Has contract?\"}\n    OPEN[\"Open contract\"]\n    CLARIFY[\"Clarify\"]\n    CHECK_DIAGRAM{\"Has diagram?\"}\n    CREATE[\"New 1️⃣\"]\n    CLAIM[\"Claimed 1️⃣\"]\n    ERROR[\"Error 2️⃣\"]\n    \n    DESIGN[\"Design phase\"]\n    SIGNOFF[\"Ready to approve\"]\n    DEVELOPMENT[\"Developing...\"]\n    BLOCKERS{\"Has blockers?\"}\n    TESTS{\"Pass checks? 3️⃣\"}\n    PUBLISH[\"Publish 3️⃣\"]\n    \n    TRIGGER --> CHECK_CONTRACT\n    CHECK_CONTRACT -->|Yes| OPEN\n    CHECK_CONTRACT -->|Yes but<br/>not editable| ERROR\n    CHECK_CONTRACT -->|No| CLARIFY\n    CLARIFY --> TRIGGER\n    \n    OPEN --> CHECK_DIAGRAM\n    CHECK_DIAGRAM -->|Yes, more<br/>than one| ERROR\n    CHECK_DIAGRAM -->|Yes, one| CLAIM\n    CHECK_DIAGRAM -->|No| CREATE\n    \n    CREATE --> DESIGN\n    CLAIM --> DESIGN\n    DESIGN --> SIGNOFF\n    SIGNOFF -->|Approved| DEVELOPMENT\n    DEVELOPMENT --> BLOCKERS\n    BLOCKERS -->|Yes| DESIGN\n    BLOCKERS -->|No| TESTS\n    TESTS -->|Yes| PUBLISH\n    TESTS -->|No| DESIGN\n    \n    classDef default fill:#e0e0e0,stroke:#666,color:#000\n    classDef approved fill:#FFF9C4,stroke:#F9A825,color:#000\n    classDef developed fill:#D5F5D5,stroke:#388E3C,color:#000\n    classDef blocker fill:#FFCDD2,stroke:#D32F2F,color:#000\n    classDef notes fill:#E3F2FD,stroke:#1976D2,color:#000\n    classDef outside fill:#D5F5D5,stroke:#388E3C,stroke-dasharray:5 5,color:#000\n    \n    class CHECK_DIAGRAM,CREATE,CLAIM,ERROR,SIGNOFF,DESIGN,DEVELOPMENT,BLOCKERS,CHECK_CONTRACT,OPEN,CLARIFY,TRIGGER developed\n    class PUBLISH,TESTS outside\n\n1️⃣ Wrapper auto-injects title + phase badge + CSS on first load and watches for change of phase on badge.\n\n2️⃣ More than one diagram confuses system. For now, only one per md in order to run.\n\n3️⃣ Checks and publication depend on what and where final product goes, so it's user discretion."
      },
      {
        "title": "Numbered Notes (1️⃣ 2️⃣ 3️⃣)",
        "body": "When to use:\n\nPre-execution (design phase):\n\nQuestions that need discussion\nTrade-offs that need decisions\nUnclear requirements\n\nDuring execution:\n\nErrors AI can't resolve alone\nPermission needed (destructive action, cost implications)\nAmbiguity in implementation\n\nFormat:\n\n### 1️⃣ [Component Name] - [Issue Title]\n**Question/Error:** ...\n**Context:** ...\n**Options:** A, B, C\n**Needed:** Decision / Permission / Help\n\nNotes without numbers = just explanations, turn yellow when approved."
      },
      {
        "title": "Localhost Trigger",
        "body": "Trigger: \"lets diagram [PATH]\"\n\nAssumes: File at PATH already has mermaid diagram.\n\nAction:\n\nStart localhost server (port 8080)\nOpen browser with diagram\n\nExample:\n\nUser: \"lets diagram epic-notes/webhook-contract.md\"\n\nAI executes:\n  cd ~/Documents/skills/contract-diagram/engine\n  ./serve.sh &\n  open \"http://localhost:8080/?md=../../epic-notes/webhook-contract.md\"\n\nHot reload enabled by default (2s interval)."
      }
    ],
    "body": "Legend\tDescription\n\n\tNot discussed yet\n\n\tAgreed by stakeholders\n\n\tNeeds discussion/failed implementation (always has notes)\n\n\tAgreed and implemented\n\n\tImplemented but developer made decisions (in notes)\n\n\t(dashed border) To be performed outside system\nSKILL contract diagram\nℹ️\n%%{init: {'theme':'base','themeVariables':{\"primaryColor\":\"#4A90E2\",\"primaryTextColor\":\"#fff\",\"primaryBorderColor\":\"#2E5C8A\",\"lineColor\":\"#666\",\"secondaryColor\":\"#50E3C2\",\"tertiaryColor\":\"#FFD700\",\"edgeLabelBackground\":\"#666\"},'flowchart':{\"nodeSpacing\":50,\"rankSpacing\":50,\"padding\":15,\"curve\":\"basis\"}}}%%\nflowchart TD\n    TRIGGER[\"Trigger + contract\"]\n    CHECK_CONTRACT{\"Has contract?\"}\n    OPEN[\"Open contract\"]\n    CLARIFY[\"Clarify\"]\n    CHECK_DIAGRAM{\"Has diagram?\"}\n    CREATE[\"New 1️⃣\"]\n    CLAIM[\"Claimed 1️⃣\"]\n    ERROR[\"Error 2️⃣\"]\n    \n    DESIGN[\"Design phase\"]\n    SIGNOFF[\"Ready to approve\"]\n    DEVELOPMENT[\"Developing...\"]\n    BLOCKERS{\"Has blockers?\"}\n    TESTS{\"Pass checks? 3️⃣\"}\n    PUBLISH[\"Publish 3️⃣\"]\n    \n    TRIGGER --> CHECK_CONTRACT\n    CHECK_CONTRACT -->|Yes| OPEN\n    CHECK_CONTRACT -->|Yes but<br/>not editable| ERROR\n    CHECK_CONTRACT -->|No| CLARIFY\n    CLARIFY --> TRIGGER\n    \n    OPEN --> CHECK_DIAGRAM\n    CHECK_DIAGRAM -->|Yes, more<br/>than one| ERROR\n    CHECK_DIAGRAM -->|Yes, one| CLAIM\n    CHECK_DIAGRAM -->|No| CREATE\n    \n    CREATE --> DESIGN\n    CLAIM --> DESIGN\n    DESIGN --> SIGNOFF\n    SIGNOFF -->|Approved| DEVELOPMENT\n    DEVELOPMENT --> BLOCKERS\n    BLOCKERS -->|Yes| DESIGN\n    BLOCKERS -->|No| TESTS\n    TESTS -->|Yes| PUBLISH\n    TESTS -->|No| DESIGN\n    \n    classDef default fill:#e0e0e0,stroke:#666,color:#000\n    classDef approved fill:#FFF9C4,stroke:#F9A825,color:#000\n    classDef developed fill:#D5F5D5,stroke:#388E3C,color:#000\n    classDef blocker fill:#FFCDD2,stroke:#D32F2F,color:#000\n    classDef notes fill:#E3F2FD,stroke:#1976D2,color:#000\n    classDef outside fill:#D5F5D5,stroke:#388E3C,stroke-dasharray:5 5,color:#000\n    \n    class CHECK_DIAGRAM,CREATE,CLAIM,ERROR,SIGNOFF,DESIGN,DEVELOPMENT,BLOCKERS,CHECK_CONTRACT,OPEN,CLARIFY,TRIGGER developed\n    class PUBLISH,TESTS outside\n\n\n1️⃣ Wrapper auto-injects title + phase badge + CSS on first load and watches for change of phase on badge.\n\n2️⃣ More than one diagram confuses system. For now, only one per md in order to run.\n\n3️⃣ Checks and publication depend on what and where final product goes, so it's user discretion.\n\nNumbered Notes (1️⃣ 2️⃣ 3️⃣)\n\nWhen to use:\n\nPre-execution (design phase):\n\nQuestions that need discussion\nTrade-offs that need decisions\nUnclear requirements\n\nDuring execution:\n\nErrors AI can't resolve alone\nPermission needed (destructive action, cost implications)\nAmbiguity in implementation\n\nFormat:\n\n### 1️⃣ [Component Name] - [Issue Title]\n**Question/Error:** ...\n**Context:** ...\n**Options:** A, B, C\n**Needed:** Decision / Permission / Help\n\n\nNotes without numbers = just explanations, turn yellow when approved.\n\nLocalhost Trigger\n\nTrigger: \"lets diagram [PATH]\"\n\nAssumes: File at PATH already has mermaid diagram.\n\nAction:\n\nStart localhost server (port 8080)\nOpen browser with diagram\n\nExample:\n\nUser: \"lets diagram epic-notes/webhook-contract.md\"\n\nAI executes:\n  cd ~/Documents/skills/contract-diagram/engine\n  ./serve.sh &\n  open \"http://localhost:8080/?md=../../epic-notes/webhook-contract.md\"\n\n\nHot reload enabled by default (2s interval)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/nonlinear/contract-diagram",
    "publisherUrl": "https://clawhub.ai/nonlinear/contract-diagram",
    "owner": "nonlinear",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/contract-diagram",
    "downloadUrl": "https://openagent3.xyz/downloads/contract-diagram",
    "agentUrl": "https://openagent3.xyz/skills/contract-diagram/agent",
    "manifestUrl": "https://openagent3.xyz/skills/contract-diagram/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/contract-diagram/agent.md"
  }
}