/ethskills:qafrom ethskills
Pre-ship QA audit for Scaffold-ETH 2 dApps. Checks wallet flow, wrong-network gating, contract registration, theme/loading states, branding, RPC posture, and mobile wallet behavior. Best from a fresh reviewer context.
Ships in ethskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read the code, then click through every flow — with no wallet, with a wallet on the wrong chain, and with a wallet on the target chain. Report each finding with severity, file, line, and the concrete fix. Only change code if the task asks you to fix rather than review.
RainbowKitCustomConnectButton), never a paragraph telling the user to connect. This is the single most common miss.WrongNetworkDropdown is not enough — without a branch in the action slot, the user clicks Approve on the wrong chain and eats a silent wagmi error.useScaffoldWriteContract. Raw wagmi useWriteContract outside scaffold internals resolves at the wallet signature, not at confirmation.isMining — the flag useScaffoldWriteContract sets around writeContractAsync, not the isPending it passes through from wagmi. (isMining tracks the async path only; the hook's synchronous writeContract never sets it, so a button gated on it there never locks.) isMining is held across waitForTransactionReceipt and clears in the hook's finally on both confirmation and rejection; isPending drops when the wallet returns the hash, re-enabling the button mid-flight. If the allowance or balance refetch needs its own hold after confirmation, keep it in local state and clear it in finally too — never on a fixed timer.notification + getParsedError). A catch that only calls console.error is a silent failure.External contracts (tokens, protocols) belong in packages/nextjs/contracts/externalContracts.ts. Entries hand-added to deployedContracts.ts are wiped on the next deploy, and scaffold hooks silently return nothing for anything unregistered. Migrate rather than flag:
// packages/nextjs/contracts/externalContracts.ts
import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";
const externalContracts = {
8453: {
USDC: { address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", abi: [...] },
},
} as const;
export default externalContracts satisfies GenericContractsDeclaration;
Then revert deployedContracts.ts to its generated state and confirm yarn next:check-types passes.
Every input that accepts an address uses <AddressInput/>, not <input type="text"> — a raw input drops ENS resolution and validation, so vitalik.eth never reaches the contract.
Addresses render through <Address/> (blockie, ENS, copy, explorer link), not a hand-rolled shorten().
The contract the user transacts with is shown on the page. Agents display the connected wallet address and forget the contract itself.
bg-black, bg-[#0a0a0a], bg-zinc-900) on a page or layout root. It bypasses DaisyUI, gives light-mode users a black page, and breaks the header's SwitchTheme. Use bg-base-200 text-base-content. Forcing data-theme="dark" is acceptable only if <SwitchTheme/> is also removed.loading class on a btn replaces the whole button with a spinner and swallows the label. Use an inline <span className="loading loading-spinner loading-sm" /> inside the button, next to visible text.The scaffold's defaults are template scaffolding, not product decisions. Check all five: tab title in layout.tsx (not "Scaffold-ETH 2 App"), the metadata description, the footer (BuidlGuidl / fork-me / support links), the README, and the default favicon. The OG image in layout.tsx metadata is an absolute URL (https://yourdomain.com/thumbnail.jpg); a relative path breaks link previews everywhere.
pollingInterval in scaffold.config.ts is 3000 in current SE-2. A raised value (older templates used 30000) makes an L2 app feel broken; keep ~3s, or use event-driven and post-confirmation refresh.http() fallback transport in wagmiConfig, means silently hitting rate-limited public endpoints. Route through rpcOverrides with a NEXT_PUBLIC_* key. That key ships in the client bundle, so restrict it to your domain in the provider dashboard. Verify the variable is actually set on the host, not just referenced in code.window.ethereum present). wagmi's connector.id only says "walletConnect" — find the real wallet in the wc@2:client session in localStorage. Use bare schemes (rainbow://, metamask://); rainbow://dapp/... reloads the page.phantomWallet to wagmiConnectors.tsx.Every deployed contract is verified on the block explorer (yarn verify --network <chain>). Unverified bytecode reads as something to hide. yarn deploy succeeding is not the finish line.
The report includes a CROPS Review: the chosen default, accepted compromises, who can block users, what data leaks, who controls funds/upgrades/recovery, and the user's escape path. Missing, or a one-liner on an app holding funds or user data, is a finding. Use crops/SKILL.md for the full template.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
scaffold-eth-2, dapp-audit, wallet-flow, pre-ship, qa-checklist
npx claudepluginhub austintgriffith/ethskills --plugin ethskills20 skills in this plugin
/addressesUse whenever a contract or token address goes into code, config, or a transaction — a token, a router, a pool, a lending market, a bridge — including choosing which venue to route a swap through and reusing an address across chains. Has checked addresses for the major tokens, Uniswap, Aave, Compound, Chainlink, Safe, ERC-4337, ENS and Robinhood Chain./auditUse when asked to audit or security-review EVM smart contracts: find vulnerabilities, judge exploit impact, or produce a ranked audit report. Not for guidance while the contracts are being written (`/security`)./building-blocksUse when selecting or integrating DEX pools, lending markets, yield venues, gauges, reward systems, or multiple protocols in one flow on Ethereum or an L2 — including vault and harvest strategies, and build requests naming Aerodrome, Velodrome, Uniswap, Aave, Curve, GMX or Pendle. Not for contract address lookup (`addresses`) or for choosing a chain (`l2s`)./conceptsUse when designing or explaining anything onchain that has to keep working with nobody running it: who calls each function and why they would, where randomness comes from, whether it can be censored or paused, and what it exposes to everyone onchain. Also use when writing the notes or handoff a build ends with, or when explaining to your human how something onchain actually works. Not for scoping which parts go onchain and the launch plan (`/ship`) or the safety of the contract code itself (`/security`)./cropsUse for every Ethereum dApp architecture plan and for reviews of existing systems, trust assumptions, custody, admin keys, pause or upgrade powers, hosted infra (RPC, indexer, paymaster, bundler, frontend host, oracle, sequencer), privacy, identity flows, agent permissions, stablecoin issuer risk, censorship resistance, user exit, and restrictive licenses (BUSL, SSPL). CROPS means Censorship Resistance, Open Source and Free, Privacy, Security./frontend-playbookUse when working inside a Scaffold-ETH 2 app: running it against a local chain or a fork of a real chain, demoing on that fork, or shipping it as a static export to IPFS or ENS. Not for rehearsing or running a live contract deployment (`/orchestration`).Other plugins' skills for the same job