AI Agent Hub
Back to skills
Design and Build a WeChat Mini Program icon

Design and Build a WeChat Mini Program

Development Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_c4434fd1/design-and-build-a-mini-program into my AI assistant according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem area

  • This skill helps a developer create, modify, query, quota-check, and generate promotional posters for WeChat mini programs through natural-language instructions, without manually writing the full project by hand.
  • It also covers nearby workflows such as login-state checks, phone-code sign-in, auth_query URL assembly, requirement lists, requirement details, AI conversation history, and feedback submission.

How it works

  • The main operations are exposed through scripts such as app_create.py for creation, app_update.py for changes, app_list.py for listing, and quota.py for checking points and mini-program count limits.
  • For creation or modification, the skill first confirms the requirement, asks 1–3 clarifying questions when needed, then starts a subagent to run the remote development command. The main agent stays quiet while the result message is built from extracted fields like preview_url, admin_url, and remaining_pts.
  • Login-related steps check local state and, when signed out, use phone-number verification. Before emitting a jump link, it may append an auth_query value when a phone number is known, following a fixed URL pattern.
  • Some actions are not executed directly and are redirected to the official site, including publishing, downloading source code, deleting a mini program, editing basic information, and recharging or upgrading membership.

Boundaries and notes

  • This is not a local code editor. It does not read, edit, or write project files directly, and permission-sensitive actions such as publishing or exporting code must be completed on the website.
  • The QR code on a generated poster points to a mini-program preview link, not a login QR code. If the user asks for a login QR code, the poster flow should not be used.
  • Output handling is constrained by quota states. When states such as QUOTA_CARD_SENT or LOW_POINTS_WARNING_SENT appear, the agent should avoid duplicate prompts or only forward the required information.

Use Cases

  • Create a previewable mini program from a one-sentence description of pages and features for ordering or group-buying needs.
  • Adjust homepage copy or product-detail styles in an existing mini program by specifying the app_id and receiving a preview URL.
  • Inspect the app list, requirement details, and remaining points after development to decide on iteration or top-up.
  • Generate a promotional poster with a preview QR code for a specific app_id and send the image.

Best For

  • Solo developers who need to turn an idea into a demo WeChat mini program quickly
  • Product or operations owners who iterate mini program copy or entry points and check preview URLs
  • AI engineers who want to validate the requirement-to-preview-link workflow for internal evaluation
  • Marketing staff who need a promotional poster with a mini program preview QR code for channel sharing