mini-program-architecture-skill SKILL.md skillA
mini-program-architecture-skill from nocodemrli/mini-program-engineering-skill-suite is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add nocodemrli/mini-program-engineering-skill-suite/mini-program-architecture-skill@git:20260928.e9e955aPins git:20260928.e9e955a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- nocodemrli/mini-program-engineering-skill-suite
- Path
skills/mini-program-architecture-skill/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260928.e9e955a, committed Sep 28, 2026
- First version recorded
- Aug 13, 2026
- Size
- 4,105 bytes
- Repository stars
- 95
- License
- MIT
Translate a confirmed mini-program product specification or bounded feature into an implementable architecture covering modules, pages, components, services, canonical state sources, data models, interfaces, permissions, failures, caching, concurrency, idempotency, migration, rollback, external dependencies, and architecture decision records. Use when users ask how to structure a mini program, design data or APIs, divide frontend and cloud responsibilities, evolve an existing system safely, or…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# /mini-program-architecture-skill — 小程序工程架构 把已经确认的产品语义映射为可实现、可验证、可迁移和可回滚的工程方案。架构服务于产品约束,不改变产品语义来迁就技术方案。 ## 进入条件与边界 - 需要一份稳定的产品规格、明确功能边界,或现有项目的只读事实图。 - 已有项目先读取规则、当前源码与配置、Git 状态和必须保护的用户改动;优先延续已经有效的工程模式。 - 若目标用户、主流程或关键数据规则仍有实质冲突,退回产品决策点,不用架构选择掩盖歧义。 - 不直接实现代码,不决定未确认的按钮、奖励、付费、权限理由或业务状态。 ## 架构流程 1. 列出输入事实、产品不变量、质量目标、约束、未知项和不在本轮范围内的内容。 2. 将页面职责映射为页面、组件、领域服务、平台适配层和外部依赖,明确每层所有权。 3. 为关键事实指定唯一规范状态源,说明派生状态、生命周期、刷新时机与跨页同步。 4. 定义数据模型、标识、版本、校验、读写边界和敏感字段;说明本地、云端或第三方的权威关系。涉及云端状态或持久化时按 [云端状态、配置与写入安全合同](references/cloud-state-and-write-contracts.md) 约束三态恢复、配置组、适配器和存储不变量。 5. 定义 API 或云函数契约、认证与权限、错误分类、超时、重试、降级和可观察证据;外部服务明确“返回”和“业务结果有效”是不同门禁。 6. 针对重复请求、离线恢复、多端写入和异步回调,明确缓存、并发、幂等与一致性策略;一次性写入和创建型幂等必须给出存储层约束及稳定重试结果。 7. 若涉及存量数据或接口,写出兼容、迁移、灰度、回滚条件和失败后的恢复路径。 8. 比较至少一个可行替代方案,记录选择理由、代价和需要重新评估的触发条件。 9. 使用 [架构工作流](references/architecture-workflow.md) 自检,并按 [架构决策记录模板](assets/architecture-decision-record.md) 输出 ADR 与实施交接。 ## 最低输出 - 架构范围、事实、产品不变量、质量目标与未知项。 - 页面/组件/服务/平台层边界及依赖方向。 - 状态源、数据模型、接口、权限与失败策略。 - 条件触发时的权威三态、配置完整性、适配器契约、作用域隔离、秘密摘要、有效结果提交和真实依赖健康合同。 - 缓存、并发、幂等、一致性、迁移和回滚方案。 - 外部依赖风险、可观察性和对应产品验收行为。 - ADR:选择、替代方案、代价、验证方式与重新评估条件。 ## 停止条件 …
Read the whole file at its exact version.
How to install
mdr add nocodemrli/mini-program-engineering-skill-suite/mini-program-architecture-skill@sha256:71cea2924a62f36dThe line at the top of this page pins the label git:20260928.e9e955a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ymdjb55gonyduz6s)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 13, 2026 and Sep 28, 2026, about one every 46 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260928.e9e955a latest | 2026-09-28 | e9e955a | 4,105 B | A | view · diff |
| git:20260813.cfc2393 | 2026-08-13 | cfc2393 | 3,601 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4105 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
nocodemrli/mini-program-engineering-skill-suite · 95 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ymdjb55gonyduz6s GET https://markdownregistry.com/api/v1/resolve?ref=nocodemrli/mini-program-engineering-skill-suite/mini-program-architecture-skill GET https://markdownregistry.com/api/v1/blob/71cea2924a62f36d8b15a51b9c00d57502a12c539db2ebec5f3fa3239d238768
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from nocodemrli/mini-program-engineering-skill-suite
Every file in nocodemrli/mini-program-engineering-skill-suite