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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "wechat-miniprogram-ui-ux" with this command: npx skills add go-goll/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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

WeChat MiniProgram Dev

微信小程序开发指南 - 从入门到精通。当用户提到微信小程序、小程序开发、WeChat Mini Program、wx API、微信小程序框架时使用此技能。

Registry Source
5972Profile unavailable
Coding

Wechat Quick Setup

微信小程序快速启动模板。一键创建云函数、配置后端、生成代码。10分钟搭建完整微信小程序。

Registry Source
1370Profile unavailable
Coding

wechat-miniprogram-dev

微信小程序云开发完整指南。包含项目结构、云函数开发、miniprogram-ci 部署命令、常见问题处理。适用于需要开发、部署微信小程序的场景。

Registry Source
4260Profile unavailable
Coding

Wechat Forward

按需将当前对话内容转发到用户自己的微信。仅在用户明确要求"把这个发微信"时才执行, 将最近的消息内容通过 wxclawbot CLI 推送到用户微信,用于手机端查看。 Trigger ONLY when explicit: 发微信, 推送到微信, 发到微信, forward to wechat, 发给我微信, 帮...

Registry SourceRecently Updated
410Profile unavailable