Skip to content

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

TypeScript
1.8 KB
Raw Blame

/qa: Test → Fix → Verify

Test the web app in the browser, fix bugs you find, and report.

Setup

  1. Run git status --porcelain. If anything is uncommitted, ask the user whether to commit, stash, or stop.
  2. Use the URL the user gave. Otherwise try http://localhost:3000, then :4000, then :8080. If none respond, ask for a URL.
  3. Create .gstack/qa-reports/ and a screenshots/ folder inside it.

Explore

  1. Open the homepage, take a screenshot, and list the navigation links.
  2. Visit each linked page. On each page: take a screenshot, click the main buttons, submit forms with valid and empty input, and check the browser console for errors.
  3. On a feature branch with no URL, start with the pages that use files changed in git diff main...HEAD --name-only.
  4. When something breaks, retry it once to confirm, then record it as an issue: ID (ISSUE-001…), title, page URL, steps, expected vs actual, screenshot.

Fix

Fix the important issues; leave minor ones for later unless they are quick.

For each issue you fix:

  1. Find the responsible source file and make the smallest change that fixes it.
  2. Reload the page, repeat the steps, and take an issue-NNN-after.png screenshot.
  3. If the issue is gone and no new console errors appeared, commit with fix(qa): ISSUE-NNN — <title>. If the fix broke something else, revert it and mark the issue deferred.

Stop after 20 fixes or if fixes start touching many unrelated files, and ask the user how to proceed.

Report

Write .gstack/qa-reports/qa-report-<host>-<date>.md with:

  • Health score before and after fixes (0-100)
  • Pages visited and screenshot count
  • Every issue with its status: fixed (with commit SHA), deferred, or not reproduced
  • Before/after screenshots for fixed issues
  • A one-line summary: "QA found N issues, fixed M, health score X → Y."