dogfood
Skill này làm gì
Skill này để AI khám phá một trang web hoặc ứng dụng web như một người kiểm thử, tìm lỗi và các vấn đề về khả năng sử dụng. Nó dành cho các nhóm muốn kiểm tra chất lượng nhanh với bằng chứng rõ ràng.
Khi nào nên dùng
- ✓Khi bạn muốn ai đó tìm lỗi trong một ứng dụng web trước khi ra mắt.
- ✓Khi bạn cần một báo cáo có cấu trúc với ảnh chụp màn hình và các bước tái hiện.
- ✓Khi bạn muốn kiểm thử một trang hoặc tính năng cụ thể của ứng dụng.
Liên kết skill
https://github.com/vercel-labs/agent-browser/blob/main/skill-data/dogfood/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm tra trang staging của chúng tôi xem có lỗi gì không và đưa tôi báo cáo kèm ảnh chụp màn hình từng vấn đề.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI mở ứng dụng, ghé thăm các trang và tính năng, rồi ghi lại từng vấn đề kèm ảnh chụp màn hình và các bước tái hiện. Sau đó nó lưu báo cáo vào một thư mục đầu ra.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Dogfood
Systematically explore a web application, find issues, and produce a report with full reproduction evidence for every finding.
Setup
Only the Target URL is required. Everything else has sensible defaults -- use them unless the user explicitly provides an override.
| Parameter | Default | Example override |
|---|---|---|
| Target URL | (required) | vercel.com, http://localhost:3000 |
| Session name | Slugified domain (e.g., vercel.com -> vercel-com) |
--session my-session |
| Output directory | ./dogfood-output/ |
Output directory: /tmp/qa |
| Scope | Full app | Focus on the billing page |
| Authentication | None | Sign in to user@example.com |
If the user says something like "dogfood vercel.com", start immediately with defaults. Do not ask clarifying questions unless authentication is mentioned but credentials are missing.
Always use agent-browser directly -- never npx agent-browser. The direct binary uses the fast Rust client. npx routes through Node.js and is significantly slower.
Workflow
1. Initialize Set up session, output dirs, report file
2. Authenticate Sign in if needed, save state
3. Orient Navigate to starting point, take initial snapshot
4. Explore Systematically visit pages and test features
5. Document Screenshot + record each issue as found
6. Wrap up Update summary counts, close session
1. Initialize
mkdir -p {OUTPUT_DIR}/screenshots {OUTPUT_DIR}/videos
Copy the report template into the output directory and fill in the header fields:
cp {SKILL_DIR}/templates/dogfood-report-template.md {OUTPUT_DIR}/report.md
Start a named session:
agent-browser --session {SESSION} open {TARGET_URL}
agent-browser --session {SESSION} wait --load domcontentloaded
2. Authenticate
If the app requires login:
agent-browser --session {SESSION} snapshot -i
# Identify login form refs, fill credentials
agent-browser --session {SESSION} fill @e1 "{EMAIL}"
agent-browser --session {SESSION} fill @e2 "{PASSWORD}"
agent-browser --session {SESSION} click @e3
# Replace this with the target app's post-login URL, text, or JS condition:
agent-browser --session {SESSION} wait --url "{POST_LOGIN_URL_PATTERN}"
# Or:
# agent-browser --session {SESSION} wait --text "{POST_LOGIN_TEXT}"
# agent-browser --session {SESSION} wait --fn "{POST_LOGIN_CONDITION}"
For OTP/email codes: ask the user, wait for their response, then enter the code.
After successful login, save state for potential reuse:
agent-browser --session {SESSION} state save {OUTPUT_DIR}/auth-state.json
3. Orient
Take an initial annotated screenshot and snapshot to understand the app structure:
agent-browser --session {SESSION} screenshot --annotate {OUTPUT_DIR}/screenshots/initial.png
agent-browser --session {SESSION} snapshot -i
Identify the main navigation elements and map out the sections to visit.
4. Explore
Read references/issue-taxonomy.md for the full list of what to look for and the exploration checklist.
Strategy -- work through the app systematically:
- Start from the main navigation. Visit each top-level section.
- Within each section, test interactive elements: click buttons, fill forms, open dropdowns/modals.
- Check edge cases: empty states, error handling, boundary inputs.
- Try realistic end-to-end workflows (create, edit, delete flows).
- Check the browser console for errors periodically.
At each page:
agent-browser --session {SESSION} snapshot -i
agent-browser --session {SESSION} screenshot --annotate {OUTPUT_DIR}/screenshots/{page-name}.png
agent-browser --session {SESSION} errors
agent-browser --session {SESSION} console
Use your judgment on how deep to go. Spend more time on core features and less on peripheral pages. If you find a cluster of issues in one area, investigate deeper.
5. Document Issues (Repro-First)
Steps 4 and 5 happen together -- explore and document in a single pass. When you find an issue, stop exploring and document it immediately before moving on. Do not explore the whole app first and document later.
Every issue must be reproducible. When you find something wrong, do not just note it -- prove it with evidence. The goal is that someone reading the report can see exactly what happened and replay it.
**Choose the right level of evidence for th
Câu hỏi thường gặp
Tôi có cần cung cấp URL không?
Có. URL mục tiêu là đầu vào bắt buộc duy nhất, và skill dùng các mặc định hợp lý cho phần còn lại.
Nó có kiểm thử được các trang sau đăng nhập không?
Có. Nếu ứng dụng cần đăng nhập, bạn có thể cung cấp thông tin tài khoản và skill sẽ đăng nhập trước.
Báo cáo được lưu ở đâu?
Mặc định nó được lưu trong thư mục dogfood-output, nhưng bạn có thể chọn thư mục đầu ra khác.
Chi tiết
Mô tả gốc của tác giả
Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.
Độ phổ biến
- Sao GitHub
- 45k
- Vị trí xếp hạng
- #6358
- Giấy phép
- Apache-2.0
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
technical-writer
45kDạy agent của bạn viết và sửa tài liệu cho lập trình viên, như hướng dẫn, tham chiếu API và trang xử lý sự cố, rõ ràng và chính xác.
agentcore
45kCho agent của bạn chạy tự động hóa trình duyệt trên đám mây AgentCore của AWS Bedrock, dùng đăng nhập AWS sẵn có và các lệnh giống Chrome cục bộ.
core
45kDạy agent của bạn điều khiển trình duyệt web bằng snapshot và tham chiếu phần tử, để mở trang, nhấp, điền biểu mẫu và đọc nội dung.
derive-client
45kDạy agent của bạn ghi lại lưu lượng mạng của một trang web một lần, rồi xây một client độc lập gọi API nội bộ của trang mà không cần trình duyệt.
Skill tương tự
test-driven-development
311kDạy agent của bạn viết kiểm thử thất bại trước, xem nó thất bại, rồi viết đoạn mã ngắn nhất để vượt qua trước khi làm bất kỳ tính năng hay bản sửa nào.
verification-before-completion
311kDạy agent của bạn chạy kiểm tra thực tế và đọc kết quả đầu ra trước khi khẳng định một việc, bản sửa hoặc bản build đã hoàn thành hay vượt qua.
migrate-to-shoehorn
310kThay các ép kiểu rủi ro trong tệp kiểm thử bằng thư viện shoehorn, để các bài kiểm thử dùng dữ liệu một phần vẫn qua được kiểm tra kiểu.