dogfood
Skill này làm gì
Skill này để AI của bạn nhấp qua một ứng dụng web như một người kiểm thử, tìm lỗi và lưu bằng chứng. Skill dành cho các nhóm sản phẩm và người kiểm thử QA muốn một lượt kiểm tra sơ bộ có cấu trúc cho một trang web.
Khi nào nên dùng
- ✓Khi bạn muốn AI khám phá một ứng dụng web và báo cáo các lỗi nó tìm thấy.
- ✓Khi bạn muốn ảnh chụp màn hình và các bước được lưu làm bằng chứng cho mỗi vấn đề.
- ✓Khi bạn cần một báo cáo lỗi có cấu trúc cho một khu vực cụ thể của trang web.
Liên kết skill
https://github.com/NousResearch/hermes-agent/blob/main/skills/software-development/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 thử luồng thanh toán trên trang staging của chúng tôi, tìm lỗi và viết báo cáo kèm ảnh chụp màn hình.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đặt ra năm giai đoạn: lên kế hoạch phạm vi, khám phá các trang, ghi lại bằng chứng, phân loại vấn đề và viết báo cáo. AI dùng công cụ trình duyệt để nhấp qua trang và lưu ảnh chụp màn hình.
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: Systematic Web Application QA Testing
Overview
This skill guides you through systematic exploratory QA testing of web applications with browser_exec. You will navigate the application, interact with elements, capture evidence of issues, and produce a structured bug report.
Prerequisites
- The
browsertoolset must be enabled (browser_exec).browser_execruns Python with pre-imported helpers (new_tab,goto_url,wait_for_load,page_info,js,fill_input,click_at_xy,capture_screenshot,cdp); browser state persists across calls, Python variables do not. - A target URL and testing scope from the user
Inputs
The user provides:
- Target URL — the entry point for testing
- Scope — what areas/features to focus on (or "full site" for comprehensive testing)
- Output directory (optional) — where to save screenshots and the report (default:
./dogfood-output)
Workflow
Follow this 5-phase systematic workflow:
Phase 1: Plan
- Create the output directory structure:
{output_dir}/ ├── screenshots/ # Evidence screenshots └── report.md # Final report (generated in Phase 5) - Identify the testing scope based on user input.
- Build a rough sitemap by planning which pages and features to test:
- Landing/home page
- Navigation links (header, footer, sidebar)
- Key user flows (sign up, login, search, checkout, etc.)
- Forms and interactive elements
- Edge cases (empty states, error pages, 404s)
Phase 2: Explore
Batch each step's actions into one browser_exec call. For each page or feature in your plan:
Navigate with a console hook installed. Register the hook on the tab before navigating so errors thrown during page load are captured too:
# Open page with console-error capture HOOK = """window.__qa_errors = []; const _e = console.error; console.error = (...a) => { window.__qa_errors.push(a.map(String).join(' ')); _e(...a); }; addEventListener('error', e => window.__qa_errors.push('uncaught: ' + e.message)); addEventListener('unhandledrejection', e => window.__qa_errors.push('rejection: ' + String(e.reason)));""" new_tab('about:blank') # first call only: the hook binds to the current tab cdp('Page.addScriptToEvaluateOnNewDocument', source=HOOK) goto_url("https://example.com/page") wait_for_load() print(page_info()) print(js('window.__qa_errors || []'))Re-register the hook at the start of any later call that navigates. Silent JS errors are high-value findings.
Read the page structure — list visible interactive elements with their viewport centres (use
cdp('Accessibility.getFullAXTree')and filter in Python when you need roles/names):# List interactive elements print(js("""(() => [...document.querySelectorAll('a,button,input,select,textarea,[role=button]')] .filter(e => e.offsetParent).slice(0, 80).map((e, i) => { const r = e.getBoundingClientRect(); return {i, tag: e.tagName, text: (e.innerText || e.value || e.getAttribute('aria-label') || '').trim().slice(0, 60), id: e.id, name: e.name, x: Math.round(r.x + r.width / 2), y: Math.round(r.y + r.height / 2)}; }))()"""))Visually assess the page: call
capture_screenshot()and inspect the attached image for layout issues, broken elements, or accessibility concerns. If your model cannot view images, pass the printed path tovision_analyze.Test interactive elements systematically:
- Click buttons and links:
js("document.querySelector('#submit').click()"), orclick_at_xy(x, y)with a centre from step 2 - Fill forms:
fill_input('input[name=email]', 'test input') - Test keyboard navigation:
cdp('Input.dispatchKeyEvent', type='keyDown', key='Tab', code='Tab', windowsVirtualKeyCode=9)followed by the matchingkeyUp, thenjs('document.activeElement.outerHTML.slice(0, 200)')to see where focus landed; same pattern withkey='Enter',code='Enter',windowsVirtualKeyCode=13 - Scroll through content:
js('window.scrollBy(0, 800)') - Go back:
js('history.back()'), thenwait_for_load() - Test form validation with invalid inputs
- Test empty submissions
- Click buttons and links:
After each interaction, in the same call, check for:
- Console errors:
print(js('window.__qa_errors || []')) - Visual changes:
capture_screenshot()and compare with the previous one - Expected vs actual behavio
- Console errors:
Câu hỏi thường gặp
Tôi cần chuẩn bị gì để bắt đầu?
Bạn cần bật công cụ trình duyệt và có một URL mục tiêu cùng phạm vi kiểm thử.
Kết quả được lưu ở đâu?
Skill lưu ảnh chụp màn hình và báo cáo vào một thư mục đầu ra, mặc định là dogfood-output.
Nó có thay thế kiểm thử tự động không?
Skill mô tả kiểm thử khám phá, nên nó bổ sung cho các bài kiểm thử có kịch bản chứ không thay thế.
Chi tiết
Mô tả gốc của tác giả
Exploratory QA of web apps: find bugs, evidence, reports.
Độ phổ biến
- Sao GitHub
- 260k
- Vị trí xếp hạng
- #620
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-merge-conflict-arbiter
260kGiải quyết xung đột merge git giữa nhánh của hai agent với vai trò bên trung lập, tạo ra một kết quả merge duy nhất cho repo.
antigravity-cli
260kHướng dẫn bạn cài đặt, cập nhật và khắc phục sự cố công cụ dòng lệnh Antigravity, gồm plugin, đăng nhập và sandbox.
blackbox
260kCho phép agent của bạn giao một tác vụ lập trình cho công cụ dòng lệnh Blackbox AI, công cụ chạy nhiều mô hình và chọn kết quả tốt nhất.
dynamic-workflow
260kDạy agent của bạn chạy các đợt công việc tương tự lớn như một script đã lưu, để chỉ kết quả đã kiểm chứng mới quay về cuộc trò chuyện chính.
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.