agency-wechat-mini-program-developer

Guide WXML/WXSS/WXS development and WeChat Pay integration for Mini Programs.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/augustoheiss/LogicDefense --skill agency-wechat-mini-program-developer-augustoheiss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agency-wechat-mini-program-developer
Source: https://github.com/augustoheiss/LogicDefense/tree/main/.gemini/skills/agency-wechat-mini-program-developer
Command: npx skills add https://github.com/augustoheiss/LogicDefense --skill agency-wechat-mini-program-developer-augustoheiss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams and developers design, implement, and optimize WeChat Mini Programs that meet WeChat platform constraints, pass review, and deliver fast, native-feeling user experiences.

Core Features & Use Cases

  • Architecture & Packaging: Guidance on app.json configuration, subpackage planning, and dependency strategies to keep the main package small.
  • WeChat Ecosystem Integration: Patterns for WeChat login, Official Account binding, WeChat Pay integration, subscription messages, and Channels linkage.
  • Performance & Compliance: setData optimizations, lifecycle handling, network domain whitelisting, HTTPS enforcement, and review submission best practices.
  • Developer Tooling & Testing: Request wrapper patterns, payment flow templates, real-device testing recommendations, and observability suggestions.

Quick Start

Ask the agent to perform a Mini Program architecture and compliance audit focusing on package size, domain whitelist, payment integration, and performance improvements.

Frequently Asked Questions about agency-wechat-mini-program-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize WeChat Mini Program performance and reduce main package size?

Optimize WeChat Mini Program performance by planning subpackage strategies in app.json to keep the main package small, minimizing setData calls, and handling component lifecycles properly. This ensures fast, native-feeling user experiences while passing platform review.

What is the best way to integrate WeChat Pay and subscription messaging in a Mini Program?

The best way to integrate WeChat Pay and subscription messaging is using server-side payment flow templates and request wrapper patterns. Apply proper WeChat login and Official Account binding to handle secure transactions and automated user notifications.

What are the HTTPS domain whitelist constraints for WeChat Mini Programs?

WeChat Mini Programs enforce strict HTTPS domain whitelist constraints for all network requests. You must register your HTTPS domains in the WeChat developer console before requesting data, ensuring compliance with platform security requirements.

How do I handle wx.* API promisification in WXML development?

Handle wx.* API promisification in WXML development by applying request wrapper patterns to convert native callbacks into manageable Promises. This streamlines asynchronous network requests and lifecycle handling across your Mini Program components.

Can I use subpackage strategies to bypass WeChat Mini Program package size limits?

Yes, you can use subpackage strategies to manage WeChat Mini Program package size limits. Configuring subpackages in app.json splits your application code, keeping the main package under the size limit while loading feature modules on demand.

Why does my WeChat Mini Program fail review submission despite passing local tests?

Your WeChat Mini Program may fail review submission due to non-compliance with platform constraints like missing HTTPS enforcement, improper domain whitelisting, or unoptimized setData performance. Conduct an architecture and compliance audit to identify and resolve these issues.