mini-program-architecture-skill

mini-program-architecture-skill is a skill for Claude Code, Codex from NocodeMrLi/mini-program-engineering-skill-suite. It costs 129 tokens per session (866 once invoked), scanned A, original, MIT.

An architecture-planning guide for mini-programs, which are small applications that run inside a larger platform. It turns a confirmed product specification into a detailed technical design without writing the code.

In plain words
What is it for?
Use it to define pages, components, services, data models, interfaces, state ownership, caching, retries, concurrency, migration, rollback, and architecture decisions.
Why use it?
It prevents unclear product rules from being hidden inside technical decisions and makes data, permissions, failures, and migration risks explicit.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-architecture-skill
Any agent
npx skills add NocodeMrLi/mini-program-engineering-skill-suite --skill mini-program-architecture-skill
Clone the repo
git clone --depth 1 https://github.com/NocodeMrLi/mini-program-engineering-skill-suite

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mini-program-architecture-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-architecture-skill.svg)](https://agentmods.dev/skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-architecture-skill)
Your own site
<a href="https://agentmods.dev/skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-architecture-skill"><img src="https://agentmods.dev/badge/skills/nocodemrli/mini-program-engineering-skill-suite/mini-program-architecture-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 866 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00129 $0.00866
Opus 5 $0.00064 $0.00433
Sonnet 5 $0.00026 $0.00173
Haiku 4.5 $0.00013 $0.00087

Measured 5d ago against content hash efc831138c49, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mini-program-architecture-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mini-program-architecture-skill/SKILL.md · 46 lines

What it actually says

/mini-program-architecture-skill — 小程序工程架构

把已经确认的产品语义映射为可实现、可验证、可迁移和可回滚的工程方案。架构服务于产品约束,不改变产品语义来迁就技术方案。

进入条件与边界

  • 需要一份稳定的产品规格、明确功能边界,或现有项目的只读事实图。
  • 已有项目先读取规则、当前源码与配置、Git 状态和必须保护的用户改动;优先延续已经有效的工程模式。
  • 若目标用户、主流程或关键数据规则仍有实质冲突,退回产品决策点,不用架构选择掩盖歧义。
  • 不直接实现代码,不决定未确认的按钮、奖励、付费、权限理由或业务状态。

架构流程

  1. 列出输入事实、产品不变量、质量目标、约束、未知项和不在本轮范围内的内容。
  2. 将页面职责映射为页面、组件、领域服务、平台适配层和外部依赖,明确每层所有权。
  3. 为关键事实指定唯一规范状态源,说明派生状态、生命周期、刷新时机与跨页同步。
  4. 定义数据模型、标识、版本、校验、读写边界和敏感字段;说明本地、云端或第三方的权威关系。
  5. 定义 API 或云函数契约、认证与权限、错误分类、超时、重试、降级和可观察证据。
  6. 针对重复请求、离线恢复、多端写入和异步回调,明确缓存、并发、幂等与一致性策略。
  7. 若涉及存量数据或接口,写出兼容、迁移、灰度、回滚条件和失败后的恢复路径。
  8. 比较至少一个可行替代方案,记录选择理由、代价和需要重新评估的触发条件。
  9. 使用 架构工作流 自检,并按 架构决策记录模板 输出 ADR 与实施交接。

最低输出

  • 架构范围、事实、产品不变量、质量目标与未知项。
  • 页面/组件/服务/平台层边界及依赖方向。
  • 状态源、数据模型、接口、权限与失败策略。
  • 缓存、并发、幂等、一致性、迁移和回滚方案。
  • 外部依赖风险、可观察性和对应产品验收行为。
  • ADR:选择、替代方案、代价、验证方式与重新评估条件。

停止条件

关键产品语义未确认、当前项目存在无法保护的未知改动、核心外部能力不可核验,或数据迁移没有可接受回滚路径时,停止并报告具体缺口。不要用“实现时再说”隐藏高影响决策。

独立与套件协作

独立安装时,本 Skill 可基于给定规格完成架构设计。位于完整套件中时,遵守共享工程门禁和证据状态;只接收阶段产物、输出 ADR 和实施边界,不调用其他组件脚本。

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 46 lines · 129 tokens per session scan A efc831138c49

Subscribe to this mod's changes

mini-program-architecture-skill is a skill published in the GitHub repository NocodeMrLi/mini-program-engineering-skill-suite (45 stars, last pushed 4d ago), licensed MIT. It adds 129 tokens to every session and 866 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

taro-ui-guide

Guides installation, Taro config, styling, and usage of taro-ui (At components) for WeChat/Alipay/H5/RN. Use when building Taro apps with taro-ui, picking components, theming, i18n, or modifying packages/taro-ui source.

jd-opensource/taro-ui · 66 tokens

mobile-experience-report

Use when the user says 'my site looks bad on mobile', 'check mobile layout', 'responsive audit', or 'site broken on phones'. Diagnoses breakpoint problems, text sizing, column stacking failures, hidden elements, and navigation menu behavior, device by device.

respira-press/agent-skills-wordpress · 58 tokens

mobile-responsive-qa

Run mobile responsive QA for websites and apps. Use after layout, media, navigation, form, pricing, dashboard, gallery, checkout, or motion changes to inspect phone and tablet viewports, prevent horizontal overflow, fix crop issues, verify touch targets, and make mobile feel intentionally composed.

TheGoat395/Codex-Skills · 62 tokens

appcircle-automation

Automate Appcircle tasks via Rube MCP (Composio). Always search tools first for current schemas.

composio-community/awesome-codex-skills · 27 tokens

flutter-ui

Build Flutter UI from Figma MCP or image input. Scans src for design tokens (colors, sizes, text styles), existing components, and naming conventions before writing a single line of code. Never hard-codes values.

datit309/supergraph · 48 tokens

flutter-dart-code-review

Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance, accessibility, security, and clean architecture.

datit309/supergraph · 56 tokens