wechat-mini-program-development
WeChat mini-program development skill with standard project structure, request wrapper, and API management.
Skill by trae-community
Chalk Labs
Need help deploying wechat-mini-program-development?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/trae-community-wechat-mini-program-development
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/wechat-mini-program-development
What's inside
- Skill name
wechat-mini-program-development- Description
- WeChat mini-program development skill with standard project structure, request wrapper, and API management. Invoke when developing WeChat mini-programs or when user asks for mini-program development support.
- License
- MIT
- Instructions
- 368 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# WeChat Mini-Program Development Skill
A comprehensive skill for WeChat mini-program development, providing standard project structure, unified request wrapper, API endpoint management, and configuration file conventions.
## Description
This skill helps developers quickly scaffold and develop WeChat mini-programs with best practices and standardized code structure. It provides:
- Standard project directory structure
- Unified HTTP request wrapper with interceptors
- Centralized API endpoint management
- Configuration file conventions
## Usage Scenario
Invoke this skill when:
- User asks to create a new WeChat mini-program project
- User needs help with WeChat mini-program development
- User asks for HTTP request wrapper for WeChat mini-program
- User wants to set up API management in WeChat mini-program
## Instructions
### 1. Project Structure Setup
Create the following directory structure for the WeChat mini-program:
```
├── app.js // Mini-program entry logic
├── app.json // Mini-program global configuration
├── app.wxss // Mini-program global styles
├── sitemap.json // Sitemap configuration (SEO related)
├── pages/ // Pages folder
│ ├── index/ // Home page
│ │ ├── index.js // Page logic
│ │ ├── index.json // Page configuration
│ │ ├── index.wxml // Page structure
│ │ └── index.wxss // Page styles
│ └── [other pages]/ // Other pages follow same structure
├── components/ // Custom components folder
├── utils/ // Utility functions folder
├── assets/ // Static assets folder
│ ├── images/ // Image resources
│ └── icons/ // Icon resources
└── .trae/ // TRAE configuration folder
```
### 2. Create Configuration File (utils/config.js)
Create `utils/config.js` with CommonJS syntax:
```javascript
module.exports = {
baseUrl: 'https://api.example.com',
timeout: 10000,
appId: 'your-app-id'
};
```
### 3. Create API Management (utils/api.js)
Create `utils/api.js` with centralized endpoint management:
```javascript
module.exports = {
// User module
user: {
login: '/user/login',
info: '/user/info',
update: '/user/update'
},
// Goods module
goods: {
list: '/goods/list',
detail: '/goods/detail',
search: '/goods/search'
},
// Order module
order: {
create: '/order/create',
list: '/order/list',
detail: '/order/detail'
}
};
```
### 4. Create Request Wrapper (utils/request.js)
Create `utils/request.js` with unified request/response interceptors:
**Request Interceptor Features:**
- Automatically concatenate full request URL (baseUrl + endpoint path)
- Automatically add unified request headers (Content-Type: application/json)
- Automatically inject user authentication token
- Support custom headers, timeout, loading state
- Let wx.request handle parameter serialization natively
**Response Interceptor Features:**
- Unified loading state management
- HTTP status code 200-299 considered successful
- Business status code === 0 considered successful
- Automatically return business data field
- Business failure automatically shows toast
- 401 automatically redirects to login page and clears token
- 5xx and network errors handled uniformly
```javascript
const config = require('./config.js');
const request = (options) => {
return new Promise((resolve, reject) => {
const showLoading = options.showLoading !== false;
if (showLoading) {
wx.showLoading({
title: options.loadingText || 'Loading...',
mask: true
});
}From trae-community/trae-skills, MIT.
More from trae-community/trae-skills
- 0.610score
cycle-delivery
trae-community
Governs evidence-gated software delivery through the local Cycle control plane.
SkillBFreshness: B★ 21Claude Code +9 - 0.610score
project-governance
trae-community
为 AI 长期项目建立「项目记忆 + 文件索引 + 工作规则 + 版本记录」的治理系统,让 AI 在长期项目里「不忘事、不乱改、不重复犯错」,换会话后仍能接着做。Set up and maintain a project governance workspace for AI-assisted…
SkillBFreshness: B★ 21Claude Code +9 - 0.607score
entropy-box-zh
trae-community
以箱熵(Entropy Box)的方案咨询 Consult 为核心,把边界明确的具身智能技术需求转化为候选实现方法和有依据的工程工作流。先由当前大模型澄清并拆分宽泛需求,分别咨询具体子问题,再用 Search 深入了解已选技术、用 Lookup 锚定实体、用 Evidence…
SkillBFreshness: B★ 21Claude Code +9 - 0.605score
cloudbase
trae-community
Use when building, deploying, or debugging Tencent CloudBase (腾讯云开发 / TCB) apps in Trae — Web, WeChat Mini Program, cloud functions, CloudRun, auth…
SkillBFreshness: B★ 21Claude Code +9 - 0.605score
docx-diff-comment
trae-community
Compare two Word documents to find new features in V2, add comments to the V2 document for each new feature, and generate a requirements table with effort…
SkillBFreshness: B★ 21Claude Code +9 - 0.605score
gbr-pair
trae-community
Pair a phone running Build Remote Agent to this Trae desktop session via gbr/1.
SkillBFreshness: B★ 21Claude Code +9 - 0.489score
cn-punctuation-checker
trae-community
Checks Chinese text for incorrect English punctuation marks.
SkillDFreshness: D★ 21Claude Code +9 - 0.489score
video-to-keyframes
trae-community
Extracts video frames, detects cuts/segments, selects candidate keyframes, and generates review HTML galleries.
SkillDFreshness: D★ 21Claude Code +9 - 0.486score
web-design-teroop
trae-community
A design-first architect that generates, persists, and maintains a comprehensive design document (Style, Color, Typography, Icons, Logo) to ensure a premium…
SkillDFreshness: D★ 21Claude Code +9 - 0.486score
trae-claw-install
trae-community
Run a repository-driven OpenClaw deployment workflow with platform routing, setup/start/check, acceptance checks, and unified troubleshooting.
SkillDFreshness: D★ 21Claude Code +9 - 0.486score
git-commit-generator
trae-community
Generate clear, standardized git commit messages based on code changes (diffs), following Conventional Commits specification.
SkillDFreshness: D★ 21Claude Code +9 - 0.486score
daily-hot-news
trae-community
获取今日全网新闻热榜数据,聚合多个主流平台(微博热搜、百度热搜、知乎热榜、头条热榜、 哔哩哔哩热门、抖音热搜等)的实时热点话题。当用户提到"今日热搜"、"新闻热榜"、 "今天有什么热点"、"全网热搜"、"热门新闻"、"今日新闻"、"热榜"等关键词时触发此技能。 不适用于查询历史新闻或特定领域深度分析。
SkillDFreshness: D★ 21Claude Code +9
Signals
- Stars
- 21
- Forks
- 23
- Open issues
- 1
- Last commit (this folder)
- Mar 9, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/trae-community/trae-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from trae-community
- 0.610score
cycle-delivery
trae-community
Governs evidence-gated software delivery through the local Cycle control plane.
SkillBFreshness: B★ 21Claude Code +9 - 0.610score
project-governance
trae-community
为 AI 长期项目建立「项目记忆 + 文件索引 + 工作规则 + 版本记录」的治理系统,让 AI 在长期项目里「不忘事、不乱改、不重复犯错」,换会话后仍能接着做。Set up and maintain a project governance workspace for AI-assisted…
SkillBFreshness: B★ 21Claude Code +9 - 0.607score
entropy-box-zh
trae-community
以箱熵(Entropy Box)的方案咨询 Consult 为核心,把边界明确的具身智能技术需求转化为候选实现方法和有依据的工程工作流。先由当前大模型澄清并拆分宽泛需求,分别咨询具体子问题,再用 Search 深入了解已选技术、用 Lookup 锚定实体、用 Evidence…
SkillBFreshness: B★ 21Claude Code +9 - 0.605score
cloudbase
trae-community
Use when building, deploying, or debugging Tencent CloudBase (腾讯云开发 / TCB) apps in Trae — Web, WeChat Mini Program, cloud functions, CloudRun, auth…
SkillBFreshness: B★ 21Claude Code +9 - 0.605score
gbr-pair
trae-community
Pair a phone running Build Remote Agent to this Trae desktop session via gbr/1.
SkillBFreshness: B★ 21Claude Code +9 - 0.605score
docx-diff-comment
trae-community
Compare two Word documents to find new features in V2, add comments to the V2 document for each new feature, and generate a requirements table with effort…
SkillBFreshness: B★ 21Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get wechat-mini-program-development running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
wechat-mini-program-development skill. Agent Mart. https://agentmart.dev/skills/trae-community-wechat-mini-program-development (last updated 2026-10-24)