一键导入
android-button-intent-clarification
Clarify touch-target vs visual size when users ask to resize buttons without changing icons.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Clarify touch-target vs visual size when users ask to resize buttons without changing icons.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidance for creating effective modular skills for Claude. Use when creating or refining skills to ensure they are concise, follow progressive disclosure patterns, and provide appropriate degrees of freedom.
Guidelines for ensuring smooth and race-condition-free theme transitions in Android, specifically regarding icon tinting and state management.
Best practices for effective human-AI pair programming and communication
Choose whether the outer container acts as the touch proxy or remains a layout placeholder to control hit targets.
Best practices for 60fps custom View rendering with zero allocation in onDraw
Expert guidance for creating soulful, industrial-grade Android native interfaces with Jetpack Compose, focusing on tactility, typography, and motion.
| name | Android Button Intent Clarification |
| description | Clarify touch-target vs visual size when users ask to resize buttons without changing icons. |
| last_verified | "2026-01-23T00:00:00.000Z" |
| applicable_sdk | Android 14+ (API 34+) |
| dependencies | ["ai-collab-workflow","best-practice-check"] |
Last Verified: 2026-01-23 Applicable SDK: Android 14+ (API 34+) Dependencies: ai-collab-workflow, best-practice-check
Translate ambiguous user phrasing like "make the button bigger but keep the icon" into the correct distinction between touch target and visual size. This reduces misalignment between intent and implementation.
"调整按钮大小,但不改变图标/圆形大小"
Ask one explicit question before changing layout sizes:
"确认一下:你是希望触摸区域扩大到 64dp,但圆形视觉仍保持 48dp,对吗? 如果是,我会用外层透明容器 + 内层圆形的结构。"
If the user confirms, proceed with the nested layout pattern (see related skill).
| User intent | Correct implementation |
|---|---|
| Bigger touch area, same look | Outer 64dp transparent + inner 48dp visual |
| Bigger visual button | Single container size increase |
| Unchanged touch area | Keep existing container size |