Home / nocodemrli / mini-program-engineering-skill-suite · skills/mini-program-ui-device-skill/SKILL.md · GitHub

mini-program-ui-device-skill skillA

mini-program-ui-device-skill is agent-read markdown (skill) from nocodemrli/mini-program-engineering-skill-suite: Design, preview, implement, and assess mini-program interfaces against an approved prototype, screenshot, visual reference, design system, or bounded UI request while preserving product semantics and existing accepted behavior. Use when users ask to reproduce a mini-program screen, refine visual hierarchy, adapt layouts across device sizes, handle safe areas or keyboards, inspect touch targets, scrolling, media, or gesture conflicts, compare an implementation with a reference, or prepare a devic.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# /mini-program-ui-device-skill — 小程序界面与真机适配

以已确认参考目标和产品语义为准完成界面工作,并严格区分视觉预览、用户确认、正式集成、本地检查与真机证据。参考存在时,忠实度是可验证目标,不用主观“更漂亮”替代。

## 输入与阶段边界

- 接收已确认原型、截图、参考页面、设计系统、界面问题或设备反馈;先记录权威参考、允许变化、必须保护交互与未知项。
- 若请求涉及高影响视觉风格、角色形象、关键动画或大范围布局,先产出可独立查看的视觉预览,取得用户确认后才能正式集成。
- 缺少可渲染素材时,当场提供 2–3 个具名文字候选,分别说明视觉重点、变化范围与保持不变的产品语义,供用户先选方向;具名文字候选不等于已渲染预览,不能声称视觉效果、动效或设备表现已经得到验证。
- 用户明确要求立即查看效果且当前只读时,在回复中为每个候选附自包含 SVG 或 HTML 预览代码/可直接查看的数据内容,不写入项目;说明预览尺寸、状态和占位素材。它只证明候选画面可查看,不证明正式源码、动效、交互或真机表现。
- 不为了填满页面新增按钮、入口、奖励、状态或数据规则;产品语义冲突时退回产品决策。
- 模拟器或桌面预览不是真机;没有机型、操作步骤、截图/日志或设备结果时,不报告真机通过。

## 界面与设备流程

1. 将参考目标拆为布局、层级、间距、尺寸、形态、色彩、字体、素材、交互和状态,并标记可精确比较项。
2. 建立 `proposed` → `proposal-approved` → `implemented` → `locally-verified` → `device-verified` 阶段记录;任何阶段不得自动升级。
3. 先制作视觉预览或最小差异方案;用户确认后,仅在授权范围内正式集成并保护已有资产与交互。
4. 检查最窄屏、最长文案、最大数字、空/加载/错误、动态字体(若支持)、安全区、键盘、横竖屏(若支持)和媒体容器。
5. 核对触控热区、滚动容器、固定层、弹层、返回/下拉/横滑等行为,建立手势冲突矩阵并给出优先级与失败路径。
6. 分别记录静态检查、桌面/模拟器预览和真实设备结果;视觉对比采用相同状态、尺寸与素材,不能拿不同条件作结论。
7. 图片、图标、动画、音频或字体发生新增、处理或替换时,按 [资产谱系记录模板](assets/asset-lineage-record.md) 记录原始/衍生关系、处理方式、槽位、尺寸、透明通道、哈希、批准范围和替换关系。
8. 批准只覆盖点名文件、变体和目标槽位。旧资产默认保留到新资产验证完成且回滚入口可查;没有明确删除授权时不得删除旧资产,替换关系本身也不授权删除。
…

Read the whole file at its exact version.

How to install

Latest version
mdr add nocodemrli/mini-program-engineering-skill-suite/mini-program-ui-device-skill@git:20260813.cfc2393
Exact content
mdr add nocodemrli/mini-program-engineering-skill-suite/mini-program-ui-device-skill@sha256:68f267268a58a701

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_b4bt2ld7ndvbu6zr.svg)](https://markdownregistry.com/a/art_b4bt2ld7ndvbu6zr)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260813.cfc2393 latest2026-08-13 cfc2393 5,636 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5636 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

GitHub

nocodemrli/mini-program-engineering-skill-suite · 77 stars · license MIT · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_b4bt2ld7ndvbu6zr
GET https://markdownregistry.com/api/v1/resolve?ref=nocodemrli/mini-program-engineering-skill-suite/mini-program-ui-device-skill
GET https://markdownregistry.com/api/v1/blob/68f267268a58a7011ba4f4e89d931d51bc2dfa553dc77100e7b689ce14512135

Your agent 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.

More from nocodemrli/mini-program-engineering-skill-suite

mini-program-engineering-suite skill
nocodemrli/mini-program-engineering-skill-suite · SKILL.md · Orchestrate evidence-first engineering for WeChat and other mini programs from a vague idea or existing repository…
v3.1.13 · audit A · 77 stars
evidence-first-engineering skill
nocodemrli/mini-program-engineering-skill-suite · foundation/SKILL.md · Apply evidence-first engineering discipline to any agent-built software project: fact discovery before action…
git:20260830.6436a4c · audit A · 77 stars
mini-program-architecture-skill skill
nocodemrli/mini-program-engineering-skill-suite · skills/mini-program-architecture-skill/SKILL.md · Translate a confirmed mini-program product specification or bounded feature into an implementable architecture covering…
git:20260813.cfc2393 · audit A · 77 stars
mini-program-debugging-skill skill
nocodemrli/mini-program-engineering-skill-suite · skills/mini-program-debugging-skill/SKILL.md · Diagnose and fix mini-program failures through reproducible, evidence-driven root-cause analysis across source, state…
git:20260813.cfc2393 · audit A · 77 stars
mini-program-implementation-skill skill
nocodemrli/mini-program-engineering-skill-suite · skills/mini-program-implementation-skill/SKILL.md · Implement bounded features and fixes in existing or new mini-program codebases while preserving repository rules…
git:20260813.cfc2393 · audit A · 77 stars
mini-program-product-spec-skill skill
nocodemrli/mini-program-engineering-skill-suite · skills/mini-program-product-spec-skill/SKILL.md · Convert a vague mini-program idea, feature request, or partially documented product into an evidence-calibrated product…
git:20260813.cfc2393 · audit A · 77 stars
mini-program-project-intake-skill skill
nocodemrli/mini-program-engineering-skill-suite · skills/mini-program-project-intake-skill/SKILL.md · Perform a read-only, evidence-first intake of an existing mini-program repository before planning or modifying code…
git:20260813.cfc2393 · audit A · 77 stars
mini-program-release-skill skill
nocodemrli/mini-program-engineering-skill-suite · skills/mini-program-release-skill/SKILL.md · Govern mini-program release readiness and evidence across source branches, semantic versions, build artifacts, test…
git:20260824.e3b483b · audit A · 77 stars
mini-program-verification-skill skill
nocodemrli/mini-program-engineering-skill-suite · skills/mini-program-verification-skill/SKILL.md · Verify mini-program implementations and fixes with risk-calibrated evidence across static checks, unit tests…
git:20260829.8a3bef7 · audit A · 77 stars
wechat-mini-program-platform-skill skill
nocodemrli/mini-program-engineering-skill-suite · skills/wechat-mini-program-platform-skill/SKILL.md · Analyze WeChat Mini Program platform constraints and evidence layers for an idea or existing repository, including…
git:20260829.f83ac82 · audit A · 77 stars

Every file in nocodemrli/mini-program-engineering-skill-suite

Browse by kind, by grade A, or by owner.