{
  "schemaVersion": "1.0",
  "item": {
    "slug": "harmonyos",
    "name": "harmonyOS developer",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/LouisEleven/harmonyos",
    "canonicalUrl": "https://clawhub.ai/LouisEleven/harmonyos",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/harmonyos",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=harmonyos",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "_meta.json",
      "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",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/harmonyos"
    },
    "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/harmonyos",
    "agentPageUrl": "https://openagent3.xyz/skills/harmonyos/agent",
    "manifestUrl": "https://openagent3.xyz/skills/harmonyos/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/harmonyos/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": "Core Rules",
        "body": "Use .equals() for string comparison, not ==\nHarmonyOS uses ArkTS/TypeScript\nUI built with ArkUI framework\nApp signing requires certificate configuration"
      },
      {
        "title": "Development Environment",
        "body": "IDE: DevEco Studio\nLanguage: ArkTS (TypeScript superset)\nSDK: HarmonyOS SDK\nAPI: HarmonyOS Next API"
      },
      {
        "title": "Components",
        "body": "// Basic component\n@Entry\n@Component\nstruct Index {\n  @State message: string = 'Hello World'\n\n  build() {\n    Column() {\n      Text(this.message)\n        .fontSize(50)\n        .fontWeight(FontWeight.Bold)\n    }\n    .alignItems(HorizontalAlign.Center)\n    .width('100%')\n    .height('100%')\n  }\n}"
      },
      {
        "title": "State Management",
        "body": "// @State - Component internal state\n@State count: number = 0\n\n// @Prop - Parent component prop\n@Prop message: string\n\n// @Link - Two-way binding\n@Link childCount: number\n\n// @Observed + @ObjectLink - Deep observation\n@Observed\nclass Person {\n  name: string = ''\n  age: number = 0\n}\n\n@ObjectLink person: Person"
      },
      {
        "title": "Lifecycle",
        "body": "// Component lifecycle\naboutToAppear() {}    // About to display\nonDidBuild() {}       // Build complete\naboutToDisappear() {} // About to destroy"
      },
      {
        "title": "Common Components",
        "body": "Text - Text display\nImage - Image display\nButton - Interactive button\nColumn/Row - Layout containers\nList - Scrollable list\nGrid - Grid layout\nStack - Stacked layout\nSwiper - Carousel\nTabContent - Tab pages"
      },
      {
        "title": "Layouts",
        "body": "// Linear layout\nColumn() { }  // Vertical\nRow() { }     // Horizontal\n\n// Flex layout\nFlex() { \n  direction: FlexDirection.Row \n}\n\n// Grid layout\nGrid() { \n  columnsTemplate: '1fr 1fr 1fr' \n}\n\n// Stack\nStack() { }"
      },
      {
        "title": "Routing",
        "body": "import router from '@ohos.router'\n\n// Navigate\nrouter.pushUrl('pages/Detail')\n\n// Go back\nrouter.back()\n\n// With params\nrouter.pushUrl({\n  url: 'pages/Detail',\n  params: { id: 123 }\n})\n\n// Get params\nconst params = router.getParams()"
      },
      {
        "title": "Network Requests",
        "body": "import http from '@ohos.net.http'\n\nlet httpRequest = http.createHttp()\nhttpRequest.request(\n  'https://api.example.com/data',\n  {\n    method: http.RequestMethod.GET,\n    header: { 'Content-Type': 'application/json' }\n  },\n  (err, data) => {\n    if (!err) {\n      console.log(JSON.stringify(data.result))\n    }\n  }\n)"
      },
      {
        "title": "Local Storage",
        "body": "import preferences from '@ohos.data.preferences'\n\n// Write\nlet preferences = await preferences.getPreferences(context, 'myPrefs')\nawait preferences.put('username', 'tom')\nawait preferences.flush()\n\n// Read\nlet value = await preferences.get('username', 'default')"
      },
      {
        "title": "Permissions",
        "body": "import abilityAccessCtrl from '@ohos.abilityAccessCtrl'\n\n// Declare in module.json5\n// \"requestPermissions\": [\n//   { \"name\": \"ohos.permission.INTERNET\" }\n// ]\n\n// Request at runtime\nlet atManager = abilityAccessCtrl.createAtManager()\natManager.requestPermissionsFromUser(context, ['ohos.permission.INTERNET'])"
      },
      {
        "title": "Common Permissions",
        "body": "ohos.permission.INTERNET - Network access\nohos.permission.GET_NETWORK_INFO - Network status\nohos.permission.CAMERA - Camera access\nohos.permission.WRITE_MEDIA - Media write\nohos.permission.READ_MEDIA - Media read"
      },
      {
        "title": "Build & Signing",
        "body": "DevEco Studio → Build → Build Hap\nConfigure signing in Project Structure → Signing Configs\nRequires .p12 certificate and .cer public key\nUse debug signing for development, release for production"
      },
      {
        "title": "Quick Reference",
        "body": "NeedSolutionState management@State, @Prop, @Link, @ObservedListsList + ListItemNetwork@ohos.net.httpStorage@ohos.data.preferencesRoutingrouter.pushUrl()ToastpromptAction.showToast()Dialogdialog.showDialog()"
      },
      {
        "title": "Learning Resources",
        "body": "Official: https://developer.harmonyos.com/\nAPI Docs: https://docs.openharmony.cn/\nSamples: https://gitee.com/openharmony/app_samples"
      }
    ],
    "body": "HarmonyOS Developer Skills\nCore Rules\nUse .equals() for string comparison, not ==\nHarmonyOS uses ArkTS/TypeScript\nUI built with ArkUI framework\nApp signing requires certificate configuration\nDevelopment Environment\nIDE: DevEco Studio\nLanguage: ArkTS (TypeScript superset)\nSDK: HarmonyOS SDK\nAPI: HarmonyOS Next API\nArkUI Basics\nComponents\n// Basic component\n@Entry\n@Component\nstruct Index {\n  @State message: string = 'Hello World'\n\n  build() {\n    Column() {\n      Text(this.message)\n        .fontSize(50)\n        .fontWeight(FontWeight.Bold)\n    }\n    .alignItems(HorizontalAlign.Center)\n    .width('100%')\n    .height('100%')\n  }\n}\n\nState Management\n// @State - Component internal state\n@State count: number = 0\n\n// @Prop - Parent component prop\n@Prop message: string\n\n// @Link - Two-way binding\n@Link childCount: number\n\n// @Observed + @ObjectLink - Deep observation\n@Observed\nclass Person {\n  name: string = ''\n  age: number = 0\n}\n\n@ObjectLink person: Person\n\nLifecycle\n// Component lifecycle\naboutToAppear() {}    // About to display\nonDidBuild() {}       // Build complete\naboutToDisappear() {} // About to destroy\n\nCommon Components\nText - Text display\nImage - Image display\nButton - Interactive button\nColumn/Row - Layout containers\nList - Scrollable list\nGrid - Grid layout\nStack - Stacked layout\nSwiper - Carousel\nTabContent - Tab pages\nLayouts\n// Linear layout\nColumn() { }  // Vertical\nRow() { }     // Horizontal\n\n// Flex layout\nFlex() { \n  direction: FlexDirection.Row \n}\n\n// Grid layout\nGrid() { \n  columnsTemplate: '1fr 1fr 1fr' \n}\n\n// Stack\nStack() { }\n\nRouting\nimport router from '@ohos.router'\n\n// Navigate\nrouter.pushUrl('pages/Detail')\n\n// Go back\nrouter.back()\n\n// With params\nrouter.pushUrl({\n  url: 'pages/Detail',\n  params: { id: 123 }\n})\n\n// Get params\nconst params = router.getParams()\n\nNetwork Requests\nimport http from '@ohos.net.http'\n\nlet httpRequest = http.createHttp()\nhttpRequest.request(\n  'https://api.example.com/data',\n  {\n    method: http.RequestMethod.GET,\n    header: { 'Content-Type': 'application/json' }\n  },\n  (err, data) => {\n    if (!err) {\n      console.log(JSON.stringify(data.result))\n    }\n  }\n)\n\nLocal Storage\nimport preferences from '@ohos.data.preferences'\n\n// Write\nlet preferences = await preferences.getPreferences(context, 'myPrefs')\nawait preferences.put('username', 'tom')\nawait preferences.flush()\n\n// Read\nlet value = await preferences.get('username', 'default')\n\nPermissions\nimport abilityAccessCtrl from '@ohos.abilityAccessCtrl'\n\n// Declare in module.json5\n// \"requestPermissions\": [\n//   { \"name\": \"ohos.permission.INTERNET\" }\n// ]\n\n// Request at runtime\nlet atManager = abilityAccessCtrl.createAtManager()\natManager.requestPermissionsFromUser(context, ['ohos.permission.INTERNET'])\n\nCommon Permissions\nohos.permission.INTERNET - Network access\nohos.permission.GET_NETWORK_INFO - Network status\nohos.permission.CAMERA - Camera access\nohos.permission.WRITE_MEDIA - Media write\nohos.permission.READ_MEDIA - Media read\nBuild & Signing\nDevEco Studio → Build → Build Hap\nConfigure signing in Project Structure → Signing Configs\nRequires .p12 certificate and .cer public key\nUse debug signing for development, release for production\nQuick Reference\nNeed\tSolution\nState management\t@State, @Prop, @Link, @Observed\nLists\tList + ListItem\nNetwork\t@ohos.net.http\nStorage\t@ohos.data.preferences\nRouting\trouter.pushUrl()\nToast\tpromptAction.showToast()\nDialog\tdialog.showDialog()\nLearning Resources\nOfficial: https://developer.harmonyos.com/\nAPI Docs: https://docs.openharmony.cn/\nSamples: https://gitee.com/openharmony/app_samples"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/LouisEleven/harmonyos",
    "publisherUrl": "https://clawhub.ai/LouisEleven/harmonyos",
    "owner": "LouisEleven",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/harmonyos",
    "downloadUrl": "https://openagent3.xyz/downloads/harmonyos",
    "agentUrl": "https://openagent3.xyz/skills/harmonyos/agent",
    "manifestUrl": "https://openagent3.xyz/skills/harmonyos/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/harmonyos/agent.md"
  }
}