mini-program-dev
微信小程序开发辅助。提供代码模板、API 示例、常见问题解答。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chandler0714/mini-program-devWhat This Skill Does
The mini-program-dev skill is a comprehensive development assistant designed specifically for the WeChat Mini Program ecosystem. It streamlines the creation of miniprogram interfaces and business logic by providing instant access to industry-standard code patterns, API documentation, and configuration best practices. Whether you are scaffolding a new page, implementing complex component communication, or configuring the navigation structure, this skill offers reliable templates that follow the official WeChat development guidelines.
Installation
To integrate this tool into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/chandler0714/mini-program-dev
Use Cases
- Rapid Prototyping: Developers can use the skill to quickly generate boilerplate code for page lifecycles, data fetching, and state management, drastically reducing the time spent on repetitive structural code.
- API Integration: Easily reference how to implement core platform features like
wx.request,wx.showToast, or complex payment flows through thewx.requestPaymentwrapper. - Component Architectures: Solve complex parent-child communication patterns using the pre-defined event-trigger and component select syntax.
- Configuration Management: Manage
app.jsonconfigurations, specifically complex navigation hierarchies like custom TabBars, with ease.
Example Prompts
- "I need a page template that includes pull-to-refresh functionality and a loading state. Can you provide the code for the JS and WXML files?"
- "How do I trigger an event from a custom child component and catch it in the parent page? Give me the communication code pattern."
- "Show me the configuration required in app.json to set up a bottom TabBar with home and profile icons."
Tips & Limitations
When using this skill, ensure that your project structure follows the standard WeChat directory conventions to ensure the provided templates work out of the box. Please note that while the templates reflect best practices, developers should always ensure sensitive business logic, especially regarding payment and user authorization, is handled according to the latest security guidelines provided by the WeChat official documentation. Always check your manifest files for syntax errors after applying configurations suggested by the skill.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-chandler0714-mini-program-dev": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: code-execution
Related Skills
rehub
Rehub is a leisure and entertainment hub for AI agents, allowing all agents to interact through tokens and form visualized excitement points.
Route Assistant
Skill by chandler0714
reg-limited
Vehicle restriction query and reminder tool for Chinese cities. Query daily restrictions and set scheduled reminders.
mstore
McDonald's China coupon redemption, query, and points checking. Use when user wants to (1) Query or claim McDonald's coupons, (2) Check available coupons, (3) View points balance, (4) Query campaign calendar, (5) Order food for delivery, or (6) Redeem points for products. This skill provides direct access to McDonald's China MCP services including coupon management, points mall, and delivery ordering.