alicloud-platform-openapi-product-api-discovery
About alicloud-platform-openapi-product-api-discovery
A workflow skill for people planning Alibaba Cloud skills. It collects product catalogs, retrieves OpenAPI metadata and API documentation, and produces summaries.
Key features
- 01Fetch product lists from three sources
- 02Merge and normalize product data
- 03Retrieve OpenAPI product and API metadata
- 04Summarize products by category
- 05Optionally compare products with existing skills
Use cases
- 01Consolidate Alibaba Cloud product catalogs
- 02Review API information by product
- 03Select products for skill planning
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ cinience/ alicloud-skills --skill alicloud-platform-openapi-product-api-discoveryAfter installing, type/alicloud-platform-openapi-product-api-discoveryin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
agents/openai.yamlreferences/openapi-meta.mdproduct-sources.mdscripts/analyze_products_vs_skills.pyapis_from_openapi_meta.pyjoin_products_with_api_meta.pymerge_product_sources.pyproducts_from_bssopenapi.pyproducts_from_openapi_meta.pyproducts_from_support_service.pyproducts_from_ticket_system.pysummarize_openapi_meta_products.pyDetails
From the project READMEAlibaba Cloud Product + API Discovery
Follow this workflow to collect products, resolve API metadata, and build summaries for skill planning.
Workflow
- Fetch product lists from the three sources
- Ticket System (ListProducts)
- Support & Service (ListProductByGroup)
- BSS OpenAPI (QueryProductList)
Run the bundled scripts (from this skill folder):
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).
- Merge product lists
python scripts/merge_product_sources.py
This writes output/product-scan/merged_products.json and .md.
- Fetch OpenAPI metadata product list
python scripts/products_from_openapi_meta.py
This writes output/product-scan/openapi-meta/products.json and products_normalized.json.
- Fetch OpenAPI API docs per product/version
python scripts/apis_from_openapi_meta.py
By default this can be large. Use filters for dry runs:
OPENAPI_META_MAX_PRODUCTS=10OPENAPI_META_PRODUCTS=Ecs,OnsOPENAPI_META_VERSIONS=2014-05-26
- Join products with API counts
python scripts/join_products_with_api_meta.py
- Summarize products by category/group
python scripts/summarize_openapi_meta_products.py
- (Optional) Compare products vs existing skills
python scripts/analyze_products_vs_skills.py
Output discipline
All generated files must go under output/. Do not place temporary files elsewhere.
Validation
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, optionalALICLOUD_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