feat: enhance wechat-mini-program-development skill with best practices#13
Merged
MasamiYui merged 7 commits intoMar 9, 2026
Merged
Conversation
Member
|
hi, please resolve conflicts |
- wx.redirectTo cannot navigate to tabBar pages - wx.reLaunch can navigate to any page and clears page stack - This fixes the issue where 401 redirect fails when login page is a tabBar page
Add new sections to improve developer experience: - utils/util.js: Common utility functions (formatTime, showLoading, showToast, etc.) - app.js: Global login status check with checkLoginStatus() - app.json: TabBar configuration example - Enhanced usage examples with util integration All additions are generic and follow WeChat mini-program best practices, making the skill more practical for real-world development.
gjwroot
force-pushed
the
feat/wechat-miniprogram-skill
branch
from
March 8, 2026 05:28
ad17b7d to
8d2f29f
Compare
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
This PR enhances the wechat-mini-program-development skill with additional best practices and utility functions based on real-world project experience.
Changes
utils/util.jswith common utility functions (formatTime, showLoading, showToast, showSuccess, showConfirm)app.jswithcheckLoginStatus()methodapp.jsonMotivation
These additions make the skill more practical for real-world WeChat mini-program development by providing:
Testing
Related