Chuyển đến nội dung
Skillpedia
Ứng dụng di động33k · #8698

mobile-design

Skill này làm gì

Skill này cung cấp cho AI của bạn các nguyên tắc thiết kế ứng dụng di động. Nó bao gồm thao tác chạm, tốc độ, mức tiêu hao pin và thói quen khác nhau của iOS và Android. Nó dành cho người xây dựng ứng dụng với React Native, Flutter hoặc các công cụ native.

Khi nào nên dùng

  • ✓Khi bạn bắt đầu xây dựng ứng dụng di động cho iPhone hoặc Android.
  • ✓Khi bạn muốn các nút và menu dễ chạm bằng ngón cái.
  • ✓Khi ứng dụng của bạn chạy chậm hoặc hao pin và bạn cần lời khuyên để sửa.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/creative-design/mobile-design/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/creative-design/mobile-design/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy xem lại các màn hình ứng dụng di động của tôi để chúng dễ sử dụng bằng một tay.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill đưa cho agent các quy tắc và danh sách kiểm tra thiết kế di động để áp dụng cho ứng dụng của bạn. Skill cũng có một script kiểm tra dự án xem có các vấn đề phổ biến về chạm và khả năng sử dụng hay không.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Mobile Design System

Philosophy: Touch-first. Battery-conscious. Platform-respectful. Offline-capable. Core Principle: Mobile is NOT a small desktop. THINK mobile constraints, ASK platform choice.


🔧 Runtime Scripts

Execute these for validation (don't read, just run):

Script Purpose Usage
scripts/mobile_audit.py Mobile UX & Touch Audit python scripts/mobile_audit.py <project_path>

🔴 MANDATORY: Read Reference Files Before Working!

⛔ DO NOT start development until you read the relevant files:

Universal (Always Read)

File Content Status
mobile-design-thinking.md ⚠️ ANTI-MEMORIZATION: Forces thinking, prevents AI defaults ⬜ CRITICAL FIRST
touch-psychology.md Fitts' Law, gestures, haptics, thumb zone ⬜ CRITICAL
mobile-performance.md RN/Flutter performance, 60fps, memory ⬜ CRITICAL
mobile-backend.md Push notifications, offline sync, mobile API ⬜ CRITICAL
mobile-testing.md Testing pyramid, E2E, platform-specific ⬜ CRITICAL
mobile-debugging.md Native vs JS debugging, Flipper, Logcat ⬜ CRITICAL
mobile-navigation.md Tab/Stack/Drawer, deep linking ⬜ Read
mobile-typography.md System fonts, Dynamic Type, a11y ⬜ Read
mobile-color-system.md OLED, dark mode, battery-aware ⬜ Read
decision-trees.md Framework/state/storage selection ⬜ Read

🧠 mobile-design-thinking.md is PRIORITY! This file ensures AI thinks instead of using memorized patterns.

Platform-Specific (Read Based on Target)

Platform File Content When to Read
iOS platform-ios.md Human Interface Guidelines, SF Pro, SwiftUI patterns Building for iPhone/iPad
Android platform-android.md Material Design 3, Roboto, Compose patterns Building for Android
Cross-Platform Both above Platform divergence points React Native / Flutter

🔴 If building for iOS → Read platform-ios.md FIRST! 🔴 If building for Android → Read platform-android.md FIRST! 🔴 If cross-platform → Read BOTH and apply conditional platform logic!


⚠️ CRITICAL: ASK BEFORE ASSUMING (MANDATORY)

STOP! If the user's request is open-ended, DO NOT default to your favorites.

You MUST Ask If Not Specified:

Aspect Ask Why
Platform "iOS, Android, or both?" Affects EVERY design decision
Framework "React Native, Flutter, or native?" Determines patterns and tools
Navigation "Tab bar, drawer, or stack-based?" Core UX decision
State "What state management? (Zustand/Redux/Riverpod/BLoC?)" Architecture foundation
Offline "Does this need to work offline?" Affects data strategy
Target devices "Phone only, or tablet support?" Layout complexity

⛔ AI MOBILE ANTI-PATTERNS (YASAK LİSTESİ)

🚫 These are AI default tendencies that MUST be avoided!

Performance Sins

❌ NEVER DO Why It's Wrong ✅ ALWAYS DO
ScrollView for long lists Renders ALL items, memory explodes Use FlatList / FlashList / ListView.builder
Inline renderItem function New function every render, all items re-render useCallback + React.memo
Missing keyExtractor Index-based keys cause bugs on reorder Unique, stable ID from data
Skip getItemLayout Async layout = janky scroll Provide when items have fixed height
setState() everywhere Unnecessary widget rebuilds Targeted state, const constructors
Native driver: false Animations blocked by JS thread useNativeDriver: true always
console.log in production Blocks JS thread severely Remove before release build
Skip React.memo/const Every item re-renders on any change Memoize list items ALWAYS

Touch/UX Sins

❌ NEVER DO Why It's Wrong ✅ ALWAYS DO
Touch target < 44px Impossible to tap accuratel
Câu hỏi thường gặp

Skill có hoạt động cho cả iOS và Android không?

Có. Skill bao gồm cả hai nền tảng và nhắc agent tôn trọng quy ước của từng nền tảng.

Skill hỗ trợ những framework nào?

Skill được viết cho React Native, Flutter và ứng dụng native.

Skill có lời khuyên về kiểm thử không?

Có. Skill bao gồm kiểm thử và gỡ lỗi ứng dụng di động, kể cả về hiệu năng.

Chi tiết

Mô tả gốc của tác giả

Mobile-first design thinking and decision-making for iOS and Android apps. Touch interaction, performance patterns, platform conventions. Teaches principles, not fixed values. Use when building React Native, Flutter, or native mobile apps.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8698
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự