huawei-cloud-cost-estimation

Solid

Generate Huawei Cloud pre-order price estimates, safely provision allowlisted resources via hcloud, and guide unsubscribe requests to the console only. Use this skill whenever the user mentions 华为云/Huawei Cloud/hcloud with 报价/询价/价格/quote/pricing/budget, 开通/购买/创建/provision/create, or 退订/unsubscribe. Create requires runtime help, --dryrun, fee review, and confirmation. Never run or emit unsubscribe CLI/API. Refuse other clouds, credentials, payment/renewal/delete, and non-allowlisted writes.

DevOps & Infrastructure 7 stars 2 forks Updated 2 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 79/100

Stars 20%
30
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 华为云成本估算与资源开通 > **华为社区版** · 社区维护,非华为云官方;结论以当次 hcloud 响应为准。 价格只认当次响应,**不臆造、不类比、不记忆**;仅开通可写,退订只指引官网控制台。 ## Route - **询价 / 预算 / 比价** → Pricing。 - **开通 / 购买 / 创建资源** → Lifecycle Create(仅 `references/lifecycle/commands.md` 白名单内)。 - **退订 / 停止使用资源** → Unsubscribe Guidance(仅控制台指引,不调用 CLI/API)。 - 历史账单/余额/对账 → 费用中心或 BSS 账单只读 API;非华为云 → 拒绝;白名单外写操作 → 给控制台指引。 ## Pricing 1. **Parse** — 抽取四元组 `cloud_service_type / resource_type / region / resource_spec` + 周期或使用量;读 `references/pricing/semantic/catalog.yml` 路由到 period / on-demand 模型。 2. **Clarify** — 缺 region/数量/周期或用量/线性 size,或产品类目模糊、多变种未定 → 停下一轮问完(带 2–4 候选)。仅 safe-default 缺失(OS=linux、AZ=空、`fee_installment_mode=NA`)→ 披露后继续。确认话术用口语四元组,不暴露内部名。 3. **Query** — 按 `references/pricing/commands.md`:先 `BSS/ListResourceSpecs` 实查规格,再询价(period → `ListRateOnPeriodDetail`;on-demand → `ListOnDemandResourceRatings`);多产品一次放进 `product_infos.N.*`。 4. **Verify & Present** — 分项加和 = 总价;币种/周期/数量对齐用户口径。分项 `[服务] [规格] [region] [数量×周期] = ¥<金额>` + 加总 + 「非最终账单」;默认官网价,响应有折扣才附折后。 ## Lifecycle Create 读 `references/lifecycle/concepts.md` 后按序执行,跳步即违规: 1. **Allowlist** — 意图映射到 `references/lifecycle/commands.md` 命令主体;未命中即拒绝。 2. **Help** — `hcloud <Service> <Operation> --help` 取必填/条件必填;`[APIE_ERROR]` 或无 schema 即停止,不猜参数。 3. **Resolve** — 自动跑必要只读依赖查询(VPC/子网/AZ/镜像/规格等);多候选让用户选,缺失项一轮问完。 4. **Cost** — 能询价先走 Pricing 回表;不能询价则声明「价格未知且可能收费」并取得额外确认。 5. **Dry** — 完整命令强制加全局 `--dryrun`(本地构造请求,非接口级 `dry_run`);失败则修正重跑,不得转正式。 6. **Confirm** — 回显资源/region/规格/数量/计费/金额或未知费用/批次顺序,等用户明确确认。...

Details

Author
ontology-of-everything
Repository
ontology-of-everything/SemanticSkills
Created
2 months ago
Last Updated
2 weeks ago
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Solid

huawei-cloud-billing-scout

Huawei Cloud BSS billing read-only only (not AWS/Azure/other clouds; refuses pricing quotes, real-name review, and any non-billing scope): balance, spend, attribution, reconciliation, coupons, stored-value cards, enterprise/partner billing. One-page briefing via hcloud. Use only when the user explicitly mentions 华为云 / Huawei Cloud / BSS and 余额/账单/对账/资源包/代金券/储值卡/企业或伙伴账务; refuses pay, renew, refund, delete.

7 Updated 2 weeks ago
ontology-of-everything
DevOps & Infrastructure Solid

huawei-cloud-account-onboarding

Guides Huawei Cloud real-name verification (实名认证) via terminal QR code — check account status, generate a scan-to-verify QR, poll every 3s until approved/rejected/expired. Use when the user mentions 华为云/Huawei Cloud plus 实名认证/实名/认证状态/real-name verification, or an account-opening flow says verification is required. Currently a local mock demo; refuses to collect real ID documents or credentials, and non-Huawei-Cloud identity flows.

7 Updated 2 weeks ago
ontology-of-everything
AI & Automation Listed

hlzd-quotation-gen

B2B 工业品自动报价 —— 输入 SKU + 数量 + 目的港 + 贸易术语(FOB / CIF / DDP),输出 3 套报价(每套含明细拆解)+ 利润健康检查(HEALTHY / LOW / HIGH / BELOW)+ 账期建议(30% advance / LC 等)。Use when 用户说'出报价'、'算价'、'报价单'、'清关价值'、'FOB 单价'、'CIF 报价'、'DDP 报价'、'自动报价'。

0 Updated 1 weeks ago
Alexxiang2008