alicloud-platform-openapi-product-api-discovery
Discover and reconcile Alibaba Cloud product catalogs from Ticket System, Support & Service, and BSS OpenAPI; fetch OpenAPI product/version/API metadata; and summarize API coverage to plan new skills. Use when you need a complete product list, product-to-API mapping, or coverage/gap reports for skill generation.
Works with
--- name: alicloud-platform-openapi-product-api-discovery description: Discover and reconcile Alibaba Cloud product catalogs from Ticket System, Support & Service, and BSS OpenAPI; fetch OpenAPI product/version/API metadata; and summarize API coverage to plan new skills. Use when you need a complete product list, product-to-API mapping, or coverage/gap reports for skill generation. license: MIT --- # Alibaba Cloud Product + API Discovery Follow this workflow to collect products, resolve API metadata, and build summaries for skill planning. ## Workflow 1) Fetch product lists from the three sources - Ticket System (ListProducts) - Support & Service (ListProductByGroup) - BSS OpenAPI (QueryProductList) Run the bundled scripts (from this skill folder): ```bash python scripts/products_from_ticket_system.py python scripts/products_from_support_service.py python scripts/products_from_bssopenapi.py ``` Provide required env vars in each script (see references). 2) Merge product lists ```bash python scripts/merge_product_sources.py ``` This writes `output/product-scan/merged_products.json` and `.md`. 3) Fetch OpenAPI metadata product list ```bash python scripts/products_from_openapi_meta.py ``` This writes `output/product-scan/openapi-meta/products.json` and `products_normalized.json`. 4) Fetch OpenAPI API docs per product/version ```bash python scripts/apis_from_openapi_meta.py ``` By default this can be large. Use filters for dry runs: - `OPENAPI_META_MAX_PRODUCTS=10` - `OPENAPI_META_PRODUCTS=Ecs,Ons` - `OPENAPI_META_VERSIONS=2014-05-26` 5) Join products with API counts ```bash python scripts/join_products_with_api_meta.py ``` 6) Summarize products by category/group ```bash python scripts/summarize_openapi_meta_products.py ``` 6) (Optional) Compare products vs existing skills ```bash python scripts/analyze_products_vs_skills.py ``` ## Output discipline All generated files must go under `output/`. Do not place temporary files elsewhere. ## Validation ```bash mkdir -p output/alicloud-platform-openapi-product-api-discovery for f in skills/platform/openapi/alicloud-platform-openapi-product-api-discovery/scripts/*.py; do python3 -m py_compile "$f" done echo "py_compile_ok" > output/alicloud-platform-openapi-product-api-discovery/validate.txt ``` Pass criteria: command exits 0 and `output/alicloud-platform-openapi-product-api-discovery/validate.txt` is generated. ## Output And Evidence - Save artifacts, command outputs, and API response summaries under `output/alicloud-platform-openapi-product-api-discovery/`. - Include key parameters (region/resource id/time range) in evidence files for reproducibility. ## Prerequisites - Configure least-privilege Alibaba Cloud credentials before execution. - Prefer environment variables: `ALICLOUD_ACCESS_KEY_ID`, `ALICLOUD_ACCESS_KEY_SECRET`, optional `ALICLOUD_REGION_ID`. - If region is unclear, ask the user before running mutating operations. ## References - Product source APIs: see `references/product-sources.md` - OpenAPI meta endpoints: see `references/openapi-meta.md`
More API Design skills
lark-event
larksuite/cli
Lark/Feishu real-time event listening / subscribing / consuming: stream events as NDJSON via `lark-cli event consume <EventKey>` (covers IM messages/reactions/chat changes, Approval status changes, Task updates, VC meeting started/joined/ended, Minutes generated, Whiteboard updated, etc.). Use for Lark bots, real-time message processing, long-running subscribers, streaming webhook/push handlers. Supports `--max-events` / `--timeout` bounded runs and a stderr ready-marker contract — designed for AI agents running as subprocesses.
lark-contact
larksuite/cli
飞书 / Lark 通讯录:按姓名 / 邮箱解析成 open_id,或按 open_id 反查姓名 / 部门 / 邮箱 / 联系方式 / 个人状态 / 签名,以及按关键词搜索当前用户可见的机器人 / 智能体(agent)。当用户提到一个名字要下一步发消息 / 排日程,或拿到 open_id 想查具体信息时使用。不负责部门树遍历、按部门列员工、组织架构图,这类需求走原生 OpenAPI。
lark-openapi-explorer
larksuite/cli
飞书/Lark 原生 OpenAPI 探索:从官方文档库中挖掘未经 CLI 封装的原生 OpenAPI 接口。当用户的需求无法被现有 lark-* skill 或 lark-cli 已注册命令满足,需要查找并调用原生飞书 OpenAPI 时使用。

