create-cli-command
OfficialWrap frontend APIs into production-ready CLI
Authoraliyun
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Turning frontend API implementations into consistent, tested, and user-friendly agentbay-cli commands is time-consuming and error-prone; this Skill standardizes the full engineering workflow so teams can deliver CLI features reliably and reproducibly.
Core Features & Use Cases
- Standardized analysis of frontend API implementations, mapping Action, Version, and Product ID for CLI usage.
- Generate SDK request/response models with validation helpers, client methods (WithOptions, WithContext, simple variants), and response parsers.
- Create Cobra-based CLI command files with named flags, required-flag validation, command registration, unit tests, mock updates, and customer-facing documentation; common use cases include wrapping CreateApiKey, image management, and concurrency controls.
Quick Start
Ask the assistant to create a new agentbay-cli command by mapping a frontend API action into SDK models, client methods, a cobra command with named flags and validations, unit tests, mock updates, and a customer-facing document.
Dependency Matrix
Required Modules
gogit
Components
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: create-cli-command Download link: https://github.com/aliyun/agentbay-cli/archive/main.zip#create-cli-command Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.