Wechat Miniprogram Templates
Description
微信小程序开发 Skill — 6 类提示词模板,覆盖个人主体小程序从需求拆解到提审通过的完整开发链路
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
微信小程序开发模板 Skill
6 类提示词模板,覆盖个人主体微信小程序从"一个模糊想法"到"提交审核通过"的完整开发链路。
一套为 AI 编程助手设计的微信小程序开发方法论沉淀。不是代码脚手架,而是**把你和小程序的开发过程拆成 6 个明确阶段**,每个阶段配一套结构化提示词模板,让 AI 的输出从"随机发挥"变成"可控交付"。
为什么需要这个
用 AI 写小程序的典型翻车现场:
- 一句话需求丢过去,AI 直接吐出 2000 行代码,跑不起来也不知道从哪改
- 反复改 bug,越改越乱,最后项目变成一团浆糊
- 提审被拒,理由是"类目与实际功能不符""缺少隐私政策"——这些本可以提前发现
根本原因:**需求没拆清就写代码,页面没定型就填逻辑,提审前没做合规检查**。
这 6 类模板就是按正确的开发顺序设计的,每一类都强制 AI 做"该做的事",并明确禁止"不该做的事"。
6 类模板
| # | 类别 | 什么时候用 | AI 会输出什么 |
|---|---|---|---|
| 1 | 需求拆解 | 只有模糊想法,还没想清楚功能和页面 | 3-5 个核心功能(按优先级)、页面清单、MVP 版本建议、个人主体受限功能提醒、待确认问题(≤5 个) |
| 2 | 页面结构 | 需求定了,要搭页面骨架 | wxml 区块划分、需要的 data 字段、交互定义、关联页面跳转、该页面的验收标准 |
| 3 | 单功能开发 | 页面骨架有了,逐个实现功能 | 只实现指定的那一个功能 + 改动文件清单 + 自测方法 |
| 4 | 修 Bug | 运行报错、按钮无效、真机/模拟器不一致 | 最小改动修复 + 原因分析 + 验证步骤 |
| 5 | 合规检查 | 功能做完了,提交审核前 | 6 项合规风险报告(类目、主体限制、数据权限、隐私政策、占位内容、必改项) |
| 6 | 提审前自查 | 上传代码前的最后一道关 | 6 项逐条判定(通过/风险/需修改)+ 真机测试路径建议 + 10 分钟行动清单 |
**完整链路:**
① 需求拆解 → ② 页面结构 → ③ 单功能开发 → ④ 修 Bug → ⑤ 合规检查 → ⑥ 提审前自查
安装
本仓库遵循 [Agent Skills](https://docs.anthropic.com/en/docs/agents-and-tools/agent-skills) 规范,兼容 WorkBuddy、CodeBuddy、Claude Code 等支持 `SKILL.md` 的 AI 编程工具。
WorkBuddy / CodeBuddy
git clone https://github.com/ZiffChow/wechat-miniprogram-templates.git ~/.workbuddy/skills/wechat-miniprogram-templates
Claude Code
git clone https://github.com/ZiffChow/wechat-miniprogram-templates.git ~/.claude/skills/wechat-miniprogram-templates
手动安装
下载本仓库,把整个文件夹放到你的 skills 目录下,确保目录名为 `wechat-miniprogram-templates`。
安装后无需额外配置,下次会话自动生效。
使用
方式一:自然语言触发(推荐)
直接说需求,AI 会自动判断你处在哪个阶段:
| 你说 | 触发 |
|---|---|
| "我想做个记账小程序,但还没想清楚" | ① 需求拆解 |
| "帮我设计记账本的页面结构" | ② 页面结构 |
| "实现'新增一笔'这个功能" | ③ 单功能开发 |
| "点保存没反应,报错了" | ④ 修 Bug |
| "帮我看看有没有合规问题" | ⑤ 合规检查 |
| "要提审了,最后帮我查一遍" | ⑥ 提审前自查 |
方式二:显式指定
想跳过判断直接用某一类:
用第 3 类模板,实现"删除记录"功能
方式三:斜杠命令
/wechat-miniprogram-templates
模板设计原则
每一类模板都内置了约束条件,这是它们的价值所在:
**「不要编
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11