You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 589dc40
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: skills/miniprogram-development/SKILL.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ If a referenced sibling skill file is missing from this environment, ask the use
49
49
- Mixing Web SDK assumptions into `wx.cloud` projects.
50
50
- Applying CloudBase constraints before confirming the project actually uses CloudBase.
51
51
- Assuming Stable WeChat Developer Tools includes Nightly Skills/`wechatide` (it may not).
52
+
- Running `which wechatide`, finding nothing, and quietly switching to manual import. Missing `wechatide` is a setup gap to report and offer to fix, not an environment limit — state that Nightly is required, offer to install it, and wait for the user's decision before falling back.
52
53
- Forcing CloudBase MCP Tencent Cloud login for daily mini program cloud ops when Nightly `wechatide` already works.
53
54
- Inventing `wechatide` tool names or flags instead of using `--help` / Nightly `tools.yaml`.
54
55
- Bypassing wxide CLI / IDE for message-push ops with low-level transport before `cloud_*_msg_push` is exposed (see [message-push-customer-service.md](references/message-push-customer-service.md)).
@@ -101,9 +102,10 @@ Use this skill for **WeChat Mini Program development** when you need to:
101
102
- Only apply CloudBase-specific auth, database, storage, or cloud function constraints when the project is using CloudBase
102
103
103
104
5.**Recommend the right preview/debug/cloud-ops path**
104
-
-Prefer **Nightly** WeChat Developer Tools (built-in Skills/MCP) and execute via `wechatide` when available — see [devtools-debug-preview.md](references/devtools-debug-preview.md)
105
+
-Default target: **Nightly** WeChat Developer Tools (built-in Skills/MCP), executed through `wechatide` — see [devtools-debug-preview.md](references/devtools-debug-preview.md)
- If Nightly / `wechatide` is unavailable, fall back to `miniprogram-ci` for preview/upload and CloudBase MCP for cloud resources
107
+
- A missing `wechatide` is a **one-time setup gap, not an environment limit**. Tell the user Nightly is required for the CLI-driven path, offer to download/install it, and **wait for their answer**. Only after they decline or cannot install do you continue with `miniprogram-ci` + CloudBase MCP.
108
+
- Never present stable DevTools + hand import as the recommended default, and never make the "keep it simple" trade-off on the user's behalf. Manual import is a downgrade the user chooses, not one you assign.
107
109
108
110
---
109
111
@@ -156,9 +158,10 @@ Keep the custom `tabBar` layout text-only, and use flex centering or matching `h
156
158
157
159
## Debugging, Preview, and Publishing
158
160
159
-
-Prefer**Nightly** DevTools + `wechatide` for open project, compile, simulator, console/network debug, preview, upload, and daily cloud ops (WeChat login — no separate Tencent Cloud login)
161
+
-**Default path**:**Nightly** DevTools + `wechatide` for open project, compile, simulator, console/network debug, preview, upload, and daily cloud ops (WeChat login — no separate Tencent Cloud login)
160
162
- Always pass required context: `-c <clientName>`, absolute `--project`, valid `appid`, and cloud `env` when needed
161
-
- If Nightly / `wechatide` is not available, use `miniprogram-ci` as the fallback for preview/upload/npm, and CloudBase MCP for cloud resources; tell the user to install Nightly for full Skills/MCP
163
+
-**If `wechatide` is missing**: report it as a setup gap, state that Nightly is required for the CLI-driven path, offer to install it, and wait for the user's answer — do not downgrade on your own
164
+
- Only after the user declines or cannot install Nightly: use `miniprogram-ci` for preview/upload/npm plus CloudBase MCP for cloud resources, and say which capabilities are now missing (simulator, console/network, automation, CLI cloud ops)
162
165
- For detailed workflows, read [debug and preview reference](references/devtools-debug-preview.md) and [WeChat IDE Skills vs CloudBase MCP](references/wxide-vs-cloudbase-mcp.md)
0 commit comments