miniprogram-development
使用 CloudBase 构建微信小程序
微信小程序开发需要平台特定的结构、预览和 CloudBase 决策。此技能可指导设置、调试、发布检查和 CloudBase 集成。
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "miniprogram-development" from https://skillstore.io/skills/tencentcloudbase-miniprogram-development.md and its manifest at https://skillstore.io/api/skills/tencentcloudbase-miniprogram-development/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“miniprogram-development”。 审查一个存在不必要图标间距的小程序标签栏。
预期结果:
- 在不需要图标时,推荐使用纯文本 custom tabBar。
- 解释哪些布局属性可以移除空白图标空间。
- 列出需要协同变更的文件。
正在使用“miniprogram-development”。 为用户生成图片上传规划 CloudBase 支持。
预期结果:
- 将客户端上传步骤与权限敏感的服务端逻辑分离。
- 指出环境选择和存储权限检查。
- 警告不要硬编码环境猜测。
正在使用“miniprogram-development”。 为真机预览准备项目。
预期结果:
- 检查 appid、miniprogramRoot、页面注册和本地资源。
- 优先使用 WeChat Developer Tools 进行模拟器和设备测试。
- 仅在 DevTools 不可用时使用 miniprogram-ci。
安全审计
高风险Most static command findings are false positives caused by Markdown code spans and fenced examples. Confirmed issues are the mutable external instruction URLs and parent-directory references to sibling skills outside the package. No prompt injection language was found in the reviewed files.
已确认安全问题 (1)
能力复核项 (12)
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
风险因素
⚙️ 外部命令 (50)
🌐 网络访问 (8)
📁 文件系统访问 (4)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/tencentcloudbase-miniprogram-development/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/tencentcloudbase-miniprogram-development?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/tencentcloudbase-miniprogram-development?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/tencentcloudbase-miniprogram-development/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/tencentcloudbase-miniprogram-development.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
tencentcloudbase. (2026). miniprogram-development security audit report (audit version 2) [Author version 2.23.8]. Skillstore. https://skillstore.io/skills/tencentcloudbase-miniprogram-development/audits/2BibTeX 引用
@techreport{tencentcloudbase-tencentcloudbase-miniprogram-development-2026,
author = {tencentcloudbase},
title = {miniprogram-development security audit report (audit version 2)},
institution = {Skillstore},
year = {2026},
number = {2},
url = {https://skillstore.io/skills/tencentcloudbase-miniprogram-development/audits/2},
note = {Author version 2.23.8}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "miniprogram-development security audit report (audit version 2)"
version: "2.23.8"
type: report
authors:
- name: "tencentcloudbase"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/tencentcloudbase-miniprogram-development/audits/2"
identifiers:
- type: other
value: "skillstore:tencentcloudbase-miniprogram-development:audit:2"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
创建小程序页面
为新功能规划页面文件、组件结构、路由和必需配置。
审查预览就绪状态
在真机测试前检查项目配置、appid、miniprogramRoot、资源和预览工作流。
添加 CloudBase 集成
为环境设置、身份、数据库访问、存储和云函数应用 wx.cloud 模式。
试试这些提示
为 [feature] 创建一个微信小程序页面。包含必需的页面文件,并说明每个文件应放在哪里。
审查此小程序项目配置的预览就绪状态。检查 appid、miniprogramRoot、页面注册和资源路径。
为 [feature] 设计一个 CloudBase 数据流。正确使用 wx.cloud,并将客户端安全写入与需要特权的云函数工作分离。
准备此小程序用于预览或上传。识别 DevTools、真机测试、miniprogram-ci 和发布门禁所需的检查项。
最佳实践
- 编辑页面文件前,确认已配置的小程序根目录。
- 仅在项目明确使用 CloudBase 时使用 CloudBase 规则。
- 在上传或发布前完成预览和发布检查。
避免
- 不要将 Web 身份验证模式照搬到小程序中。
- 当纯文本标签满足需求时,不要创建基于图标的标签栏。
- 不要在未检查 appid、资源和项目配置的情况下发布。
常见问题
此技能支持哪些项目?
它要求使用 CloudBase 吗?
它能帮助使用 WeChat Developer Tools 吗?
它能使用 miniprogram-ci 吗?
它覆盖 WeChat Pay 吗?
哪些 AI 工具可以使用它?
开发者详情
许可证
MIT
作者版本
v2.23.8
Skillstore 修订
r1
引用
24b2fe42a456262f3fd0fb3df72e12d9ed2c32ec
维护新鲜度
2026/7/18
使用量
1 次下载 · 0 次浏览
文件结构