Skip to main content

efficient-tap-button-migration

Migrates legacy custom buttons (raw <button>, IconButton, className-styled <Bug/>/<Plus/> etc.) to the project's TapButton system using the production-ready efficiency pattern — pre-composed tap buttons with proper spacing (no padding/margin/gap overrides anywhere), heavy decoration split via next/dynamic with cheap selector gating, types imported from canonical owners (never duplicated, never re-declared), and canonical overlay-action calls (openOverlay({ overlayId })) instead of typed convenience wrappers. Use when replacing any custom icon button with a TapButton; when migrating header/toolbar/footer icons; when adding lazy-loaded "feature highlight" decorations to a button; or when the user mentions tap targets, tap buttons, BugTapButton, PlusTapButton, "efficiency update", "efficiency refactor", "lazy split", or asks to make a small UI component production-ready.

跳到安装

来源信息

仓库
armanisadeghi/ai-matrx
最近来源活动
2026年7月19日 01:15
检测到的 SKILL.md 语言
英语
星标
3
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。