
Description
wechat-miniprogram-skill is an agent skill that gives expert guidelines for native WeChat Mini Program development in JavaScript. Its stated priorities are performance, code size and native compatibility. The skill tells the agent to write ES6 or newer JavaScript, and never to use TypeScript, Taro, Uni-app or other cross-platform frameworks. It sets out rules for each layer. Logic uses arrow functions so this binds correctly, and wraps asynchronous APIs in promises or async and await. State uses this.setData with data paths for partial updates, so only the changed field is sent. The view layer puts wx:key on every wx:for and uses bind:tap or catch:tap for events. Styles use rpx units for responsive layouts and BEM naming. For reusable logic the guide prefers Component() over Page(), for better setData performance. A bug prevention section covers common pitfalls: replacing dashes with slashes before creating a Date on iOS, using wx.switchTab for tab pages, watching the page stack limit of 10, and using cover-view to overlay content on canvas, video or map components. The skill is published in the gourdbaby wechat-miniprogram-skill repository and installs with the skills CLI. It is for developers writing native WeChat Mini Programs.…
Highlights
- Native JavaScript rules, with no cross-platform frameworks
- setData data paths and Component() guidance
- Pitfalls: iOS dates, page stack limit, cover-view overlays
- rpx layouts and BEM class naming
Ratings & Reviews
No ratings yet
Be the first to rate wechat-miniprogram-skill.
People also visit

miniprogram-development
WeChat Mini Program development skill for building, debugging, previewing

react-native-best-practices
Software Mansion's best practices for production React Native

frontend-dev-guidelines
You are a senior frontend engineer operating under strict architectural
wechat-miniprogram-skill FAQ
What is wechat-miniprogram-skill?
An agent skill with guidelines for building native WeChat Mini Programs in JavaScript.
Does it cover TypeScript or Taro?
No. The skill tells the agent not to use TypeScript, Taro, Uni-app or other cross-platform frameworks.
Which pitfalls does it cover?
iOS date parsing, tab navigation with wx.switchTab, the 10-page stack limit, and overlaying cover-view on native components.
How do I install it?
Run npx skills add https://github.com/gourdbaby/wechat-miniprogram-skill --skill wechat-miniprogram-skill.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best wechat-miniprogram-skill alternatives?
Popular alternatives to wechat-miniprogram-skill include miniprogram-development, uni-app and react-native-best-practices. See all wechat-miniprogram-skill alternatives














