xiaohongshu
xiaohongshu
frontend-verify
agent-browserを使用したフロントエンド実装の検証スキル。UI実装後の動作確認、インタラクションテスト、アクセシビリティ確認に使用。「フロントエンドを検証」「UIを確認」「/frontend-verify」「画面の動作確認」などで使用。UI実装完了時に自律的にトリガーする。
Full skill instructions
agent-browserを使用してローカル開発サーバーのフロントエンドを検証するスキル。
pnpm dev)agent-browser がインストール済みagent-browser open http://localhost:3000
接続エラー時は開発サーバーの起動を促す。
agent-browser snapshot -i
インタラクティブ要素のアクセシビリティツリーを取得。出力例:
@e1 button "ログイン"
@e2 input[type="email"] placeholder="メールアドレス"
@e3 input[type="password"] placeholder="パスワード"
agent-browser screenshot --full /tmp/verify-$(date +%s).png
refを使って操作:
agent-browser fill @e2 "[email protected]"
agent-browser fill @e3 "password123"
agent-browser click @e1
agent-browser wait --load networkidle
agent-browser snapshot -i
agent-browser screenshot /tmp/result.png
/frontend-verify
http://localhost:3000 へアクセス/frontend-verify /auth/signup
http://localhost:3000/auth/signup へアクセス/frontend-verify --interact
| 操作 | コマンド |
|---|---|
| ページ移動 | 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 コマンドで明示的に待機 |
| スキル | 用途 |
|---|---|
/frontend-verify | 詳細な動作検証、インタラクションテスト、デバッグ |
/rams | アクセシビリティ・ビジュアルデザインのレビュー |
UI実装後は両方を実行することを推奨:
/frontend-verify で動作確認/rams でデザイン・アクセシビリティレビューxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
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...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
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...
Display project status, active tracks, and next actions
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.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience