huawei-cloud-codearts-pipeline-diagnose
БесплатноЗапускает вложенные скриптыНе проверенHuawei Cloud CodeArts Pipeline (流水线) and CodeArts Build (编译构建/构建任务) management, monitoring and failure diagnosis using the KooCLI hcloud command-line client…
от huaweicloudskill324 установки в других каталогахОб этом скилле
Huawei Cloud CodeArts Pipeline & Build Diagnosis
Overview
This skill operates Huawei Cloud CodeArts (CodeArts Pipeline / CodeArts Build /
编译构建) through the hcloud CLI. CodeArts Pipeline orchestrates build, deploy
and release tasks as pipelines (流水线); CodeArts Build compiles source code
into artifacts as build tasks (构建任务). The skill covers:
| Category | Capabilities |
|---|---|
| Query | List pipelines (huawei_list_pipelines), list build tasks (huawei_list_build_tasks), get pipeline detail (huawei_get_pipeline), get build task detail (huawei_get_build_task), get build log (huawei_get_build_log) |
| Analyze | Build failure diagnosis (huawei_diagnose_build_failure — log fetch → error classification → root cause: network/parameter/load), pipeline failure diagnosis (huawei_diagnose_pipeline_failure — orchestration/execution error analysis), build log error extraction (huawei_extract_build_log_errors) |
| Manage | Create pipeline (huawei_create_pipeline), create build task (huawei_create_build_task), start pipeline (huawei_start_pipeline), start build task (huawei_start_build_task), delete pipeline (huawei_delete_pipeline), delete build task (huawei_delete_build_task) |
Always run
hcloud CodeArtsPipeline <Operation> --cli-region={region} --helporhcloud CodeArtsBuild <Operation> --cli-region={region} --helpbefore constructing a command to discover the exact parameter names and required flags for the current KooCLI version. Do not answer from general knowledge — follow the procedures in this document.
Critical Warnings
| Trap | Why |
|---|---|
Build service is CodeArtsBuild, not CloudBuild/CLOUDBUILD |
hcloud CloudBuild <op> and hcloud CLOUDBUILD <op> report [USE_ERROR]不支持的服务名称 (unsupported service). The real KooCLI service name is CodeArtsBuild (metadata directory codeartsbuild) — confirm with the service help output. |
| Pipeline APIs are project-scoped | Every CodeArtsPipeline operation requires --project_id of a CodeArts (DevCloud) project. A plain IAM project or wrong project returns pipeline.00060101 项目不存在 or an auth error. Omit --project_id only if your hcloud profile has a default project set. |
| Log download endpoints return raw/compressed content | DownloadBuildLog returns the full log for a record_id; for a running build use DownloadBuildRealTimeLog (job_id + build_no + --size). DownloadBuildFullLog adds --compress/--log_level. Match the operation to the run state. |
| record_id ≠ job_id ≠ build_no | Build APIs use three distinct identifiers: job_id (task id, 32 chars), build_no (per-build increment starting at 1), record_id (36-char build record uuid). Do not substitute one for another — the API rejects mismatched ids. |
| Create operations are complex | CreatePipelineNew needs a JSON --definition (best copied from an existing pipeline via ShowPipelineDetail); CreateBuildJob needs --steps.N.module_id/--steps.N.name for each build step. Prefer template-based creation (CreatePipelineByTemplate) for pipelines in production. |
| Concurrent runs may be rejected | Starting a pipeline that is already running returns a conflict error unless the run policy permits concurrency. Check the latest run state (ShowPipelineRunDetail) before RunPipeline/RunJob. |
| Security baseline | Never hardcode AK/SK or pipeline parameters with plaintext credentials in build steps/scripts. Use IAM roles where possible and encrypt sensitive parameters (KooCLI keeps secrets in the local profile; env-var credentials never appear in commands). |
Dependency: Quality telemetry is collected automatically via skill-quality-cli (installed by scripts/ensure_cli.sh if absent).
Triggers
Use this skill when the user asks about CodeArts Pipeline / CodeArts Build operations, pipeline or build-task management, build logs, or CI/CD failure troubleshooting.
Trigger phrases: "CodeArts", "流水线", "CodeArts Pipeline", "pipeline", "构建任务", "构建", "build task", "build job", "编译构建", "CodeArts Build", "pipeline failure", "流水线失败", "build failure", "构建失败", "构建日志", "build log", "日志错误", "log error", "流水线异常", "pipeline diagnose", "构建诊断", "CI/CD", "持续集成", "持续交付".
User utterance examples:
- "列出我项目下的流水线/构建任务" (list pipelines / build tasks in my project)
- "这条流水线/构建任务失败了,帮我诊断一下原因" (this pipeline/build failed — diagnose the root cause)
- "帮我提取构建日志里的错误信息" (extract error info from the build log)
- "创建一个流水线/构建任务并启动它" (create and start a pipeline / build task)
- "删除这个流水线/构建任务" (delete this pipeline / build task)
Prerequisites
- hcloud CLI installed and authenticated —
- Authentication — one of:
- AK/SK credentials — configure the default hcloud profile with your access key and secret key or
- Environment variables
HUAWEICLOUD_SDK_AK/HUAWEICLOUD_SDK_SK(or `HUAWEI_
Установить huawei-cloud-codearts-pipeline-diagnose в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-codearts-pipeline-diagnose?
Huawei Cloud CodeArts Pipeline (流水线) and CodeArts Build (编译构建/构建任务) management, monitoring and failure diagnosis using the KooCLI hcloud command-line client. Covers pipeline and build-task listing/detail, build log retrieval, build failure diagnosis (log fetch → error classification → root cause: network/parameter/load), pipeline anomaly diagnosis (orchestration errors / execution errors), log error extraction and categorization, plus pipeline/build-task create, start and delete. Query and Analyze actions run automatically (R3); Create/Start actions require preview and user confirmation (R2); Delete requires explicit confirmation (R1). Supports AK/SK credentials and local hcloud profile authentication. Triggers include: "CodeArts", "流水线", "CodeArts Pipeline", "pipeline", "构建任务", "构建", "build task", "build job", "编译构建", "CodeArts Build", "pipeline failure", "流水线失败", "build failure", "构建失败", "构建日志", "build log", "日志错误", "log error", "流水线异常", "pipeline diagnose", "构建诊断", "CI/CD", "持续集成", "持续交付".
Как установить скилл huawei-cloud-codearts-pipeline-diagnose?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-codearts-pipeline-diagnose запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub