Skillpedia
الاختبار260k · #620

dogfood

ما الذي تفعله

تجعل هذه المهارة الذكاء الاصطناعي لديك ينقر في تطبيق ويب كما يفعل مختبر، ويبحث عن الأخطاء ويسجل الأدلة. وهي لفرق المنتجات وفاحصي الجودة الذين يريدون مرورًا أوليًا منظمًا على موقع.

متى تستخدمها

  • ✓عندما تريد من وكيلك استكشاف تطبيق ويب والإبلاغ عن الأخطاء التي يجدها.
  • ✓عندما تريد لقطات شاشة وخطوات محفوظة كدليل على كل مشكلة.
  • ✓عندما تحتاج إلى تقرير أخطاء منظم عن جزء محدد من موقع.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/NousResearch/hermes-agent/blob/main/skills/software-development/dogfood/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“اختبر مسار الدفع في موقع التجربة لدينا، وابحث عن الأخطاء، واكتب تقريرًا مع لقطات الشاشة.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تحدد المهارة خمس مراحل: تخطيط النطاق، واستكشاف الصفحات، وتسجيل الأدلة، وتصنيف المشكلات، وكتابة التقرير. ويستخدم الذكاء الاصطناعي أداة المتصفح للنقر في الموقع وحفظ لقطات الشاشة.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من 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
الأسئلة الشائعة

ماذا أحتاج للبدء؟

تحتاج إلى تفعيل أداة المتصفح ورابط الهدف مع نطاق للاختبار.

أين تُحفظ النتائج؟

تحفظ المهارة لقطات الشاشة والتقرير في مجلد مخرجات، واسمه الافتراضي dogfood-output.

هل تحل محل الاختبارات الآلية؟

المهارة تصف الاختبار الاستكشافي، لذلك تكمّل الاختبارات المكتوبة ولا تحل محلها.

التفاصيل

الوصف الأصلي من المؤلف

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

repo: NousResearch/hermes-agent

الشعبية

نجوم GitHub
260k
الترتيب
#620
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة