wxa-create-ai-miniprogram for Openclaw

A command-line skill designed to scaffold WeChat Mini Programs from scratch with out-of-the-box AI capabilities, cloud databases, and login features.

binggg
v0.2.0
Jun 13, 2026
0
562
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install wxa-create-ai-miniprogram

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 wxa-create-ai-miniprogram 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 wxa-create-ai-miniprogram?

wxa-create-ai-miniprogram is an automated scaffold generator designed to jumpstart the development of WeChat Mini Programs integrated with advanced AI capabilities. By leveraging the mp-skills CLI and Node.js 18+, it automatically sets up an optimized project skeleton. Developers can seamlessly integrate cloud-native databases, user authentication, and transaction workflows using verified modular templates. This streamlines the initialization process, so you do not have to waste hours on boilerplate code.

As part of the Openclaw Skills ecosystem, this skill ensures that your new project follows strict architectural standards. It guides you from requirements analysis to project generation and foundational skill installation. By incorporating Openclaw Skills into your workflow, you guarantee a robust foundation with WeChat CloudBase, laying the groundwork for smart features like automated greetings, booking systems, or AI-driven conversational interfaces.

wxa-create-ai-miniprogram Use Cases

  • Starting a brand-new WeChat Mini Program project requiring instant cloud integration and AI abilities.
  • Developing transactional or service-based mini programs (such as food ordering, ticketing, or scheduling) with pre-built user greeting skills.
  • Setting up standard local environments quickly using Openclaw Skills patterns for automated scaffolding instead of manual code copying.
  • Automating WeChat CloudBase initialization, database preparation, and local configurations.

How wxa-create-ai-miniprogram Works

  1. Requirement Analysis: The agent queries the developer about target users and core functionalities, referencing the rich Openclaw Skills repository to propose matching modules.
  2. Project Generation: The agent triggers npx mp-skills new <project-name> to create a clean, standardized WeChat Mini Program project skeleton.
  3. Skill Installation: The agent installs the recommended initial skills (e.g., greet-skill or custom business logic templates) directly from the remote repository.
  4. Environment Initialization: The agent guides the developer in obtaining the WeChat AppID and Cloud Environment ID, prompting them to execute npx mp-skills setup for configuration.
  5. Project Verification: Runs verification steps to ensure the database collections, CloudBase resources, and project configurations are intact and ready for launch.

wxa-create-ai-miniprogram Setup

# Install the mp-skills CLI globally (if not already installed)
npm install -g mp-skills

# Create a brand new AI-powered WeChat Mini Program project
npx mp-skills new my-ai-miniprogram
cd my-ai-miniprogram

# Install the foundational greeting skill and other business components
npx mp-skills add TencentCloudBase/awesome-miniprogram-skills --skill greet-skill

# Initialize cloud environment and databases
npx mp-skills setup

After running the setup, ensure you open WeChat DevTools and point it to the project directory. Remember to update your AppID inside project.config.json and your Cloud Environment ID in miniprogram/app.js.

wxa-create-ai-miniprogram Data Schema & Taxonomy

The generated project structure organized by Openclaw Skills follows WeChat CloudBase best practices:

Path Description Role in AI Integration
/miniprogram Root directory of the mini program codebase. Contains UI pages and logic.
/miniprogram/app.js Main entry point of the app. Requires setting the CLOUD_ENV_ID to initialize CloudBase.
/project.config.json WeChat developer configuration. Needs the developer's registered WeChat appid to run.
/cloudbaserc.json CloudBase deployment settings. Generated automatically during the setup phase.

Once you execute npx mp-skills setup, cloud databases and matching collections are initialized seamlessly.

wxa-create-ai-miniprogram Advanced Features

  • Multi-Skill Orchestration: Combine diverse transactional behaviors (such as payment-skill and order-skill) automatically into a single project during scaffolding.
  • Automated Verification: Leverage npx mp-skills validate to audit project configurations and catch missing environment keys before deploying.
  • End-to-End Evaluation: Execute npx mp-skills eval to test flow completions and mock backend AI responses during local development.
  • Interactive Cloud Configuration: Interactive onboarding prompts that seamlessly integrate local development files with remote WeChat developer environments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*