Birthday Cake Ordering Assistant
Paste the following prompt into your AI chat to install this skill:
Install @user_9142b921/shengridangao according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When a user asks to order a birthday cake through chat or automation, the task is not only product search. It also involves handling a login credential, delivery city, saved addresses, product specs, payment link generation, and order status checks. Direct API use can get messy with Chinese parameters, leaked token values, inconsistent field names, and spec mismatches.
How It Works
The skill wraps a JSON-RPC 2.0 endpoint and turns cake ordering into a repeatable workflow:
- Credential handling: the current user provides the
user_token, and the skill stores it indgss_token.mdto keep sensitive data out of version control. - Address setup: cities are normalized to the
citylevel, then saved addresses are listed or added using theareaandaddrfields. - Product search: only the cake category
cat_id=1is accepted. The result should show brand, product name, spec, price, and details. - Order validation: before submission, the skill checks
spec_idagainst the selected spec name, generates the payment link, and extracts thesceneparameter from the returned URL. - Order lookup: it can query the latest order status using
scene, which is useful for follow-up checks or repeat purchases.
Boundaries
- It only supports cake ordering, not snacks, flowers, refunds, logistics, invoices, or similar tasks.
- One order uses a single spec and should not batch or duplicate submissions.
- On Windows, use a Python invocation path to avoid Chinese parameter encoding issues.
- User-facing output should stay concise, without exposing API domains, internal fields, or raw error traces.
Use Cases
- A user provides a city and recipient details in chat, and the skill selects or adds a delivery address via the address API.
- A user says “15cm chocolate cake,” and the skill searches the cake category to show brand, spec, and price.
- After the user picks a cake and quantity, the skill validates the spec ID and generates a scannable payment link.
- A user provides a numeric scene code, and the skill uses it to query the product name and current order status.
Best For
- Office administrators preparing birthday surprises who need fast cake selection and payment-link generation
- Engineers building personal assistants who want city-based cake lookup and payment link creation
- Product developers integrating chat bots who need address and spec validation in the workflow
- Automation engineers testing external MCP endpoints and validating JSON-RPC responses with order-status lookup
Related Skills
Create a room-by-room plant watering handoff note for a sitter, with water amounts, timing, owner notes, and skip-if-unsure guidance.
A browser-based personal workbench generator that ships desktop or mobile templates with local storage, JSON backup, theming, and optional self-hosted sync.
Vehicle-specific maintenance advisor that estimates fault risk, repair actions, and price ranges with VIN, nameplate, and appearance recognition.
Combines traditional Zhou Gong dream symbols with psychological framing to produce structured interpretations of details, symbols, emotions, and life context.