wx-cloudfunctions
Installation
SKILL.md
WX Cloud Functions
Contract
Use this skill to develop TypeScript WeChat cloud functions following the project's layered module conventions, and to package them with vite-plugin-uni-cloudfunctions.
Do not use this skill for:
- 运营数据写入(新增提示词/分类/图片)— redirect to
content-ops. - CloudBase 环境管理、安全规则、云存储 — redirect to
cloudbaseskill. - 微信开发者工具的预览/自动化操作 — redirect to
wechatide-skill.
Stop and ask when: 新集合的数据模型 ER 图未经用户确认就要求云端同步;或某个 action 预期高并发/长耗时,需要用户决定是否拆独立云函数。
Input Contract
Required:
- 业务需求:函数名(module 名)、action 列表、每个 action 的输入/输出
- 涉及的 CloudBase 集合与字段