Mobile UX Core
DesignMobile UX Core is an Agent Skill for design published in the erp-mafia/accounted repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Universal mobile UX principles for touch-first interfaces. Enforces touch targets, safe areas, and mobile-specific interaction patterns.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/erp-mafia/accounted/blob/HEAD/.claude/skills/mobile-ux-core/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mobile-ux-core, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Mobile UX Core
Priority: P0 (CRITICAL)
Universal UX principles for mobile applications.
Guidelines
- Touch Targets: Min 44x44pt (iOS) / 48x48dp (Android). Add padding if needed.
- Safe Areas: Wrap content in
SafeArea/WindowInsets. Avoid notches. - Interactions: Use active states (no hover). Haptic feedback (short).
- Typography: Min 16sp body. Line height 1.5x.
- Keyboards: Auto-scroll inputs. Set
InputType(email/number) &Action.
Code Examples
// ✅ Correct Target
IconButton(icon: Icon(Icons.close), padding: EdgeInsets.all(12))
// ❌ Too Small
Icon(Icons.close, size: 16)
Anti-Patterns
- No Hover Effects: Mobile has no cursor. Use pressed states.
- No Tiny Targets: All clickable elements ≥44pt.
- No Fixed Bottom: Account for Home Indicator & Keyboard.
- No OS Mix: Use Material (Android) & Cupertino (iOS) conventions.
Related Topics
mobile-accessibility | mobile-performance | flutter-design-system | react-native-dls