skill-gallery

フォームとフィードバックのコンポーネント状態 ショーケース

特定の skill が主張する強みを示すために追加したプロンプトです。対象とする skill だけを実行し、ネイティブのベースラインと並べて比較します。

架空のオンライン銀行のフォームとフィードバックのコンポーネント参照ページで、すべての状態を同時に表示します。テキスト入力、選択コントロール、ボタン、振込一覧(読み込み中・空・エラー・データあり)、メッセージ、振込フォーム。

prompts/form-states.md · バージョン 1。すべての skill を並べて表示します。各列が 1 つの skill、各行が 1 つのエージェントです。

プロンプト本文

エージェントに送信したとおりの英語の原文です。翻訳はしていません。

Build a reference page for the form and feedback components of Harbor Bank, a fictional online bank. Designers and engineers at the bank use the page to check how each component looks in each state. Every state listed below must be visible on the page at the same time; seeing a state must not require clicking, typing or waiting.

## Sections and content

1. **Header.** Title "Harbor Bank component states". A one-sentence description: "Form and feedback components, each shown in every state." Navigation links to each section below: Text fields, Choices, Buttons, Transfers list, Messages, Transfer form. On small screens the navigation must still be reachable.

2. **Text fields.** A field labelled "Account number" with the hint "10 digits", shown in these states: default (empty), focused, filled with "4021957310", disabled, read-only, error with the message "Enter a 10-digit account number.", and success with the message "Account verified."

3. **Choices.** Four controls, each shown in the states listed:
   - Checkbox "Send me paper statements": unchecked, checked, focused, disabled, error with the message "Accept the terms to continue."
   - Radio group "Statement frequency" with the options Monthly, Quarterly, Yearly: none selected, one selected, focused, disabled, error with the message "Choose a frequency."
   - Toggle "Notify me of transfers over $500": off, on, focused, disabled.
   - Select "Transfer from" with the options Everyday account, Savings account, Joint account: closed with the placeholder "Choose an account", open, focused, disabled, error with the message "Choose an account."

4. **Buttons.** Three buttons: "Send transfer" (primary), "Save draft" (secondary), "Close account" (destructive). Show each one in these states: default, hover, focused, pressed, disabled, loading (the label stays and a loading indicator is added). Hover, focused and pressed are shown as static samples.

5. **Transfers list.** A list titled "Recent transfers" with a search field (placeholder "Search transfers"), shown in four panels, one per state:
   - Loading.
   - Empty, with the message "No transfers match your search."
   - Error, with the message "Transfers could not be loaded." and a "Try again" button.
   - Populated, with these rows (date, recipient, amount, status):
     - 14 Oct 2026, Nora Jansen, $120.00, Completed
     - 12 Oct 2026, Elm Street Rentals, $1,450.00, Completed
     - 9 Oct 2026, City Power & Water, $86.40, Pending
     - 3 Oct 2026, Kaito Mori, $250.00, Failed
   The three statuses must be distinguishable from each other.

6. **Messages.** Four inline alerts, one per type:
   - Information: "Transfers made after 6 pm are processed the next business day."
   - Success: "Your transfer was scheduled."
   - Warning: "Your daily transfer limit is almost reached."
   - Error: "Your transfer could not be sent."
   Two toast notifications shown in place, each with a dismiss control: success "Transfer scheduled" and error "Transfer failed". A confirmation dialog shown open inside its own panel: title "Close account?", text "This action cannot be undone. Your remaining balance will be sent to your linked account.", buttons "Cancel" and "Close account".

7. **Transfer form.** One form shown twice, side by side on desktop and stacked on small screens. Fields: From account (select), To account number (text), Amount (text with the prefix "$"), Send on (date), Note (optional, multi-line text).
   - Left, error state: To account number shows "Enter a 10-digit account number." and Amount shows "Enter an amount greater than $0.00." An error summary above the form reads "Fix 2 errors to continue."
   - Right, success state: the form is replaced by a confirmation with the heading "Transfer scheduled", the text "$250.00 to Kaito Mori on 18 Oct 2026" and a "Make another transfer" button.

8. **Footer.** Copyright line "© 2026 Harbor Bank". Text links to Privacy, Terms and Accessibility (they may point to `#`).

## Output requirements

- Write exactly one file named `index.html` in the current working directory. Put all HTML, CSS and JavaScript in that file.
- Do not reference remote images. Any images, icons or illustrations must be inline SVG or CSS.
- You may load fonts from Google Fonts and JavaScript or CSS libraries from well-known public CDNs (for example cdnjs, jsDelivr or unpkg).
- The page must work when `index.html` is opened directly from disk, and it must be usable at both desktop (1440px wide) and mobile (390px wide) viewport widths.
- All visible text is in English. Use the names, numbers and copy given above; write any additional copy a section needs.
- Do the whole task in one pass. Do not ask questions; make your own decisions and finish with the file written.

skill のセルでは、末尾に 1 文を追加します:Use the <name> skill.(Claude Code)または Use the $<name> skill.(Codex)。

次の skill はこのプロンプトの対象外のため、実行していません:frontend-design、ui-ux-pro-max、web-design-engineer、taste-skill、theme-factory。

ネイティブ
Codex

Codex ネイティブ

成功
Codex · ネイティブ — フォームとフィードバックのコンポーネント状態、デスクトップのスクリーンショット(ページ上部)Codex · ネイティブ — フォームとフィードバックのコンポーネント状態、モバイルのスクリーンショット(ページ上部)
モデル
gpt-6.1-sol · high
所要時間
8m 59s
トークン
in 220k · out 25.7k
Skill の使用
該当なし
外部参照
fonts.googleapis.com, fonts.gstatic.com
実行日
2026-10-26

a11y 深刻 2▶ 録画

👍 0 · 投票する

Codex + frontend-ui-engineering

成功
Codex + frontend-ui-engineering — フォームとフィードバックのコンポーネント状態、デスクトップのスクリーンショット(ページ上部)Codex + frontend-ui-engineering — フォームとフィードバックのコンポーネント状態、モバイルのスクリーンショット(ページ上部)
モデル
gpt-6.1-sol · high
所要時間
8m 36s
トークン
in 332k · out 20.2k
Skill の使用
はい
外部参照
design-system.service.gov.uk, www.carbondesignsystem.com
実行日
2026-10-26

a11y 深刻 1▶ 録画

👍 0 · 投票する

Claude Code

Claude Code ネイティブ

成功
Claude Code · ネイティブ — フォームとフィードバックのコンポーネント状態、デスクトップのスクリーンショット(ページ上部)Claude Code · ネイティブ — フォームとフィードバックのコンポーネント状態、モバイルのスクリーンショット(ページ上部)
モデル
claude-opus-5-5 · high
所要時間
9m 27s
トークン
in 18 · cache 722k · out 62.0k
Skill の使用
該当なし
外部参照
fonts.googleapis.com, fonts.gstatic.com
実行日
2026-10-26

a11y 深刻 1▶ 録画

👍 0 · 投票する

Claude Code + frontend-ui-engineering

成功
Claude Code + frontend-ui-engineering — フォームとフィードバックのコンポーネント状態、デスクトップのスクリーンショット(ページ上部)Claude Code + frontend-ui-engineering — フォームとフィードバックのコンポーネント状態、モバイルのスクリーンショット(ページ上部)
モデル
claude-opus-5-5 · high
所要時間
9m 33s
トークン
in 36 · cache 1.47M · out 62.1k
Skill の使用
はい
外部参照
fonts.googleapis.com, fonts.gstatic.com
実行日
2026-10-26

a11y 深刻 1▶ 録画

👍 0 · 投票する