Command Palette

Search for a command to run...

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

huawei-cloud-swr-enterprise-instance

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

Huawei Cloud SWR enterprise instance management skill using hcloud CLI. Use this skill when the user wants to: (1) manage SWR enterprise instances…

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

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

Huawei Cloud SWR Enterprise Instance Management

Overview

This skill provides lifecycle management capabilities for Huawei Cloud SWR (Software Repository for Container) enterprise instances using the hcloud CLI. Enterprise instances provide dedicated, isolated container registry environments with advanced features like security scanning, replication policies, and custom domain support.

Note: Some features (e.g., replication policies) are managed via the SWR enterprise instance console, not through CLI. See Out of Scope above.

Architecture: hcloud CLI → SWR Service API → Instance/Namespace/Registry/Repository/Artifact/Credential/Endpoint/Domain resources

Related Skills:

  • huawei-cloud-swr-image-management - Image lifecycle management (basic SWR namespaces, repos, tags, auth, quotas)
  • huawei-cloud-swr-image-governance - Image governance (permissions, retention, sharing, tags, immutable rules)
  • huawei-cloud-swr-image-automation - Image automation ops (sync, triggers, domains)

Out of Scope:

This skill does NOT support the following operations. If the user requests any of these, inform them and suggest the correct skill:

Operation Use Instead Reason
Manage basic (non-enterprise) SWR namespaces huawei-cloud-swr-image-management Basic SWR namespace lifecycle
Push/pull images (docker login/push/pull) Docker CLI (use this skill to get credentials first) Docker CLI operation, not API
Build images CodeArts Build, CCE, or local Docker SWR is a registry, not a build service
Manage namespace/repo permissions huawei-cloud-swr-image-governance Permission governance is a separate skill
Create retention/aging policies on basic SWR huawei-cloud-swr-image-governance Retention governance for basic SWR
Create image sync rules on basic SWR huawei-cloud-swr-image-automation Sync automation for basic SWR
Create/Delete triggers on basic SWR huawei-cloud-swr-image-automation Trigger automation for basic SWR
Manage SWR agency delegation for basic SWR huawei-cloud-swr-image-governance Agency delegation for basic SWR
  • Create and manage SWR enterprise instances
  • Manage instance namespaces with security scanning and vulnerability blocking
  • Configure instance registries for cross-instance image sync
  • Query and manage instance repositories and artifacts
  • Obtain instance access credentials (long-term and temporary)
  • Configure instance network access (internal VPC endpoints, public access with whitelist)
  • Manage custom domains for instance access
  • Monitor instance statistics and job status

Typical Use Cases:

  • "Create an SWR enterprise instance for my organization"
  • "Create a namespace with auto-scan and vulnerability blocking"
  • "Configure a registry for syncing images to another instance"
  • "Get docker login credentials for my instance"
  • "Add a VPC internal endpoint or custom domain to my instance"

Prerequisites

1. hcloud CLI Requirements (MANDATORY)

  • hcloud CLI installed (version >= 7.2.2)
  • Run hcloud version to verify installation
  • First-time usage: printf "y\n" | hcloud version to accept privacy statement

2. Credential Configuration

hcloud CLI supports two credential modes. See references/credential-configuration.md for full details.

Quick setup (choose one):

# Mode A — Long-term AK/SK
export HUAWEI_CLOUD_AK=<your-ak>
export HUAWEI_CLOUD_SK=<your-sk>
export HUAWEI_CLOUD_REGION=cn-north-4

# Mode B — Temporary AK/SK + SecurityToken
export HUAWEI_CLOUD_AK=<your-temp-ak>
export HUAWEI_CLOUD_SK=<your-temp-sk>
export HUAWEI_CLOUD_SECURITY_TOKEN=<your-security-token>
export HUAWEI_CLOUD_REGION=cn-north-4
  • Security rules: Never expose AK/SK/SecurityToken values. Use hcloud configure list to check presence only.

3. SWR Enterprise Service Activation (MANDATORY)

Before creating SWR enterprise instances, the user must first activate the SWR enterprise service in the Huawei Cloud console. This is a one-time enablement step per account/region.

Activation Steps:

  1. Access the SWR enterprise instance console via direct URL: https://console.huaweicloud.com/swr-instance
    • Important: The SWR enterprise instance console is not available from the main console navigation menu. Users must use this direct URL to access it.
  2. If prompted, review and accept the SWR enterprise service terms
  3. Confirm the service is activated by verifying the console loads successfully
  4. If activation is not available in the target region, the console will display an error or the service will not be listed

Verification: After activation, run hcloud SWR ListInstance --cli-region=<region> — if the service is activated, this returns an empty list (or existing instances). If not activated, an error will be returned.

Console Access:

  • SWR Enterprise Instance Console: `ht
Полный SKILL.md на ClawHub

Установить huawei-cloud-swr-enterprise-instance в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл huawei-cloud-swr-enterprise-instance?

Huawei Cloud SWR enterprise instance management skill using hcloud CLI. Use this skill when the user wants to: (1) manage SWR enterprise instances - create/list/show/delete/update configuration, (2) manage instance namespaces - create/list/show/update/delete with security scanning settings, (3) manage instance registries (sync targets) - create/list/show/update/delete, (4) manage instance repositories - list/show/delete/update, (5) manage instance artifacts (image versions) - list/show/delete/scan, (6) manage instance credentials - long-term and temporary, (7) manage instance endpoints - internal/public access, (8) manage instance domains - add/list/show/delete/update, (9) check instance statistics and job status. Trigger: user mentions "SWR enterprise instance", "SWR 企业实例", "SWR 企业版", "企业仓库实例", "SWR instance", "SWR 专业版", "swr.ee", "instance namespace", "instance registry", "instance repository", "instance artifact", "instance credential", "instance endpoint", "instance domain", "企业仓库", "实例管理", "同步目标仓库", "sync target"

Как установить скилл huawei-cloud-swr-enterprise-instance?

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

Скилл huawei-cloud-swr-enterprise-instance запускает скрипты?

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

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

Сравнить huawei-cloud-swr-enterprise-instance с