Kheish Compatibility
This skill is repo-local and stays inactive until explicitly activated.
When the original instructions refer to legacy tool names, use these Kheish mappings:
terminal => bash
web_extract => web_fetch, plus web_search when discovery is needed
search_files => grep_search and glob_search
browser_* tools require a browser-capable surfaced tool or MCP; if none is available, use the closest available surface and say so explicitly
When the instructions mention local helper files, resolve them from ${KHEISH_SKILL_DIR}.
Dogfood: Systematic Web Application QA Testing
Overview
This skill guides you through systematic exploratory QA testing of web applications using the browser toolset. You will navigate the application, interact with elements, capture evidence of issues, and produce a structured bug report.
Prerequisites
- Browser toolset must be available (
browser_navigate, browser_snapshot, browser_click, browser_type, browser_vision, browser_console, browser_scroll, browser_back, browser_press)
- 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
For each page or feature in your plan:
Navigate to the page:
browser_navigate(url="https://example.com/page")
Take a snapshot to understand the DOM structure:
browser_snapshot()
Check the console for JavaScript errors:
browser_console(clear=true)
Do this after every navigation and after every significant interaction. Silent JS errors are high-value findings.
Take an annotated screenshot to visually assess the page and identify interactive elements:
browser_vision(question="Describe the page layout, identify any visual issues, broken elements, or accessibility concerns", annotate=true)
The annotate=true flag overlays numbered [N] labels on interactive elements. Each [N] maps to ref @eN for subsequent browser commands.
Test interactive elements systematically:
- Click buttons and links:
browser_click(ref="@eN")
- Fill forms:
browser_type(ref="@eN", text="test input")
- Test keyboard navigation:
browser_press(key="Tab"), browser_press(key="Enter")
- Scroll through content:
browser_scroll(direction="down")
- Test form validation with invalid inputs
- Test empty submissions
After each interaction, check for:
- Console errors:
browser_console()
- Visual changes:
browser_vision(question="What changed after the interaction?")
- Expected vs actual behavior
Phase 3: Collect Evidence
For every issue found:
Take a screenshot showing the issue:
browser_vision(question="Capture and describe the issue visible on this page", annotate=false)
Save the screenshot_path from the response — you will reference it in the report.
Record the details:
- URL where the issue occurs
- Steps to reproduce
- Expected behavior
- Actual behavior
- Console errors (if any)
- Screenshot path
Classify the issue using the issue taxonomy (see references/issue-taxonomy.md):
- Severity: Critical / High / Medium / Low
- Category: Functional / Visual / Accessibility / Console / UX / Content
Phase 4: Categorize
- Review all collected issues.
- De-duplicate — merge issues that are the same bug manifesting in different places.
- Assign final severity and category to each issue.
- Sort by severity (Critical first, then High, Medium, Low).
- Count issues by severity and category for the executive summary.
Phase 5: Report
Generate the final report using the template at templates/dogfood-report-template.md.
The report must include:
- Executive summary with total issue count, breakdown by severity, and testing scope
- Per-issue sections with:
- Issue number and title
- Severity and category badges
- URL where observed
- Description of the issue
- Steps to reproduce
- Expected vs actual behavior
- Screenshot references (use
MEDIA:<screenshot_path> for inline images)
- Console errors if relevant
- Summary table of all issues
- Testing notes — what was tested, what was not, any blockers
Save the report to {output_dir}/report.md.
Tools Reference
| Tool |
Purpose |
browser_navigate |
Go to a URL |
browser_snapshot |
Get DOM text snapshot (accessibility tree) |
browser_click |
Click an element by ref (@eN) or text |
browser_type |
Type into an input field |
browser_scroll |
Scroll up/down on the page |
browser_back |
Go back in browser history |
browser_press |
Press a keyboard key |
browser_vision |
Screenshot + AI analysis; use annotate=true for element labels |
browser_console |
Get JS console output and errors |
Tips
- Always check
browser_console() after navigating and after significant interactions. Silent JS errors are among the most valuable findings.
- Use
annotate=true with browser_vision when you need to reason about interactive element positions or when the snapshot refs are unclear.
- Test with both valid and invalid inputs — form validation bugs are common.
- Scroll through long pages — content below the fold may have rendering issues.
- Test navigation flows — click through multi-step processes end-to-end.
- Check responsive behavior by noting any layout issues visible in screenshots.
- Don't forget edge cases: empty states, very long text, special characters, rapid clicking.
- When reporting screenshots to the user, include
MEDIA:<screenshot_path> so they can see the evidence inline.
1---2name: dogfood3description: Systematic exploratory QA testing of web applications — find bugs, capture evidence, and generate structured reports4---56## Kheish Compatibility78This skill is repo-local and stays inactive until explicitly activated.910When the original instructions refer to legacy tool names, use these Kheish mappings:1112- `terminal` => `bash`13- `web_extract` => `web_fetch`, plus `web_search` when discovery is needed14- `search_files` => `grep_search` and `glob_search`15- `browser_*` tools require a browser-capable surfaced tool or MCP; if none is available, use the closest available surface and say so explicitly1617When the instructions mention local helper files, resolve them from `${KHEISH_SKILL_DIR}`.1819# Dogfood: Systematic Web Application QA Testing2021## Overview2223This skill guides you through systematic exploratory QA testing of web applications using the browser toolset. You will navigate the application, interact with elements, capture evidence of issues, and produce a structured bug report.2425## Prerequisites2627- Browser toolset must be available (`browser_navigate`, `browser_snapshot`, `browser_click`, `browser_type`, `browser_vision`, `browser_console`, `browser_scroll`, `browser_back`, `browser_press`)28- A target URL and testing scope from the user2930## Inputs3132The user provides:331. **Target URL** — the entry point for testing342. **Scope** — what areas/features to focus on (or "full site" for comprehensive testing)353. **Output directory** (optional) — where to save screenshots and the report (default: `./dogfood-output`)3637## Workflow3839Follow this 5-phase systematic workflow:4041### Phase 1: Plan42431. Create the output directory structure:44 ```45 {output_dir}/46 ├── screenshots/ # Evidence screenshots47 └── report.md # Final report (generated in Phase 5)48 ```492. Identify the testing scope based on user input.503. Build a rough sitemap by planning which pages and features to test:51 - Landing/home page52 - Navigation links (header, footer, sidebar)53 - Key user flows (sign up, login, search, checkout, etc.)54 - Forms and interactive elements55 - Edge cases (empty states, error pages, 404s)5657### Phase 2: Explore5859For each page or feature in your plan:60611. **Navigate** to the page:62 ```63 browser_navigate(url="https://example.com/page")64 ```65662. **Take a snapshot** to understand the DOM structure:67 ```68 browser_snapshot()69 ```70713. **Check the console** for JavaScript errors:72 ```73 browser_console(clear=true)74 ```75 Do this after every navigation and after every significant interaction. Silent JS errors are high-value findings.76774. **Take an annotated screenshot** to visually assess the page and identify interactive elements:78 ```79 browser_vision(question="Describe the page layout, identify any visual issues, broken elements, or accessibility concerns", annotate=true)80 ```81 The `annotate=true` flag overlays numbered `[N]` labels on interactive elements. Each `[N]` maps to ref `@eN` for subsequent browser commands.82835. **Test interactive elements** systematically:84 - Click buttons and links: `browser_click(ref="@eN")`85 - Fill forms: `browser_type(ref="@eN", text="test input")`86 - Test keyboard navigation: `browser_press(key="Tab")`, `browser_press(key="Enter")`87 - Scroll through content: `browser_scroll(direction="down")`88 - Test form validation with invalid inputs89 - Test empty submissions90916. **After each interaction**, check for:92 - Console errors: `browser_console()`93 - Visual changes: `browser_vision(question="What changed after the interaction?")`94 - Expected vs actual behavior9596### Phase 3: Collect Evidence9798For every issue found:991001. **Take a screenshot** showing the issue:101 ```102 browser_vision(question="Capture and describe the issue visible on this page", annotate=false)103 ```104 Save the `screenshot_path` from the response — you will reference it in the report.1051062. **Record the details**:107 - URL where the issue occurs108 - Steps to reproduce109 - Expected behavior110 - Actual behavior111 - Console errors (if any)112 - Screenshot path1131143. **Classify the issue** using the issue taxonomy (see `references/issue-taxonomy.md`):115 - Severity: Critical / High / Medium / Low116 - Category: Functional / Visual / Accessibility / Console / UX / Content117118### Phase 4: Categorize1191201. Review all collected issues.1212. De-duplicate — merge issues that are the same bug manifesting in different places.1223. Assign final severity and category to each issue.1234. Sort by severity (Critical first, then High, Medium, Low).1245. Count issues by severity and category for the executive summary.125126### Phase 5: Report127128Generate the final report using the template at `templates/dogfood-report-template.md`.129130The report must include:1311. **Executive summary** with total issue count, breakdown by severity, and testing scope1322. **Per-issue sections** with:133 - Issue number and title134 - Severity and category badges135 - URL where observed136 - Description of the issue137 - Steps to reproduce138 - Expected vs actual behavior139 - Screenshot references (use `MEDIA:<screenshot_path>` for inline images)140 - Console errors if relevant1413. **Summary table** of all issues1424. **Testing notes** — what was tested, what was not, any blockers143144Save the report to `{output_dir}/report.md`.145146## Tools Reference147148| Tool | Purpose |149|------|---------|150| `browser_navigate` | Go to a URL |151| `browser_snapshot` | Get DOM text snapshot (accessibility tree) |152| `browser_click` | Click an element by ref (`@eN`) or text |153| `browser_type` | Type into an input field |154| `browser_scroll` | Scroll up/down on the page |155| `browser_back` | Go back in browser history |156| `browser_press` | Press a keyboard key |157| `browser_vision` | Screenshot + AI analysis; use `annotate=true` for element labels |158| `browser_console` | Get JS console output and errors |159160## Tips161162- **Always check `browser_console()` after navigating and after significant interactions.** Silent JS errors are among the most valuable findings.163- **Use `annotate=true` with `browser_vision`** when you need to reason about interactive element positions or when the snapshot refs are unclear.164- **Test with both valid and invalid inputs** — form validation bugs are common.165- **Scroll through long pages** — content below the fold may have rendering issues.166- **Test navigation flows** — click through multi-step processes end-to-end.167- **Check responsive behavior** by noting any layout issues visible in screenshots.168- **Don't forget edge cases**: empty states, very long text, special characters, rapid clicking.169- When reporting screenshots to the user, include `MEDIA:<screenshot_path>` so they can see the evidence inline.