Foreword¶
Real-device automation testing for Mini Programs often requires logging into the minitest.weixin.qq.com console, or using open interfaces to submit tasks, check statuses, and maintain test plans and cases. In daily development, these operations are scattered across documentation, consoles, and CI scripts, making it difficult for an Agent to execute them for you within a unified context.
The “Mini Program Cloud Testing” Skill on SkillHub (Coordinate @user_05b87ff0/minitest) encapsulates WeChat MiniTest cloud capabilities into instructions and calling conventions readable by Agents. It is designed for automation testing operations completed Exclusively via External Services (minitest.weixin.qq.com). Below is an introduction to what it is, what it can do, and how to install and use it.
What is this¶
“Mini Program Cloud Testing” is a community-sourced dev-programming Skill, currently at version 1.0.0, published by user_05b87ff0.
The Skill description states: MiniTest (Mini Program Cloud Testing) is used for WeChat Mini Program automation testing (External Service Only). Applicable scenarios include: submitting test tasks, querying task status, managing test plans and test cases, and handling quality inspection tasks. It relies on the WeChat Cloud Testing service at the underlying layer, with the documentation entry at MiniTest Official Documentation.
WeChat officially positions MiniTest as a Mini Program automation testing service independently developed by the WeChat testing team in collaboration with WeTest Cloud Real Devices. It supports real-device automation testing and performance analysis based on cloud real devices. The Skill itself does not replace the cloud testing platform but enables the Agent to call this external service according to the Skill’s guidance during conversations.
The SkillHub page marks requires_api_key=true. Before use, you must possess the relevant Cloud Testing API keys or credentials (refer to the SKILL.md after installation and the WeChat Open Documentation for specific fields).
Core Functions¶
The following capabilities are derived from the official Skill description and the parts of WeChat MiniTest documentation that correspond to this Skill; the Skill is responsible for guiding the Agent on when and how to connect to the external service.
- Test Tasks: Submit test tasks and query task status (consistent with the Cloud Testing HTTPS submission and task notification capabilities; see the official “Support for Continuous Integration” section).
- Test Assets: Manage test plans and test cases (corresponding to the case and plan capabilities on the Cloud Testing side; automation forms include Intelligent Monkey, Record & Replay, Custom Minium, AI Custom Testing, etc.; see the “Rich Automation Testing Capabilities” in the official documentation).
- Quality Inspection: Handle Quality Inspection (QI) tasks; the official documentation describes that Cloud Testing can combine automation testing with startup performance to output quality inspection reports covering startup performance, runtime performance, compatibility, and network performance.
- Performance & Real Devices: The Cloud Testing service supports dedicated startup performance analysis, real-device experience scoring, resource usage analysis, etc. (The Skill side indirectly covers this via the same external service; details are subject to the minitest console and API).
SkillHub Statistics (displayed on the page): Rating 100000, Downloads 4204, Installations 188.
Installation and Activation¶
Install SkillHub CLI (if not installed)¶
First, check if skillhub is installed:
command -v skillhub && skillhub --version
If not installed, you can perform a full installation (CLI + default Skills) according to the SkillHub installation documentation:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
If you only need the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Install this Skill¶
The installation method provided on the SkillHub page is: Refer to the SkillHub Installation Instructions and install the coordinate @user_05b87ff0/minitest.
Command line example (Must use --dir to point to the current Agent’s skills directory, otherwise it defaults to ./skills/ which may not be recognized):
skillhub install @user_05b87ff0/minitest --dir <skills directory>
Common Agent skills paths (from SkillHub installation documentation):
- Claude Code:
~/.claude/skills/ - Cursor:
~/.cursor/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation, restart or refresh the Agent as required by your Client, and configure the Cloud Testing API Key (requires_api_key=true).
Typical Usage¶
This Skill is External Service Only: When a user proposes requirements related to Cloud Testing, the Agent should call the capabilities on the minitest.weixin.qq.com side according to the instructions within the Skill, rather than simulating real devices locally.
Typical intents that can be combined with the Agent (consistent with the Skill description):
- Submit a round of Mini Program Cloud Testing tasks (e.g., specifying Development/Experience/Production versions, subject to versions supported by Cloud Testing).
- Query task status based on Task ID or name, and view report links or notification settings after completion (Cloud Testing supports email and phone number task completion notifications; see official documentation).
- Create or adjust test plans and associate test cases (including types like Record & Replay, Minium Custom Testing, AI Custom Testing, etc., subject to the capabilities configured in your Cloud Testing project).
- Initiate or follow up on Mini Program quality inspection tasks to obtain results in dimensions such as startup, runtime, compatibility, and network from the quality inspection report.
For interface-level parameters and examples, refer to the WeChat Open Documentation MiniTest Mini Program Cloud Testing and the HTTPS Test Submission, Quality Inspection chapters within it; the SKILL.md in the Skill package constrains the Agent’s tool and field usage.
Applicable Scenarios and Notes¶
Who is it for
- Mini Program teams already using or planning to use WeChat MiniTest Cloud Testing who wish to drive test submission, status checking, and plan/case management via natural language in environments like Cursor, Claude Code, or Codex.
- Developers who need to combine Cloud Testing with DevOps and Continuous Integration while reducing the back-and-forth switching between consoles and documentation.
Limitations and Notes
- External Service Only: All real-device and reporting capabilities depend on
minitest.weixin.qq.com. A WeChat account, project, and API credentials are required; free quota and duration rules are subject to the official documentation (e.g., the documentation mentions free testing duration per week). - API Key Required: The Skill tag indicates
requires_api_key=true; the Agent cannot legally call the interface without configuration. - Automation Types Have Boundaries: For example, Intelligent Monkey does not support complex operations like input or image uploading; complex scenarios often require Minium or AI Custom Testing, which must be consistent with the case types managed by the Skill.
- Version and Coordinate: Use
@user_05b87ff0/minitestwhen installing; the current Skill version is 1.0.0. Updates can be done viaskillhubfor the same coordinate, while still specifying the correct--dir.
Conclusion¶
The “Mini Program Cloud Testing” Skill consolidates operations like test submission, status querying, plan case management, and quality inspection from WeChat MiniTest Cloud Testing into the Agent workflow. It is suitable for teams that have already integrated Cloud Testing and need to drive automation via API Keys. Installation and coordinates are subject to SkillHub:
- Skill Page: https://www.skillhub.cn/skills/user_05b87ff0/minitest
- API Entry: https://api.skillhub.cn/user_05b87ff0/minitest
- WeChat Cloud Testing Documentation: https://developers.weixin.qq.com/miniprogram/dev/devtools/minitest/