{
  "schemaVersion": "1.0",
  "item": {
    "slug": "coding-as-dressing",
    "name": "coding-as-dressing",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/joansongjr/coding-as-dressing",
    "canonicalUrl": "https://clawhub.ai/joansongjr/coding-as-dressing",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/coding-as-dressing",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=coding-as-dressing",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "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",
      "slug": "coding-as-dressing",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T19:37:00.589Z",
      "expiresAt": "2026-05-08T19:37:00.589Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=coding-as-dressing",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=coding-as-dressing",
        "contentDisposition": "attachment; filename=\"coding-as-dressing-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "coding-as-dressing"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/coding-as-dressing"
    },
    "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/coding-as-dressing",
    "agentPageUrl": "https://openagent3.xyz/skills/coding-as-dressing/agent",
    "manifestUrl": "https://openagent3.xyz/skills/coding-as-dressing/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/coding-as-dressing/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": "Coding as Dressing - 穿搭式代码解释",
        "body": "用普通人日常穿衣服的逻辑，帮小白理解代码结构和问题。"
      },
      {
        "title": "使用时机",
        "body": "用户选中代码并说「用穿搭/穿衣比喻解释」\n用户说「这段代码什么意思」「帮我用简单的话解释」\n用户提到 Coding as Dressing"
      },
      {
        "title": "解释风格",
        "body": "口语化：像聊天，不说「宛如」「恰似」\n精简：一句话说清楚，不堆砌\n日常：白T、牛仔裤、帆布鞋，不说礼服蕾丝\n可操作：指出能删、能并、要补的地方"
      },
      {
        "title": "基础概念",
        "body": "代码穿搭比喻变量可换的配饰：帽子、包、鞋，换一个就是新效果函数一件完整单品：上衣、裤子、外套，有固定作用循环同一件衣服反复穿，做同样的事条件 if/else看天气选穿啥：下雨穿外套，晴天穿短袖项目入口出门前的第一件：先穿上衣还是先穿裤子依赖/import衣服之间的搭配：这件上衣得配那条裤子"
      },
      {
        "title": "问题与修改",
        "body": "代码问题穿搭比喻建议冗余/重复函数衣柜里两件几乎一样的白T留一件就行死代码买来没穿过的衣服可以断舍离重复逻辑两条差不多款式的牛仔裤合并成一条缺失错误处理上衣有了，没配裤子补上依赖缺失穿了外套没穿内搭把缺的补上"
      },
      {
        "title": "输出格式",
        "body": "先给一句话总览：这段代码在干嘛\n按结构拆解：用穿搭比喻说清各部分\n有问题就指出：冗余、缺失、重复，用比喻说明+建议"
      },
      {
        "title": "示例",
        "body": "输入代码：\n\ndef get_user(id):\n    return users[id]\n\ndef fetch_user(id):\n    return users[id]\n\n输出（穿搭式）：\n\n这段代码在干一件事：根据 id 找人。但你有两件一样的白T——get_user 和 fetch_user 做的完全相同，相当于衣柜里两条一模一样的牛仔裤。留一个就行，删掉 fetch_user，以后统一用 get_user。\n\n输入代码：\n\nfor (let i = 0; i < 5; i++) {\n  console.log(\"Hello\");\n}\n\n输出（穿搭式）：\n\n这是一个同一件衣服穿五次——循环把同一件事重复做 5 遍，每次都输出 \"Hello\"。就像你这周连续五天穿同一件卫衣上班，每次出门都是同一套动作。\n\n输入代码：\n\nif weather == \"rain\":\n    wear(\"coat\")\nelse:\n    wear(\"tshirt\")\n\n输出（穿搭式）：\n\n这是看天气选穿啥——下雨穿外套，不下雨穿短袖。if/else 就是根据条件选不同的「单品」，二选一，每次只穿一套。"
      }
    ],
    "body": "Coding as Dressing - 穿搭式代码解释\n\n用普通人日常穿衣服的逻辑，帮小白理解代码结构和问题。\n\n使用时机\n用户选中代码并说「用穿搭/穿衣比喻解释」\n用户说「这段代码什么意思」「帮我用简单的话解释」\n用户提到 Coding as Dressing\n解释风格\n口语化：像聊天，不说「宛如」「恰似」\n精简：一句话说清楚，不堆砌\n日常：白T、牛仔裤、帆布鞋，不说礼服蕾丝\n可操作：指出能删、能并、要补的地方\n代码 ↔ 穿搭 映射表\n基础概念\n代码\t穿搭比喻\n变量\t可换的配饰：帽子、包、鞋，换一个就是新效果\n函数\t一件完整单品：上衣、裤子、外套，有固定作用\n循环\t同一件衣服反复穿，做同样的事\n条件 if/else\t看天气选穿啥：下雨穿外套，晴天穿短袖\n项目入口\t出门前的第一件：先穿上衣还是先穿裤子\n依赖/import\t衣服之间的搭配：这件上衣得配那条裤子\n问题与修改\n代码问题\t穿搭比喻\t建议\n冗余/重复函数\t衣柜里两件几乎一样的白T\t留一件就行\n死代码\t买来没穿过的衣服\t可以断舍离\n重复逻辑\t两条差不多款式的牛仔裤\t合并成一条\n缺失错误处理\t上衣有了，没配裤子\t补上\n依赖缺失\t穿了外套没穿内搭\t把缺的补上\n输出格式\n先给一句话总览：这段代码在干嘛\n按结构拆解：用穿搭比喻说清各部分\n有问题就指出：冗余、缺失、重复，用比喻说明+建议\n示例\n\n输入代码：\n\ndef get_user(id):\n    return users[id]\n\ndef fetch_user(id):\n    return users[id]\n\n\n输出（穿搭式）：\n\n这段代码在干一件事：根据 id 找人。但你有两件一样的白T——get_user 和 fetch_user 做的完全相同，相当于衣柜里两条一模一样的牛仔裤。留一个就行，删掉 fetch_user，以后统一用 get_user。\n\n输入代码：\n\nfor (let i = 0; i < 5; i++) {\n  console.log(\"Hello\");\n}\n\n\n输出（穿搭式）：\n\n这是一个同一件衣服穿五次——循环把同一件事重复做 5 遍，每次都输出 \"Hello\"。就像你这周连续五天穿同一件卫衣上班，每次出门都是同一套动作。\n\n输入代码：\n\nif weather == \"rain\":\n    wear(\"coat\")\nelse:\n    wear(\"tshirt\")\n\n\n输出（穿搭式）：\n\n这是看天气选穿啥——下雨穿外套，不下雨穿短袖。if/else 就是根据条件选不同的「单品」，二选一，每次只穿一套。"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/joansongjr/coding-as-dressing",
    "publisherUrl": "https://clawhub.ai/joansongjr/coding-as-dressing",
    "owner": "joansongjr",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/coding-as-dressing",
    "downloadUrl": "https://openagent3.xyz/downloads/coding-as-dressing",
    "agentUrl": "https://openagent3.xyz/skills/coding-as-dressing/agent",
    "manifestUrl": "https://openagent3.xyz/skills/coding-as-dressing/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/coding-as-dressing/agent.md"
  }
}