Weiduomei Cake Ordering Assistant
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_965199d2/weiduomei into your AI assistant.
About this skill
Problem Addressed
This skill turns the “order a Weiduomei cake” workflow into a stable API chain: the user provides a user_token, city, and keyword, while the skill handles address confirmation, cake search, order-link generation, and order-status lookup, reducing issues like inconsistent city names, mismatched address fields, spec_id mismatches, and later scene-based status checks.
How It Works
It calls a fixed endpoint using JSON-RPC 2.0, with arguments under params.arguments; success is indicated by code: 200, and the business JSON {code, data, msg} is parsed from result.content[0].text.
- Token handling: the current user supplies
user_token, stored indgss_token.md; add that file to.gitignorebefore publishing. - Address handling: normalize the city to the “municipality” level, call
getAddrList; if missing, collect province, city,area,addr, name, and phone number, calladdAddrList, and usedata[0].idasaid. - Product search: call
brand_sweets_lstwith fixedcat_id: 1, support pagination, and use “Weiduomei” as keyword for ambiguous requests. - Ordering and lookup: call
getOrderaddrto generate the URL and extractscene; usegetOrderStatusfor status checks.
The cake table must keep No., Brand, Product Name, Specification, Price, Details, and interface fields should be shown as returned; verify spec_id against the displayed specification before ordering, and only one spec_id is supported.
Boundaries
- Supports Weiduomei-related products only, not other brands, snacks, or flowers.
- Easy-to-confuse fields: district is
area, detailed address isaddr, address ID isaid. - Do not expose endpoint names, domains, internal fields, or raw errors; use friendly error messages.
- Windows recommends Python-script invocation; Linux and macOS can use direct commands to avoid Chinese encoding issues.
Use Cases
- When booking a Weiduomei cake for a colleague, search by city, delivery address, and keyword, then generate a payment link.
- When adding a first delivery address, collect province, city, district, name, and phone number, call `addAddrList`, and record `aid`.
- When a user provides an 8- to 20-digit `scene`, call `getOrderStatus` to check the matching cake order.
- When handling Chinese parameters on Windows, switch from `curl` to a Python script to avoid parameter encoding errors.
Best For
- Business operations staff who need to connect a Weiduomei cake ordering workflow into a conversational assistant
- Integration engineers maintaining internal `MCP` or `JSON-RPC` tools and focused on parameter mapping and error codes
- Administrators responsible for corporate purchases or office tea breaks who require a brand-restricted ordering channel
- Automation engineers who need to reuse the same API script across Windows, Linux, and macOS
Related Skills
A bot hiring marketplace for AI agents with job postings, applications, task completion, and $WAGE rewards.
A pre-visit customer portrait tool for Tencent Cloud sales, producing ten-step analysis, scoring, and pitch scripts.
Fetch weekly or monthly corporate sentiment data, then analyze tone, trends, and risks.
A coaching workflow for one-person businesses, side projects, and freelancers covering resource audits, niche validation, business modeling, and ongoing operations.