Dogfood

From mshadmanrahman/pm-pilot · View interactive version

Dogfood is an AI agent skill from the GitHub repository mshadmanrahman/pm-pilot. | Systematic web app QA using Playwright browser automation. Tests across viewports, checks navigation flows, form submissions, error states, accessibility basics, and visual consistency. Produces a structured bug report. Triggers on: "dogfood", "QA", "find bugs", "test this app".

How to use this skill

Skill file

Dogfood

Systematically explore a web application to find bugs, UX issues, and quality problems. Uses browser automation to test across viewports and produce a structured bug report with reproduction steps and screenshots.

When to Activate

Input

Required:

Optional:

Execution

Step 1: Initialize

Create output directory for screenshots and report:

mkdir -p {output_dir}/screenshots {output_dir}/videos

Open the target URL in a browser session. Take an initial screenshot.

Step 2: Authenticate (if needed)

If the app requires login, fill credentials and save auth state. For OTP or email codes, ask the user and wait.

Step 3: Orient

Take an annotated screenshot of the landing page. Identify main navigation elements. Map out sections to visit.

Step 4: Explore Systematically

Work through the app section by section:

  1. Navigation: Visit each top-level section. Check all links work.
  2. Forms: Fill and submit forms. Test empty submissions, invalid input, boundary values.
  3. Interactive elements: Click buttons, open dropdowns/modals, toggle switches.
  4. Error states: Trigger error conditions. Check error messages are helpful.
  5. Empty states: Check what happens with no data.
  6. Responsive: Resize to tablet and mobile viewports. Check layout.
  7. Console: Check browser console for JS errors and failed network requests.
  8. Accessibility basics: Check focus order, alt text on images, color contrast.

At each page, take a screenshot and check the console.

Step 5: Document Issues

Document each issue as you find it. Do not batch for later.

For interactive/behavioral issues: Record a video, take step-by-step screenshots, write numbered repro steps.

For static/visual issues (typos, misalignment, broken layout): A single annotated screenshot is sufficient.

Each issue gets:

Step 6: Wrap Up

Aim for 5-10 well-documented issues. Depth of evidence beats quantity.

Update summary counts. Close the browser session.

Output Format

# Dogfood Report: {App Name}
**URL:** {url} | **Date:** {date} | **Tester:** AI (pm-pilot)

## Summary
- Critical: {count}
- High: {count}
- Medium: {count}
- Low: {count}
- **Total:** {count}

## Viewports Tested
- Desktop (1280x800): Yes/No
- Tablet (768x1024): Yes/No
- Mobile (375x812): Yes/No

## Issues

### ISSUE-001: {Short title}
- **Severity:** {Critical/High/Medium/Low}
- **Category:** {Functional/Visual/UX/Performance/Accessibility}
- **Page:** {URL or page name}
- **Viewport:** {Desktop/Tablet/Mobile}

**Steps to Reproduce:**
1. {Step} [screenshot: issue-001-step-1.png]
2. {Step} [screenshot: issue-001-step-2.png]

**Expected:** {what should happen}
**Actual:** {what actually happens}
**Screenshot:** {path}
**Video:** {path or N/A}

---
(Repeat for each issue)

## Pages Tested
- {Page 1}: {status}
- {Page 2}: {status}

## Console Errors
- {Error message} on {page} ({count} occurrences)

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.