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/accessibility-matrix.md
View on GitHub# 无障碍验证矩阵
| 维度 | 静态检查 | 设备/读屏检查 | 证据与失败表现 |
| --- | --- | --- | --- |
| ARIA 与语义 | 非原生交互元素具有正确角色、名称、状态;装饰内容不制造噪声 | 读屏名称、角色、状态与操作结果符合视觉语义 | 记录组件、状态、工具/系统版本与朗读结果 |
| 动态字体 | 不使用必然截断关键内容的固定高度;放大后布局有回流策略 | 系统字体级别变化后检查内容、按钮和错误提示 | 记录字体级别、机型、页面状态与截图/视频 |
| 对比度 | 文本、图标、状态和焦点指示不只靠颜色区分;采用项目批准阈值 | 真机在不同亮度/主题下复核可读性 | 记录计算工具/版本、色值来源和真机观察 |
| 触控热区 | 点击区覆盖可见目标且相邻操作不会误触;阈值来源明确 | 单手、边缘、安全区和连续操作实测 | 记录尺寸、设备、手势与误触结果 |
| 焦点顺序 | DOM/组件顺序与阅读、操作顺序一致;弹层有进入/退出策略 | 读屏或键盘能力可用时验证焦点顺序与返回位置 | 记录起点、完整顺序、陷阱和恢复位置 |
| 表单纠错 | 错误绑定具体字段,说明可行动;改正后旧校验错误清除且其他草稿保留 | 从失败提交的实际视口核错误可读或一次定位,结合键盘/底栏、滚动、焦点及适用读屏能力;缺证据保持unknown | 保留提交视口与改正后状态;仅节点树含文字、屏外/遮挡或短暂消失均不证明可用;无表单N/A |
静态检查不能证明真机读屏、动态字体、触控或焦点体验通过;模拟器截图同样不能替代真机。缺少设备或辅助技术证据时,只报告静态层结果和 `unknown` 项,不隐瞒未执行层。
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: 321k | 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 |