ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

mini-program-dev

微信小程序开发辅助。提供代码模板、API 示例、常见问题解答。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/chandler0714/mini-program-dev
Or

What 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 the wx.requestPayment wrapper.
  • Component Architectures: Solve complex parent-child communication patterns using the pre-defined event-trigger and component select syntax.
  • Configuration Management: Manage app.json configurations, specifically complex navigation hierarchies like custom TabBars, with ease.

Example Prompts

  1. "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?"
  2. "How do I trigger an event from a custom child component and catch it in the parent page? Give me the communication code pattern."
  3. "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

Stars3562
Views1
Updated2026-03-29
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-chandler0714-mini-program-dev": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#wechat#miniprogram#javascript#web-development#coding
Safety Score: 4/5

Flags: code-execution