Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-skill-creator

БесплатноЗапускает вложенные скриптыНе проверен

1. Six-phase pipeline for creating Huawei Cloud skills — Socratic requirements gathering, CLI→SDK→API research, MD generation, test preparation, detailed…

huaweicloudskillот huaweicloudskill597 установок в других каталогах

Об этом скилле

Huawei Cloud Skill Creator v2

Six-Phase Strict Pipeline — Each phase depends on the previous phase's output and cannot be skipped. If any phase is missing, restart from the missing phase.


Overview

The Huawei Cloud Skill Creator v2 is based on a six-phase strict pipeline: starting with Socratic Q&A requirements analysis, followed by technical research (CLI→SDK→API three-level fallback), document generation, test preparation, detailed testing, resource cleanup and compliance check, ultimately generating a complete skill package that conforms to the Huawei Cloud Skill Specification. It only creates/packages skills — it does not directly operate cloud resources (no creating/deleting/modifying ECS, VPC, OBS, etc.); use it to generate a management Skill or use another dedicated management Skill for cloud-resource operations.

Dependency: Quality telemetry is collected automatically via skill-quality-cli (installed by scripts/ensure_cli.sh if absent).

Pre-check: Huawei Cloud Credentials Required

Mandatory gate. This pre-check MUST pass before invoking any hcloud / huaweicloudsdk command — including Phase 2 research, Phase 4/5 testing, and Phase 6 validation. If no valid credential profile is detected, STOP and obtain credentials out-of-band.

Security Rules

  • NEVER read, echo, or print AK/SK values (e.g., printing the value of an HUAWEI_ACCESS_KEY-style env var is FORBIDDEN).
  • NEVER read or cat the on-disk credential files for hcloud, obsutil, the SDK, or any other secret-storing location. Treat all such files as confidential.
  • NEVER ask the user to input AK/SK directly in the conversation or command line.
  • NEVER invoke hcloud configure set with literal credential strings passed via the CLI's cli- / cli- parameters or any equivalent in-band secret-entry form.
  • ONLY use hcloud configure list to check credential status — non-interactive, read-only, no secrets echoed.

Step 0: Ensure skill-quality-cli is installed

Before running any wrapped hcloud command in a fresh environment, run the idempotent installer first:

d="$(find . -maxdepth 6 -type d -name huawei-cloud-skill-creator -print -quit)"; SKILL_DIR="$(cd "${d:-.}" && pwd)"; bash "$SKILL_DIR/scripts/ensure_cli.sh"

ensure_cli.sh is non-blocking by design (warns and exits 0 even on failure), so verify it actually works; if the CLI is still missing, re-run the idempotent entry:

d="$(find . -maxdepth 6 -type d -name huawei-cloud-skill-creator -print -quit)"; SKILL_DIR="$(cd "${d:-.}" && pwd)"; command -v skill-quality-cli >/dev/null 2>&1 && skill-quality-cli version >/dev/null 2>&1 || bash "$SKILL_DIR/scripts/ensure_cli.sh"

Failure handling: if skill-quality-cli remains unavailable after ensure_cli.sh (network / checksum / platform), terminate the Pre-check — do not fall back to bare hcloud (the Mandatory wrapper below applies to every hcloud call; the bundled scripts/ensure_cli.sh is copied into created skills unchanged — do not hand-rewrite it).

Verification Steps

⚠️ Mandatory: every hcloud command in this skill MUST be wrapped with skill-quality-cli run --skill-name huawei-cloud-skill-creator -- — bare hcloud calls are strictly forbidden.

skill-quality-cli run --skill-name huawei-cloud-skill-creator -- hcloud configure list
skill-quality-cli run --skill-name huawei-cloud-skill-creator -- hcloud ECS ListFlavors --cli-region=cn-north-4 --help

Check the output for a valid profile (AK/SK, or temporary security credentials / agency-assumed role).

If no valid profile exists, STOP here.

  1. Obtain credentials from Huawei Cloud Console → 身份与访问管理 (IAM) → 我的凭证 → 新增访问密钥.

  2. Output the following copy-paste ready env-var setup block to the user (fill in real values outside of this session, never in chat). The Agent must NEVER ask the user to type the AK/SK value in the conversation — only emit the template below:

    # Set Huawei Cloud credentials using the standard HUAWEICLOUD_SDK_* names
    # (read by hcloud CLI and huaweicloudsdk). The secret key is entered silently.
    export HUAWEICLOUD_SDK_AK="<your-access-key-id>"
    read -rs HUAWEICLOUD_SDK_SK; export HUAWEICLOUD_SDK_SK
    export HUAWEICLOUD_SDK_REGION="cn-north-4"
    # 临时凭证(可选): export HUAWEICLOUD_SDK_SECURITY_TOKEN="<temporary-token>"
    

    Optional alternative (interactive out-of-band step only, never with literal values): run hcloud configure interactively in the user's terminal, then verify the result with hcloud configure list.

  3. After the user confirms they have configured env vars (or run hcloud configure), re-run skill-quality-cli run --skill-name huawei-cloud-skill-creator -- hcloud configure list. If the profile is valid → resume Phase 1. If still missing → terminate, do not proceed.

Reuse the active CLI profile for all subsequent hcloud and huaweicloudsdk calls. Do not print or hardcode

Полный SKILL.md на ClawHub

Установить huawei-cloud-skill-creator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-skill-creator?

1. Six-phase pipeline for creating Huawei Cloud skills — Socratic requirements gathering, CLI→SDK→API research, MD generation, test preparation, detailed testing, and final cleanup & compliance check 2. Phase-chained dependency: each phase builds on the previous phase's output, no phase may be skipped 3. Supports CLI, SDK, and REST API execution modes with automatic fallback detection 4. Generates complete skill directory structure with SKILL.md, references/, scripts/, templates/ 5. Validates against the Huawei Cloud Skill Specification (华为云Skill检查规范) Triggers include: "创建华为云Skill","新建华为云Skill","华为云skill创建器","创建 Skill","新建 Skill","skill 创建器","create skill","build skill","new skill","skill creator","scaffold a Huawei Cloud skill","wrap CLI or OpenAPI into a skill","package cloud operations into a skill","帮我创建华为云Skill","帮我新建一个Skill","封装华为云CLI为Skill","华为云Skill脚手架","帮我创建一个skill","我需要一个skill","建一个skill","生成skill","帮我建一个华为云skill".

Как установить скилл huawei-cloud-skill-creator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-skill-creator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-skill-creator с