NocodeMrLi/mini-program-engineering-skill-suite / skills/mini-program-ui-device-skill
mini-program-ui-device-skill
VerifiedDesign, 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 device-verification matrix. Separates proposed visual previews, user approval, source integration, local checks, and real-device evidence; never invents product functionality for visual completeness or claims device validation without device-specific proof.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.8 KB |
| agents/openai.yaml | config | 295 B |
| assets/accessibility-matrix.md | markdown | 1.8 KB |
| assets/asset-lineage-record.md | markdown | 2.4 KB |
| assets/ui-device-evidence-record.md | markdown | 1.6 KB |
| references/runtime-state-and-layout-contracts.md | markdown | 10.4 KB |
| references/ui-device-workflow.md | markdown | 7.3 KB |
assets/ui-device-evidence-record.md
View on GitHub# 小程序界面与设备证据模板
## 参考与阶段
- 权威参考目标:
- 对比页面状态/视口:
- 允许变化:
- 必须保护:
- 当前阶段:预览 / 已确认 / 已集成 / 本地验证 / 真机验证。
## 视觉差异
| 层级 | 参考目标 | 当前实现/预览 | 差异 | 处理状态 |
| --- | --- | --- | --- | --- |
| 布局/形态/间距/色彩/字体/素材/动画 | | | | |
## 屏幕与内容边界矩阵
| 场景 | 条件 | 预期 | 实际证据 | 状态 |
| --- | --- | --- | --- | --- |
| 最窄屏 | | | | |
| 最长文案/最大数字 | | | | |
| 安全区/键盘 | | | | |
| 空/加载/错误 | | | | |
## 运行时解析与异步隔离(未触发时标 N/A)
| 场景 | 解析状态/attempt | 预期 | 实际证据 | 状态 |
| --- | --- | --- | --- | --- |
| 冷启动/热启动/慢网/真实空态/连续触发/旧回调晚到 | | | | |
## 整页高度预算(未触发时标 N/A)
| 区域 | 高度来源 | 最小/最大值 | 固定/滚动 | 溢出与证据 |
| --- | --- | --- | --- | --- |
| 顶部安全区/导航 | | | | |
| 标题/tab | | | | |
| 核心内容 | | | | |
| 主操作 | | | | |
| 底部导航/安全区 | | | | |
- 设备识别信号与回退:
## 手势冲突矩阵
| 手势与区域 | 竞争对象 | 预期优先级 | 实际结果 | 失败恢复 | 验证设备 |
| --- | --- | --- | --- | --- | --- |
| | | | | | |
## 证据边界
- 本地/模拟器已检查:
- 真机、机型、步骤、截图或日志:
- 尚未验证:
- 不可推出的状态:
- 残余风险与下一步:
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |