Qaのロゴ

Qa

コミュニティ
austintgriffith
qa

Use when a Scaffold-ETH 2 frontend is about to ship or needs a second look: "is this ready", "check my dApp", a teammate's patch. The checks people forget: wallet flow, wrong-network gating, contract registration, theme and loading states, branding, RPC posture, mobile wallets. Best from a fresh reviewer context. Not for how the frontend behaves for its users in general, such as approvals, decimals and address parsing (`/frontend-ux`).

概要

公開者austintgriffith
リポジトリethskills
スキル名qa
スター
298
フォーク
64
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    austintgriffithがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルQaをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/austintgriffith/ethskills/tree/master/qa
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/austintgriffith/ethskills.git /tmp/ethskills
mkdir -p .claude/skills
cp -r /tmp/ethskills/qa .claude/skills/qa
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでQaを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にQaを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Qaは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

dApp QA — pre-ship audit for Scaffold-ETH 2

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.

Wallet and action flow

  • Disconnected state renders a Connect Wallet button (RainbowKitCustomConnectButton), never a paragraph telling the user to connect. This is the single most common miss.
  • Wrong network turns the primary CTA itself into a "Switch to [chain]" button. The header's 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.
  • One primary action at a time: Connect → Switch → Approve → Action. Approve and Action are never both live; which one renders is driven by the current allowance.
  • Writes go through useScaffoldWriteContract. Raw wagmi useWriteContract outside scaffold internals resolves at the wallet signature, not at confirmation.
  • Lock the button on 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.
  • Failed and rejected transactions surface a human-readable message next to the action (notification + getParsedError). A catch that only calls console.error is a silent failure.

Contracts and addresses

  • 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:

    typescript
    // 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.

Theme and loading states

  • No hardcoded dark wrapper (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.
  • DaisyUI's 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.

Branding

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.

Config

  • 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.
  • Production RPC: shipping on SE-2's default Alchemy key, or on the bare http() fallback transport in wagmiConfig, means silently hitting rate-limited public endpoints. Route through rpcOverrides with a NEXT_PUBLIC_* key — and verify the variable is actually set on the host, not just referenced in code.

Mobile

  • On WalletConnect, tapping a transaction button must get the user to their wallet app with something to sign. Test it on a phone: if nothing happens and the user has to switch apps by hand, that is a finding. Any redirect fires the write first, since navigating away before the write call means the transaction never fires. It targets the wallet the user actually connected with, and it is skipped inside a wallet's in-app browser (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.
  • Phantom is not in SE-2's default RainbowKit wallet list, so Phantom users cannot connect at all. Add phantomWallet to wagmiConnectors.tsx.

If it is deployed

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.

CROPS

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.

References

よくある質問

AIスキル「Qa」では何ができますか?

Use when a Scaffold-ETH 2 frontend is about to ship or needs a second look: "is this ready", "check my dApp", a teammate's patch. The checks people forget: wallet flow, wrong-network gating, contract registration, theme and loading states, branding, RPC posture, mobile wallets. Best from a fresh reviewer context. Not for how the frontend behaves for its users in general, such as approvals, decimals and address parsing (`/frontend-ux`).

TypingMindでQaを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Qaはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにQaをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/austintgriffith/ethskills/tree/master/qaを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Qaを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Qaは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもQaを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Qa」は無料ですか?

austintgriffithがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇