CommunityCoding & Developmentgithub.com

niracler/skill

Claude Code skills collection | My Claude Code skill set

What is skill?

This skill is specifically designed for using Alibaba Cloud's Yunxiao (Cloud Efficiency) DevOps command-line tools. It records non-obvious pitfalls and required field rules for the Yunxiao API, helping developers succeed on their first API call attempt. The skill supports two modes: MCP tools (preferred via the yunxiao MCP service, including operations like listing repositories, creating merge requests, querying work items, and updating work items) and the aliyun CLI (as a fallback for operations such as updating merge requests, editing comments, and creating tags). It integrates seamlessly with Git and jq for JSON parsing, and includes a comprehensive cheatsheet and API reference to avoid common errors such as using lowercase `.id` when the correct field is `Id`, or missing required parameters like `sourceProjectId`, `targetProjectId`, and `createFrom`. The skill is ideal for developers working with codeup.aliyun.com repositories, task management, and release management via the Cloud Efficiency platform.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add niracler/skill

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Cloud Efficiency CLI

Alibaba Cloud Cloud Efficiency (Yunxiao) DevOps command-line tool. Records non-obvious pitfalls and required field rules for the Cloud Efficiency API, helping you succeed on the first call.

Prerequisites

ToolTypeRequiredInstall
yunxiao MCPmcpNoConfigure in Claude Code MCP settings (preferred over CLI)
aliyun CLIcliNobrew install aliyun-cli then aliyun configure — see openapi.md for full setup
gitcliYesbrew install git or git-scm.com
jqcliNobrew install jq (for JSON parsing in CLI mode)

At least one of yunxiao MCP or aliyun CLI is required. MCP is preferred.

Do NOT proactively verify these tools on skill load. If a command fails due to a missing tool, directly guide the user through installation and configuration step by step.

When to Use

  • Create/Manage MRs: Create merge requests, update descriptions, and view lists on codeup.aliyun.com repositories
  • Task Management: Query/create/update task status, add comments
  • Release Management: Create tags via the Cloud Efficiency API

Tool Selection

ConditionRecommended Approach
MCP service connected (mcp__yunxiao__* tools available)Use MCP tools first (including MR operations)
No MCP serviceUse aliyun CLI
Operation not covered by MCP tools (update MR, edit comments, etc.)Use aliyun CLI

⚠️ aliyun devops ListRepositories has a known SYSTEM_UNAUTHORIZED_ERROR issue; prefer MCP tools to get repository IDs.

Common Operations Mapping

TaskMCP ToolCLI Alternative
Query repositorymcp__yunxiao__list_repositoriesaliyun devops ListRepositories (may produce permission errors)
Create MRmcp__yunxiao__create_change_requestaliyun devops CreateMergeRequest
View MRmcp__yunxiao__get_change_requestaliyun devops GetMergeRequest
Update MR—aliyun devops UpdateMergeRequest
Query taskmcp__yunxiao__search_workitemsaliyun devops ListWorkitems
Get task detailmcp__yunxiao__get_work_item—
Update task statusmcp__yunxiao__update_work_itemREST API (see openapi.md)
Query workflowmcp__yunxiao__get_work_item_workflowaliyun devops ListWorkItemWorkFlowStatus
Add commentmcp__yunxiao__create_work_item_commentREST API (see openapi.md)
Edit comment—aliyun devops UpdateWorkitemComment
Query field configmcp__yunxiao__get_work_item_type_field_configaliyun devops ListWorkItemAllFields
Create Tag—aliyun devops CreateTag

Top 5 Pitfalls

The most common traps — full rules in cheatsheet.md:

  1. Repository ID field is Id (capital I) — using .id in jq returns null
  2. Creating an MR must provide sourceProjectId, targetProjectId, createFrom: "WEB"
  3. Updating task status requires the REST API — aliyun devops POST /organization/.../workitems/updateWorkitemField
  4. updateWorkitemPropertyRequest must be an array [{...}], field names use fieldIdentifier/fieldValue
  5. Always query required fields before creating a task — different projects have different custom required fields

Detailed Guides

  • AI Assistant Must-Read: cheatsheet.md — 13 golden rules + complete error quick reference
  • API Full Reference: openapi.md — configuration guide, all API operation templates, complete MR/task/release workflows

Related Skills