WeChat Mini Program Development Tool (Free) for Openclaw

Openclaw Skills for WeChat mini program development helps personal developers enforce structure, avoid common pitfalls, and optimize performance.

thcjp
v1.0.2
Jul 27, 2026
0
481
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install miniprogram-dev-tool-free

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install miniprogram-dev-tool-free using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is WeChat Mini Program Development Tool (Free)?

This Openclaw Skills package is a practical development companion for building WeChat mini programs with stronger structure, safer data binding, and better runtime performance. It focuses on the core areas personal developers need most: page and component organization, event and lifecycle handling, WXSS styling, and wx:key-driven list rendering efficiency.

Openclaw Skills also turns common mini program conventions into a repeatable workflow, making it easier to review code, spot errors early, and keep local development and preview steps aligned with best practices. The free edition is centered on single-project development, rapid specification lookup, and low-friction guidance for more maintainable miniprogram code.

WeChat Mini Program Development Tool (Free) Use Cases

  • Personal WeChat mini program development and code generation
  • Page and component structure review before implementation
  • Data binding, event handling, and lifecycle troubleshooting
  • setData performance optimization and local path updates
  • List rendering optimization with wx:key
  • WXSS styling checks and responsive unit usage (rpx)
  • Local preview and basic debugging for single-project workflows
  • Fast reference for mini program conventions, patterns, and anti-patterns

How WeChat Mini Program Development Tool (Free) Works

  1. Start by creating or opening a WeChat mini program project in the developer tool.
  2. Organize the project into clear page and component directories, keeping configuration separated by scope.
  3. Apply the skill's guidance to bind data with <配置项>, wire events with bind or catch, and follow the lifecycle usage rules.
  4. Optimize list rendering by adding wx:key to every repeated collection.
  5. Use local path updates in setData instead of replacing entire objects when possible.
  6. Preview and test locally, then inspect the output response and logs to confirm the task completed successfully.
  7. If an error occurs, use the returned error information to trace back to configuration, runtime, or network issues and apply the recovery steps.
  8. For advanced mini program pages or shared UI, extend the workflow with reusable components and behaviors-style reuse patterns.

WeChat Mini Program Development Tool (Free) Setup

  1. Install and open the WeChat Developer Tools.
  2. Ensure Node.js is available for build-time workflows.
  3. Use an AI agent platform that can read and execute SKILL.md instructions, such as Claude Code, Cursor, Codex, or Gemini CLI.
  4. Provide the mini program AppID if you need cloud development or preview integration.
  5. Keep the free edition focused on single-project local development and preview.
  6. Follow the skill's directory and configuration conventions.
# Verify Node.js
node -v

# Open your mini program project in the WeChat Developer Tools
# (Run from the UI or your local project directory as appropriate)

# Optional: inspect project structure
find . -maxdepth 3 -type f | sort
  1. Use the built-in agent tools (read, write, exec) to inspect files, apply changes, and validate output.

WeChat Mini Program Development Tool (Free) Data Schema & Taxonomy

The skill is organized around mini program project artifacts, configuration scopes, and structured execution output.

Layer Files / Fields Purpose
Page structure pages/<page>/index.wxml, index.wxss, index.js, index.json Define page markup, styles, logic, and page-level config
Component structure components/<name>/<name>.wxml, .<name>.wxss, .<name>.js, .<name>.json Encapsulate reusable UI and behavior
App config app.json Register pages, subpackages, and preload rules
Data binding <配置项>, setData, event dataset values Drive UI updates and event payload flow
Lifecycle metadata onLoad, onShow, onHide, onUnload Manage page initialization, refresh, and cleanup
Output format success, data.result, data.execution_time, data.metadata, execution_log, error Return structured execution responses for agent workflows

Key metadata taxonomy used by Openclaw Skills includes:

  • input_params: input-driven execution configuration
  • config_options: runtime options for modify/reset/import-style operations
  • output_format: structured response formatting
  • metadata.version: output schema versioning
  • metadata.processor: skill processor identity

Project conventions emphasized by the skill:

  • Keep page and component directories clearly separated
  • Prefer local setData path updates such as list[0].name
  • Use unique keys in list rendering with wx:key
  • Keep page-level JSON configuration isolated from global app.json
  • Use subpackages and preloadRule for non-core pages when needed

WeChat Mini Program Development Tool (Free) Advanced Features

  • Supports structured operations through input_params, including create, query, modify, delete, export, save, and transform-style actions
  • Uses config_options for runtime behavior control, making Openclaw Skills flexible for different mini program tasks
  • Built around markdown instructions plus command execution, enabling agent-driven code generation and validation
  • Includes reusable component patterns with properties, custom methods, and triggerEvent
  • Encourages lifecycle-aware page handling across onLoad, onShow, onHide, and onUnload
  • Promotes performance best practices such as local setData updates, wx:key, rpx usage, and image compression
  • Supports subpackage loading and preloadRule configuration for scalable mini program routing
  • Provides structured success/error output for reliable automation and debugging in Openclaw Skills

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*