小程序生成器

SKILL开发
开发 未标注权限 许可证不明确
安装这个技能

从需求到交付构建、修复、测试和发布微信小程序。适用于将想法梳理为可控范围的 MVP、编写或修改原生微信小程序项目(WXML/WXSS/JavaScript/TypeScript)、选择本地或云端数据方案、排查微信开发者工具或真机问题、进行发布前隐私/域名/接口审计,以及指导体验版、上传和提审准备。

一句话选型结论

按资料字段整理

小程序生成器是开发类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类开发 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_a2494045/wechat-miniprogram-builder
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

开发
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_a2494045仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791722878
正文体量9.4 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
写代码与改 bug

按需求补代码、定位并修掉报错。

读仓库与生成改动

让模型读懂项目结构,再给出可落地的改动。

跑测试与排查故障

按现象排查问题,补测试用例并复跑。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在开发场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
小程序生成器当前 未标注权限 未标注 未标注 未标注 有
技能审查员 浏览器控制 ClawHub 市场 877.9 万 OpenClaw 有
Vercel React 最佳实践 浏览器控制 GitHub 仓库 849.1 万 Codex、Claude、Cursor 有
GitHub 代码协作 联网访问 ClawHub 市场 763.3 万 OpenClaw 有
网页设计指南 联网访问 GitHub 仓库 668.6 万 Codex、Claude、Cursor 有
本体论 只读 ClawHub 市场 663.7 万 OpenClaw 有

SKILL.md 全文

9.4 KB
模型实际读到的说明书原文,来自技能仓库

微信小程序构建

Deliver a usable MVP before extending scope. Treat the user as product owner and the agent as the technical lead: make assumptions explicit, keep platform-console actions separate from code changes, and never invent identifiers, credentials, qualifications, or approval results.

Operating rules

  • Work in native Mini Program conventions unless the existing project establishes another stack. Do not use browser-only DOM APIs, HTML, CSS features, or hover-dependent interaction without checking compatibility.
  • Keep the first release to one complete core flow plus essential empty/loading/error states. Defer account systems, social features, payments, and complex analytics unless they are the core value.
  • Do not expose an AppID, secret, private key, user data, or a production cloud environment ID in a public repository. Use documented placeholders or local configuration ignored by Git.
  • Treat publication rules, supported APIs, quotas, eligibility, fees, and review timelines as changeable. Verify them in the current official WeChat documentation or console before advising the user to submit.
  • Use the native component and API documentation as the source of truth where a simulator differs from a device. Ask for a screenshot and the complete console error if UI labels or tooling have changed.

1. Frame the release before coding

Start by restating the idea in one sentence and propose a v1. Gather missing decisions in one batch; give a sensible default for each so the user can approve or edit quickly.

Required decisions:

  1. Target user and the job they are trying to complete.
  2. One primary success action, input fields, and what happens after it.
  3. Pages, navigation, and every important tap/long-press/swipe.
  4. Data fields, ownership, retention/deletion, and whether data must survive reinstall, sync across devices, or be shared.
  5. Login, location, media, payment, notification, and other sensitive capabilities.
  6. Visual direction: logo/assets, brand colors, content tone, and accessibility needs.
  7. Release target: personal local use, invited experience testers, public release, or commercial service.

Produce a compact product brief containing: scope/non-goals, page map, user flow, data model, acceptance criteria, risks, and unresolved choices. Read prompt-templates.md when the user needs copyable prompts or a requirements interview.

2. Validate direction cheaply

For a new or visually significant product, build an interactive browser prototype of the key flow before creating the native project. Use it to validate layout, wording, and state transitions only; label it as a prototype, not Mini Program code.

Create a visual specification before implementation: named colors with hex values, spacing scale, typography scale, component states, image treatment, and touch targets. If a logo exists, derive a restrained palette from it rather than guessing unrelated colors.

For an existing Mini Program or a narrowly scoped bug fix, skip the prototype and record why.

3. Build the native project

Inspect the project before modifying it. Identify its framework, package manager, app/page configuration, components, cloud functions, environment configuration, and existing lint/test commands. Preserve established conventions.

For a new native project, make every page complete enough to test:

  • Register routes in app.json; keep page-level .json, .wxml, .wxss, and .js/.ts files aligned.
  • Implement explicit loading, empty, validation-error, and failure states. Disable or guard repeat submissions.
  • Use responsive rpx layout deliberately; verify on a small and a large device viewport. Do not rely on mouse hover or fixed desktop geometry.
  • Centralize theme tokens and reusable components before duplicating styles across pages.
  • Validate input on both client and server/cloud-function boundaries. Show actionable Chinese copy instead of raw errors.
  • Include only the permissions and APIs required by the defined flow. For each sensitive API, record purpose, trigger, fallback, and deletion path.

Choose data storage deliberately

Need Default Implementation requirement
Temporary, single-device prototype Local storage Namespace keys, handle corrupt/missing values, provide reset/export guidance.
Persistent or cross-device personal data Cloud development or an approved backend Model ownership and access rules first; keep privileged operations server-side.
Shared, moderated, paid, or regulated data Approved backend with explicit design review Define authorization, audit, deletion, abuse controls, and compliance constraints before coding.

Never claim that cloud data is configured merely because client calls exist. Record the environment ID as user-provided configuration, create only the needed collections/functions, apply least-privilege rules, and test the real persistence path on a device.

4. Develop in observable slices

Implement one complete user flow at a time, preferably core screens before a decorative landing page. After each slice:

  1. Compile in WeChat Developer Tools.
  2. Exercise the acceptance criteria in the simulator.
  3. Check layout, text clipping, tap behavior, asset loading, loading/error/empty states, and persistence where applicable.
  4. Capture actual errors and repair the cause, then rerun the full core-flow regression—not only the changed case.

For a defect report, collect: exact reproduction steps, expected versus actual behavior, full console/error text, device/OS/WeChat version if device-only, and a screenshot or video. Do not diagnose from a partial error paraphrase.

When a browser implementation is incompatible, replace it with a native component/API pattern rather than suppressing the warning. When a code edit appears not to apply, rebuild/reload deliberately, confirm the edited file is part of the imported project, then inspect cache/build output before making unrelated changes.

5. Test on real devices

Use the Developer Tools feature appropriate to the question:

Goal Use Evidence to collect
Fast visual check Preview Screenshot and build identity
Cross-platform behavior Real-device test/preview on representative iOS and Android devices Device, OS, WeChat version, pass/fail notes
Device-only defect Remote debugging Full logs, reproduction steps, screenshots

Before sharing any build, execute the core-flow regression: create/add, edit or change state, relaunch and verify persistence, delete/reset, invalid/empty input, no-network or failed request (where relevant), and a complete return navigation path. Add product-specific edge cases to the product brief.

6. Audit before sharing, uploading, or submitting

Run the repository audit first:

python3 scripts/audit_miniprogram.py /absolute/path/to/project --format markdown

If the project lives elsewhere, invoke the script from this skill's scripts/ directory. It is a static inventory, not a certification: review every finding and mark unavailable evidence as not verified, never as a pass.

Then prepare a release checklist containing four owners:

  • Code: build succeeds; routes work; errors/logging reviewed; generated/test files excluded; AppID is deliberate; no secrets are tracked.
  • Network and cloud: list every external host by API type; require secure endpoints and current console configuration where applicable; verify cloud environment, data rules, and deployed functions.
  • Privacy: inventory all information/permission-related APIs with file and line; map each to a user-visible purpose and current privacy declaration. Remove unused collection.
  • Platform console: owner verifies account subject, service category, basic information, screenshots, test access, record/filing or verification requirements, and submission text in the current WeChat console.

Generate the inventory with the audit script and read release-playbook.md before guiding a release. Clearly distinguish: changed in code, needs user action in console, not verified, and blocked.

7. Hand off cleanly

Deliver the project path, how to import it, required configuration values (without secrets), implemented v1 scope, test results with device coverage, known limitations, and exact next actions. For review copy, describe what a reviewer sees, what they can do, and the result—truthfully and concretely.

Do not promise that an upload is published, an experience build is publicly accessible, or a review will pass. These are platform-controlled states that must be confirmed by the account owner.

References and tools

  • prompt-templates.md: Requirements interview, prototype, implementation, bug-report, and audit prompt templates.
  • release-playbook.md: Static-audit interpretation and release evidence checklist.
  • audit_miniprogram.py: Offline static inventory for routes, configuration, network calls, privacy-related APIs, and debug logging.

常见问题

5 问
答案由本站依据条目字段整理
小程序生成器怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_a2494045/wechat-miniprogram-builder。安装方式为未标注。装完刷新技能列表或重开客户端。

小程序生成器支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

小程序生成器权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

小程序生成器收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

小程序生成器用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。