Skip to content
frontend-verify logo

Frontend Verify

frontend-verify

agent-browserを使用したフロントエンド実装の検証スキル。UI実装後の動作確認、インタラクションテスト、アクセシビリティ確認に使用。「フロントエンドを検証」「UIを確認」「/frontend-verify」「画面の動作確認」などで使用。UI実装完了時に自律的にトリガーする。

SKILL.md

Full skill instructions

Frontend Verify

agent-browserを使用してローカル開発サーバーのフロントエンドを検証するスキル。

前提条件

  • 開発サーバーが起動していること(pnpm dev)
  • agent-browser がインストール済み

基本ワークフロー

1. サーバー接続確認

agent-browser open http://localhost:3000

接続エラー時は開発サーバーの起動を促す。

2. スナップショット取得

agent-browser snapshot -i

インタラクティブ要素のアクセシビリティツリーを取得。出力例:

@e1 button "ログイン"
@e2 input[type="email"] placeholder="メールアドレス"
@e3 input[type="password"] placeholder="パスワード"

3. スクリーンショット取得

agent-browser screenshot --full /​tmp/​verify-$(date +%s).png

4. インタラクション実行

refを使って操作:

agent-browser fill @e2 "[email protected]"
agent-browser fill @e3 "password123"
agent-browser click @e1

5. 結果確認

agent-browser wait --load networkidle
agent-browser snapshot -i
agent-browser screenshot /​tmp/​result.png

使用シナリオ

基本検証(引数なし)

/​frontend-verify
  1. http://localhost:3000 へアクセス
  2. スナップショット取得
  3. フルページスクリーンショット取得
  4. 結果を報告

パス指定検証

/​frontend-verify /​auth/​signup
  1. http://localhost:3000/​auth/​signup へアクセス
  2. スナップショット取得
  3. スクリーンショット取得
  4. フォーム要素を特定して報告

インタラクティブ検証

/​frontend-verify --interact
  1. ページへアクセス
  2. スナップショットから操作可能な要素を特定
  3. ユーザーに操作シナリオを確認
  4. シナリオを実行(例:フォーム入力→送信→結果確認)
  5. 各ステップでスクリーンショット取得

主要コマンド(クイックリファレンス)

操作コマンド
ページ移動open <url>
スナップショットsnapshot -i
スクリーンショットscreenshot [--full] <path>
クリックclick <ref>
入力fill <ref> <text>
待機wait --text "..." / --load networkidle
状態確認is visible <ref>

詳細は references/​agent-browser-commands.md を参照。

セッション管理

複数ステップの検証では同一セッションを維持:

export AGENT_BROWSER_SESSION="verify-session"
agent-browser open http://localhost:3000/​auth/​login
agent-browser fill @e1 "[email protected]"
agent-browser fill @e2 "password"
agent-browser click @e3
agent-browser wait --load networkidle
agent-browser snapshot -i  # ログイン後の状態を確認

エラーハンドリング

エラー対応
接続エラー「開発サーバーを起動してください: pnpm dev」
要素が見つからないスナップショットを再取得してrefを確認
タイムアウトwait コマンドで明示的に待機

/​rams との使い分け

スキル用途
/​frontend-verify詳細な動作検証、インタラクションテスト、デバッグ
/​ramsアクセシビリティ・ビジュアルデザインのレビュー

UI実装後は両方を実行することを推奨:

  1. /​frontend-verify で動作確認
  2. /​rams でデザイン・アクセシビリティレビュー

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View