miniprogram-automation

Community

Automate WeChat mini-program tasks.

Authorwhinc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates repetitive tasks in WeChat mini-program development and testing, such as generating reusable automation scripts, mocking API calls, and performing end-to-end testing.

Core Features & Use Cases

  • Script Generation: Create standalone Node.js scripts or Jest tests for automation.
  • Interaction & Validation: Automate page navigation, element interaction, data reading, and visual validation (screenshots).
  • API Mocking: Mock wx methods like request for controlled testing environments.
  • Error Handling: Includes robust error checking, logging, and cleanup procedures.
  • Use Case: Automatically test the login flow of a mini-program by filling in credentials, submitting the form, and verifying successful navigation to the dashboard, all within a script.

Quick Start

Use the miniprogram-automation skill to generate a Node.js script that navigates to '/pages/home/index', reads the page title, and takes a screenshot.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: miniprogram-automation
Download link: https://github.com/whinc/wechat-miniprogram-skills/archive/main.zip#miniprogram-automation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.