aresbit/claude-skills/hm-fetch-skill

Claude Code and agent skill by aresbit/claude-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Fetch Huawei HarmonyOS developer document正文 by calling documentPortal getDocumentById API with slug objectId, convert HTML content to Markdown, and maintain local-first migration references. Use when scraping Huawei HarmonyOS docs that are SPA-rendered and not directly readable by generic web fetchers.

Install

npx vskill@latest install aresbit/claude-skills/hm-fetch-skill

SKILL.md

The same SKILL.md was published earlier as aresbit/claude-skills/hm-fetch-skill.

HM Fetch Skill

Fetch HarmonyOS docs through API first, then fallback to generic fetch.

API-First Rule

Use API route first for正文:

  • Endpoint: https://svc-drcn.developer.huawei.com/community/servlet/consumer/cn/documentPortal/getDocumentById
  • Request body: {"objectId":"<slug>","language":"cn"}
  • Important: objectId is the document slug, not docId.

Scripts

  • Single page by slug:
  • python3 scripts/fetch_huawei_doc_api.py --slug typescript-to-arkts-migration-guide --out /tmp/doc.md
  • Preset migration pages:
  • python3 scripts/fetch_huawei_doc_api.py --preset migration --out-dir references/huawei-migration
  • One-shot refresh (API first, fallback to fetch-skill):
  • bash scripts/fetch_huawei_migration_refs.sh

Local-First Workflow

  1. Refresh local cache by bash scripts/fetch_huawei_migration_refs.sh.
  2. Answer questions from references/huawei-migration/*.md.
  3. Only if local cache is insufficient, refetch specific slug by API script.

Outputs

  • references/huawei-migration/01-arkts-migration-background.md
  • references/huawei-migration/02-typescript-to-arkts-migration-guide.md
  • references/huawei-migration/03-arkts-more-cases.md

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/aresbit/claude-skills/hm-fetch-skill/badge)](https://verified-skill.com/skills/aresbit/claude-skills/hm-fetch-skill)

Something wrong with this skill or its page? Tell us.