·frontend-ux
*

frontend-ux

以太坊 dApp 的前端 UX 规则可防止最常见的 AI 代理 UI 错误。链上按钮、代币审批流程、地址显示、美元值、RPC 配置和预发布元数据的强制模式。围绕 Scaffold-ETH 2 构建,但这些模式适用于任何以太坊前端。在构建任何 dApp 前端时使用。

29安装·0热度·@austintgriffith

安装

$npx skills add https://github.com/austintgriffith/ethskills --skill frontend-ux

如何安装 frontend-ux

通过命令行快速安装 frontend-ux AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/austintgriffith/ethskills --skill frontend-ux
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:austintgriffith/ethskills。

SKILL.md

查看原文

"The button works." Working is not the standard. Does it disable during the transaction? Does it show a spinner? Does it stay disabled until the chain confirms? Does it show an error if the user rejects? AI agents skip all of this, every time.

"I used wagmi hooks." Wrong hooks. Scaffold-ETH 2 wraps wagmi with useTransactor which waits for transaction confirmation — not just wallet signing. Raw wagmi's writeContractAsync resolves the moment the user clicks Confirm in MetaMask, BEFORE the tx is mined. Your button re-enables while the transaction is still pending.

"I showed the address." As raw hex? That's not showing it. gives you ENS resolution, blockie avatars, copy-to-clipboard, and block explorer links. Raw 0x1234...5678 is unacceptable.

以太坊 dApp 的前端 UX 规则可防止最常见的 AI 代理 UI 错误。链上按钮、代币审批流程、地址显示、美元值、RPC 配置和预发布元数据的强制模式。围绕 Scaffold-ETH 2 构建,但这些模式适用于任何以太坊前端。在构建任何 dApp 前端时使用。 来源:austintgriffith/ethskills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/austintgriffith/ethskills --skill frontend-ux
分类
*创意媒体
认证
收录时间
2026-02-22
更新时间
2026-03-10

Browse more skills from austintgriffith/ethskills

快速解答

什么是 frontend-ux?

以太坊 dApp 的前端 UX 规则可防止最常见的 AI 代理 UI 错误。链上按钮、代币审批流程、地址显示、美元值、RPC 配置和预发布元数据的强制模式。围绕 Scaffold-ETH 2 构建,但这些模式适用于任何以太坊前端。在构建任何 dApp 前端时使用。 来源:austintgriffith/ethskills。

如何安装 frontend-ux?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/austintgriffith/ethskills --skill frontend-ux 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/austintgriffith/ethskills

详情

分类
*创意媒体
来源
skills.sh
收录时间
2026-02-22