miniprogram-development

Build, configure, and deploy WeChat Mini Programs with CloudBase integration.

72|5|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/TencentCloudBase/skills --skill miniprogram-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: miniprogram-development
Source: https://github.com/TencentCloudBase/skills/tree/main/skills/miniprogram-development
Command: npx skills add https://github.com/TencentCloudBase/skills --skill miniprogram-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides developers through building, configuring, and deploying WeChat Mini Programs with CloudBase integration, reducing setup friction and ensuring best practices.

Core Features & Use Cases

  • Project structure guidance: organize code in miniprogram and cloudfunctions directories with proper configuration.
  • CloudBase integration: configure environments, databases, storage, and cloud functions for mini programs.
  • WeChat tools workflow: ensure project.config.json is correct, use WeChat Dev Tools for preview, debugging, and publishing, and manage environment and dependencies.
  • AI model invocation: use CloudBase AI models within mini programs for on-device or server-side inference.
  • Use Case: Build a login-free mini program that fetches user data via cloud functions and displays AI-generated content.

Quick Start

Install WeChat Developer Tools and create a new Mini Program project. Arrange your project directories with miniprogram and cloudfunctions, configure project.config.json (appid, miniprogramRoot), and start development in the WeChat Dev Tools.

Frequently Asked Questions about miniprogram-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a WeChat Mini Program project structure with CloudBase?

To set up a WeChat Mini Program with CloudBase, organize your project into miniprogram and cloudfunctions directories, configure project.config.json with your appid and miniprogramRoot, and manage environments via WeChat Dev Tools.

Can I invoke AI models within a WeChat Mini Program using CloudBase?

Yes, you can invoke AI models within a WeChat Mini Program using CloudBase. This skill guides patterns for on-device or server-side inference through cloud functions without requiring a login UI.

What is the best way to configure CloudBase environments for mini programs?

The best way to configure CloudBase environments for mini programs is through WeChat Dev Tools. You manage environment setup, database, storage, and cloud functions while ensuring proper project.config.json alignment.

Does CloudBase integration require a login UI for WeChat Mini Programs?

No, CloudBase integration does not require a login UI. This skill enforces safe cloud-function operations and supports building login-free mini programs that fetch data and display AI-generated content.

How do I deploy cloud functions in a WeChat Mini Program project?

To deploy cloud functions in a WeChat Mini Program, place them in the cloudfunctions directory, configure your CloudBase environment, and use WeChat Dev Tools for previewing, debugging, and publishing resources.