返回顶部
w

wechat-miniprogram-ui-ux

Use when the user wants to design, implement, refine, or review a WeChat Mini Program page, flow, or design system in WXML/WXSS/JS. Combines WeChat Mini Program design constraints with a design-system workflow, anti-pattern filtering, and delivery checklist tailored for mobile-first mini program interfaces.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
176
下载量
1
收藏
概述
安装方式
版本历史

wechat-miniprogram-ui-ux

# WeChat Mini Program UI/UX Use this skill for WeChat Mini Program UI work. It is specific to mini program constraints, not generic web UI. ## Goals - Keep the interface native to WeChat usage habits. - Preserve a clear page focus and one dominant action. - Optimize for mobile reading, tap comfort, and short task completion. - Always handle loading, empty, error, and permission-denied states. - Produce intentional visuals, but never fight the platform chrome or interaction model. ## Workflow 1. Identify the target: - Page type: list, detail, form, dashboard, feed, account, checkout, approval, settings. - User goal: browse, decide, submit, manage, confirm, recover. - State complexity: guest/logged-in, empty/contentful, success/failure, role-based actions. 2. Read the relevant references: - WeChat principles and mini program constraints: `references/wechat-design-principles.md` - Design-system workflow and anti-pattern framing: `references/design-system-pattern.md` 3. Generate a compact page design system before editing code: - Page focus - Information hierarchy - Key components - Color direction - Typography scale - Spacing rhythm - Motion and feedback rules - States to support 4. Implement in mini program primitives first: - Prefer WXML + WXSS + built-in components - Use `rpx` for layout sizing - Respect safe areas and fixed bottom actions - Keep JS logic state-driven and explicit 5. Run a pre-delivery review against the checklist in `references/wechat-design-principles.md`. ## Output Shape When designing or implementing, structure thinking in this order: 1. Page intent 2. Primary action 3. Content hierarchy 4. State coverage 5. Visual system 6. Interaction details Keep this short unless the user asks for a full spec. ## Platform Rules - Design for narrow mobile viewports first. - Avoid desktop-like dense tables, tiny controls, and hover-dependent interactions. - Do not place critical actions where the WeChat top-right capsule area creates conflict. - Keep navigation obvious. Users should know where they are, what they can do next, and how to go back. - Prefer one primary CTA per screen section; secondary actions should be visually quieter. - If a page can fail to load, never leave a blank screen. Show a visible recovery path. - If data may be absent, design an intentional empty state with next action. - If permissions or login are required, explain the reason before prompting. ## Visual Direction - Favor clean, high-contrast, mobile-readable layouts over decorative complexity. - Use bold visual direction only when it still supports fast comprehension. - Build around 1 strong accent color plus stable neutrals. - Use cards, spacing, and typography to create hierarchy before adding extra decoration. - Keep imagery purposeful. Hero images must not bury the core action. - Motion should explain state changes, not decorate idle elements. ## Common Mini Program Patterns - Lists: sticky filters only if they materially help scanning; preserve scroll performance. - Detail pages: title, summary, trust/context, primary CTA, then secondary content. - Forms: short sections, explicit labels, inline validation, submit-state feedback. - Bottom bars: reserve for the most important action only; support safe-area padding. - Management screens: show role, status, and allowed actions clearly to reduce permission confusion. ## Anti-Patterns - Web landing-page aesthetics copied directly into mini program task pages. - Multiple competing CTAs in the first viewport. - Light text on busy image backgrounds without a reliable contrast layer. - Long ungrouped forms with placeholder-only labels. - Blank screens on request failure. - Destructive actions styled too similarly to primary confirm actions. - Overuse of gradients, glass effects, or shadow stacks that hurt readability on small screens. - Dense information blocks without section headers or spacing rhythm. ## Implementation Notes - Prefer page-level tokens or CSS variables when establishing a new visual direction. - Reuse existing project patterns if the codebase already has a design language. - If the existing screen is inconsistent, align it to WeChat principles first, then improve aesthetics. - When reviewing code, prioritize usability regressions over purely visual opinions. ## References - `references/wechat-design-principles.md` - `references/design-system-pattern.md`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 wechat-miniprogram-ui-ux-1776022102 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 wechat-miniprogram-ui-ux-1776022102 技能

通过命令行安装

skillhub install wechat-miniprogram-ui-ux-1776022102

下载 Zip 包

⬇ 下载 wechat-miniprogram-ui-ux v0.1.0

文件大小: 8.95 KB | 发布时间: 2026-4-13 12:34

v0.1.0 最新 2026-4-13 12:34
Initial release of WeChat Mini Program UI/UX skill.

- Provides structured guidance for designing, implementing, and reviewing WeChat Mini Program interfaces.
- Emphasizes mobile-first, WeChat-native patterns and strict avoidance of common UI anti-patterns.
- Includes a detailed workflow for page design, from goal identification to state handling and delivery checklist.
- Outlines platform-specific rules, visual direction, and implementation notes tailored for mini programs.
- Reference links to WeChat principles and design-system workflow are included for deeper guidance.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部