Langsung ke konten
Skillpedia
Testing260k ยท #620

dogfood

Fungsinya

Skill ini membuat AI Anda menelusuri aplikasi web seperti seorang penguji, mencari bug dan merekam buktinya. Skill ini ditujukan untuk tim produk dan penguji QA yang menginginkan tinjauan awal yang terstruktur atas sebuah situs.

Kapan dipakai

  • โœ“Saat Anda ingin AI menjelajahi aplikasi web dan melaporkan bug yang ditemukannya.
  • โœ“Saat Anda ingin tangkapan layar dan langkah disimpan sebagai bukti untuk setiap masalah.
  • โœ“Saat Anda membutuhkan laporan bug terstruktur untuk bagian tertentu dari sebuah situs.

Link skill

https://github.com/NousResearch/hermes-agent/blob/main/skills/software-development/dogfood/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/NousResearch/hermes-agent/blob/main/skills/software-development/dogfood/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œUji alur checkout di situs staging kami, cari bug, dan tulis laporan dengan tangkapan layar.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill menetapkan lima fase: merencanakan cakupan, menjelajahi halaman, merekam bukti, mengklasifikasikan masalah, dan menulis laporan. AI memakai alat browser untuk mengklik di situs dan menyimpan tangkapan layar.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

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 browser toolset must be enabled (browser_exec). browser_exec runs 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:

  1. Target URL โ€” the entry point for testing
  2. Scope โ€” what areas/features to focus on (or "full site" for comprehensive testing)
  3. Output directory (optional) โ€” where to save screenshots and the report (default: ./dogfood-output)

Workflow

Follow this 5-phase systematic workflow:

Phase 1: Plan

  1. Create the output directory structure:
    {output_dir}/
    โ”œโ”€โ”€ screenshots/       # Evidence screenshots
    โ””โ”€โ”€ report.md          # Final report (generated in Phase 5)
    
  2. Identify the testing scope based on user input.
  3. 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:

  1. 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.

  2. 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)}; }))()"""))
    
  3. 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 to vision_analyze.

  4. Test interactive elements systematically:

    • Click buttons and links: js("document.querySelector('#submit').click()"), or click_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 matching keyUp, then js('document.activeElement.outerHTML.slice(0, 200)') to see where focus landed; same pattern with key='Enter', code='Enter', windowsVirtualKeyCode=13
    • Scroll through content: js('window.scrollBy(0, 800)')
    • Go back: js('history.back()'), then wait_for_load()
    • Test form validation with invalid inputs
    • Test empty submissions
  5. 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
Pertanyaan umum

Apa yang perlu saya siapkan untuk memulai?

Anda memerlukan alat browser yang diaktifkan dan URL target dengan cakupan pengujian.

Di mana hasilnya disimpan?

Skill menyimpan tangkapan layar dan laporan di folder keluaran, yang secara default bernama dogfood-output.

Apakah menggantikan pengujian otomatis?

Skill menggambarkan pengujian eksplorasi, sehingga melengkapi tes terskrip dan bukan menggantikannya.

Detail

Deskripsi asli dari pembuat

Exploratory QA of web apps: find bugs, evidence, reports.

repo: NousResearch/hermes-agent

Popularitas

Bintang GitHub
260k
Peringkat
#620
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa