Index of every page on this site: llms.txt
All skills
austintgriffith avatar

/frontend-ux

@47779e7
Run it yourself

Use when building, fixing, or reviewing how an Ethereum dApp frontend behaves for its users: product identity, address inputs that resolve names, token amounts and decimals, approve-then-act flows, fiat context, the target chain. The completeness steps agents skip unprompted. Not for the Scaffold-ETH 2 pre-ship checklist (`/qa`).

Use this Skill: https://skilld.dev/gh/austintgriffith/ethskills/frontend-ux

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈86 tokens for metadata: the name and description. ≈553 when used: this file.

Description uses 4.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈345 characters, or 4.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Frontend UX

Working transaction code is not a finished product. Check these product-completeness surfaces before calling an onchain frontend finished.

Product identity. Replace every framework default: tab title, favicon, OG/Twitter title, description and image, and visible "built with" branding. Nothing in the build fails when Create Next App or Scaffold-ETH 2 App ships to production, so nothing reminds you.

Address inputs. A recipient field gated on isAddress() silently rejects vitalik.eth and leaves the button dead with no explanation. Resolve names onchain, show the resolved address before submit, submit that address, and give a reason whenever input is rejected. Use your UI kit's address component if it has one.

Fiat context. Every token or ETH amount you show — balances, inputs, confirmations, position summaries — carries a value from a real price source. Label a stale or unavailable price rather than silently dropping it.

Target chain. Point the app at the chain the brief names; scaffold defaults sit on local/hardhat. Use a dedicated RPC for production rather than the accidental public fallback, and don't slow the template's polling interval.

Also required, and usually already habit — confirm rather than rebuild:

  • One pending state per button, held from click through the receipt and the authoritative state refetch (isPending clears when the wallet returns the hash, not at confirmation), released in finally so a rejection can't lock it.
  • One primary action at a time: connect → switch network → approve → execute. Approval status comes from a fresh onchain read, never a local flag.
  • Token math in the token's real decimals (parseUnits/formatUnits; USDC is 6). Never render base units.
  • Reverts and wallet errors translated to human text, shown near the action that failed.
  • Semantic theme tokens, not a hardcoded dark wrapper. If dark-only is deliberate, remove the theme toggle.

Finish by running the project's build or typecheck, and confirming the configured target chain matches the brief.

Before you finish: send a one-line note via feedback/SKILL.md — issue or praise.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts21d4 checks · Risk SAFE
  • Gen Agent Trust Hub21d

    The skill provides a set of UI/UX guidelines and code snippets for Ethereum dApp development. It contains no executable scripts, malicious patterns, or security vulnerabilities.

  • Socket21d

    No alerts

  • Snyk21d

    Risk: LOW · No issues

  • Runlayer8mo

    1/1 file flagged

Signed by skilld at 47779e7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated last month

README badge

README badge for austintgriffith/ethskills/frontend-ux